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.110 2008/01/13 17:02:43 nilsson Exp $ + // $Id: client.pike,v 1.111 2008/05/23 18:14:10 grubba 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:656: 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.110 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.111 $"/" ")[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:1258:   static multiset(string) supported_controls;      multiset(string) get_supported_controls()   //! Returns a multiset containing the controls supported by the   //! server. They are returned as object identifiers on string form.   //! A working connection is assumed.   //!   //! @seealso   //! @[search]   { -  if (!supported_controls) +  if (!supported_controls) {    if (array(string) res = get_root_dse_attr ("supportedControl"))    supported_controls = mkmultiset (res); -  +  else +  supported_controls = (<>); +  }    return supported_controls;   }      object make_filter (string filter)   //! Returns the ASN1 object parsed from the given filter. This is a   //! wrapper for @[Protocols.LDAP.make_filter] which parses the filter   //! with the LDAP protocol version currently in use by this   //! connection.   //!   //! @throws