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.68 2005/02/03 16:55:07 mast Exp $ + // $Id: client.pike,v 1.69 2005/03/08 16:37:46 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.68 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.69 $"/" ")[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:1103:    Standards.ASN1.Types.asn1_integer(sizelimit),    Standards.ASN1.Types.asn1_integer(timelimit),    ASN1_BOOLEAN(attrsonly ? -1 : 0),    @ohlp    })) ;    }       //! Search LDAP directory.    //!    //! @param filter -  //! Search filter used when searching directory objects. +  //! Search filter used when searching directory objects. See RFC +  //! 2254.    //!    //! @param attrs    //! The array of attribute names which will be returned by server.    //! for every entry.    //!    //! @param attrsonly    //! The flag causes server return only attribute name but not    //! the attribute values.    //!    //! @param controls
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1147:    //!    //! @note    //! For syntax of search filter see at RFC 1960    //! (http://community.roxen.com/developers/idocs/rfc/rfc1960.html).    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+    //! to follow his logic better.    //!    //! @seealso -  //! @[result], @[result.fetch], @[get_supported_controls] +  //! @[result], @[result.fetch], @[get_supported_controls], +  //! @[Protocols.LDAP.quote_filter_value]    object|int search (string|void filter, array(string)|void attrs,    int|void attrsonly,    void|mapping(string:array(int|string)) controls) {       int id,nv;    mixed raw;    array(string) rawarr = ({});       filter=filter||lauth->filter; // default from LDAP URI