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.103 2007/04/18 12:16:48 mast Exp $ + // $Id: client.pike,v 1.104 2007/05/23 10:32:38 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:591: 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.103 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.104 $"/" ")[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:777:    //! @param dn    //! The distinguished name (DN) of an entry aginst which will    //! be made authentication.    //! @param password    //! Password used for authentication.    //!    //! Third form allows specify the version of LDAP protocol used    //! by connection to the LDAP server.    //!    //! @param version -  //! Only @expr{2@} or @expr{3@} can be entered. +  //! The desired protocol version (current @expr{2@} or @expr{3@}). +  //! Defaults to @expr{3@} if zero or left out.    //!    //! @returns    //! Returns @expr{1@} on success, @expr{0@} otherwise.    //!    //! @note    //! Only simple authentication type is implemented. So be warned    //! clear text passwords are sent to the directory server.    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+