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.22 2001/01/04 12:43:20 hop Exp $ + // $Id: client.pike,v 1.23 2001/04/03 05:55:25 hop 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:747:    DWRITE_HI("client.SEARCH: " + (string)filter + "\n");    if (chk_ver())    return(-ldap_errno);    if (chk_binded())    return(-ldap_errno);    if(ldap_version == 3) {    filter = string_to_utf8(filter);    }    if(intp(raw = send_search_op(ldap_basedn, ldap_scope, ldap_deref,    ldap_sizelimit, ldap_timelimit, attrsonly, filter, -  attrs))) { +  attrs||lauth->attributes))) {    THROW(({error_string()+"\n",backtrace()}));    return(-ldap_errno);    }       rawarr = ({raw});    while (ASN1_DECODE_RESULTAPP(raw) != 5) {    raw = readmsg(id);    if (intp(raw)) {    THROW(({error_string()+"\n",backtrace()}));    return(-ldap_errno);