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.102 2006/11/04 19:06:49 nilsson Exp $ + // $Id: client.pike,v 1.103 2007/04/18 12:16:48 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:591: 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.102 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.103 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;       if (mappingp (url))    lauth = url;    else    lauth = parse_ldap_url(url);       if(!stringp(lauth->scheme) ||
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1342:    //! @[Protocols.LDAP.quote_filter_value], @[Protocols.LDAP.make_filter]    result|int search (string|object|void filter, array(string)|void attrs,    int|void attrsonly,    void|mapping(string:array(int|string)) controls,    void|int flags) {       int id,nv;    mixed raw;    array(string) rawarr = ({});    -  DWRITE_HI("client.SEARCH: " + (string)filter + "\n"); +  DWRITE_HI(sprintf ("client.SEARCH: %O\n", filter));    if (chk_ver())    return 0;    if (chk_binded())    return 0;       if (!objectp (filter))    if (mixed err = catch {    if (!filter)    filter = get_default_filter();    else