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.46 2002/11/27 22:04:32 marcus Exp $ + // $Id: client.pike,v 1.47 2003/02/07 01:00:38 nilsson 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:68:   // RFC 2307 (LDAP as network information services; draft?)         #if constant(.ldap_privates.ldap_der_decode)      #include "ldap_globals.h"      #include "ldap_errors.h"      #if constant(SSL.sslfile) - import SSL.constants; + import SSL.Constants;   #endif      #ifdef LDAP_PROTOCOL_PROFILE   int _prof_gtim;   #endif      // ------------------------      // ASN.1 decode macros   #define ASN1_DECODE_RESULTAPP(X) (.ldap_privates.ldap_der_decode(X)->elements[1]->get_tag())
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:353:    //! @tt{"ldap://hostname/basedn?attrlist?scope?ext"@}    //!    //! @param context    //! TLS context of connection    //!    //! @seealso    //! @[LDAP.client.bind], @[LDAP.client.search]    void create(string|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.46 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.47 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;       lauth = parse_url(url);       if(!stringp(lauth->scheme) ||    ((lauth->scheme != "ldap")   #if constant(SSL.sslfile)    && (lauth->scheme != "ldaps")