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.60 2005/01/26 14:41:20 mast Exp $ + // $Id: client.pike,v 1.61 2005/04/20 15:37:41 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:363:    //! @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.60 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.61 $"/" ")[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:1080:    })),    });    }    if (supported_controls["1.2.840.113556.1.4.319"]) {    // LDAP Control Extension for Simple Paged Results Manipulation    // RFC 2696.    ctrls += ({    Standards.ASN1.Types.asn1_sequence(({    // controlType    Standards.ASN1.Types.asn1_octet_string("1.2.840.113556.1.4.319"), -  ASN1_BOOLEAN(sizeof(cookie->value)?0:0xff), // criticality +  ASN1_BOOLEAN(sizeof(cookie->value)), // criticality    // controlValue    Standards.ASN1.Types.asn1_octet_string(    Standards.ASN1.Types.asn1_sequence(({    // size    Standards.ASN1.Types.asn1_integer(0x7fffffff),    cookie, // cookie    }))->get_der()),    })),    });    }