pike.git / lib / modules / Protocols.pmod / LDAP.pmod / client.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1:   #pike __REAL_VERSION__      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.106 2007/05/23 11:55:01 mast Exp $ + // $Id: client.pike,v 1.107 2007/05/23 14:54:23 mast Exp $   //   // Honza Petrous, hop@unibase.cz   //   // ----------------------------------------------------------------------   //   // History:   //   // v0.0 1998-05-25 Starting up!   // v1.0 1998-06-21 Core functions (open, bind, unbind, delete, add,   // compare, search), only V2 operations,
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:106:    string bound_dn; // When actually bound, set to the bind DN.    string md5_password; // MD5 hash of the bind password, if any.    string ldap_basedn; // baseDN    int ldap_scope; // SCOPE_*    int ldap_deref; // 0: ...    int ldap_sizelimit;    int ldap_timelimit;    mapping lauth = ([]);    object default_filter_obj; // Filter object parsed from lauth->filter.    result last_rv; // last returned value +  // FIXME: Should remove last_rv to avoid ref cycles. The only +  // problem is the get_referrals function.    }      //! @ignore   static function(string:string) get_attr_decoder (string attr,    DO_IF_DEBUG (void|int nowarn))   {    if (mapping(string:mixed) attr_descr = get_attr_type_descr (attr)) {    if (function(string:string) decoder =    syntax_decode_fns[attr_descr->syntax_oid])    return decoder;
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:650: Inside #if undefined(PARSE_RFCS)
   //! @[Protocol.LDAP.parse_ldap_url].    //!    //! @param context    //! TLS context of connection    //!    //! @seealso    //! @[LDAP.client.bind], @[LDAP.client.search]    void create(string|mapping(string:mixed)|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.106 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.107 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;       if (mappingp (url))    lauth = url;    else    lauth = parse_ldap_url(url);       if(!stringp(lauth->scheme) ||