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.54 2004/03/18 18:06:12 mast Exp $ + // $Id: client.pike,v 1.55 2004/04/14 20:21:16 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:61:   // RFC 1777,1778,1779 (version2 spec)   // RFC 1823 (v2 API)   // RFC 2251,2252,2253,2254,2255,2256 (version3 spec)   // draft-ietf-asid-ldap-c-api-00.txt (v3 API)   // RFC2279 (UTF-8)   //   // Interesting, applicable   // RFC 2307 (LDAP as network information services; draft?)       - #if constant(.ldap_privates.ldap_der_decode) + #if constant(.ldap_privates)      #include "ldap_globals.h"      #include "ldap_errors.h"      #if constant(SSL.Cipher.CipherAlgorithm)   import SSL.Constants;   #endif      #ifdef LDAP_PROTOCOL_PROFILE
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:353:    //! @expr{"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.54 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.55 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;       lauth = parse_url(url);       if(!stringp(lauth->scheme) ||    ((lauth->scheme != "ldap")   #if constant(SSL.Cipher.CipherAlgorithm)    && (lauth->scheme != "ldaps")
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1353:    default: res += ([ "scope" : 0]); // = "base"    }    case 2: res += sizeof(ar[1]) ? ([ "attributes" : ar[1] / "," ]) : ([]);    case 1: res += ([ "basedn" : ar[0] ]);    }       return res;       } //parse_uri    + #else + constant this_program_does_not_exist=1;   #endif