Lines Matching refs:LDAP

45 static LDAPConn *find_connection( LDAP *ld, LDAPServer *srv, int any );
46 static void use_connection( LDAP *ld, LDAPConn *lc );
48 static int chase_one_referral( LDAP *ld, LDAPRequest *lr, LDAPRequest *origreq,
50 static int re_encode_request( LDAP *ld, BerElement *origber,
54 static LDAPServer *dn2servers( LDAP *ld, char *dn );
58 /* returns an LDAP error code and also sets error inside LDAP * */
60 nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp )
81 nsldapi_set_ber_options( LDAP *ld, BerElement *ber )
96 nsldapi_send_initial_request( LDAP *ld, int msgid, unsigned long msgtype,
120 "LDAP server %s: dn %s, port %d\n",
131 * use of DNS is turned off or this is an LDAP DN...
148 LDAP *ld, /* session handle */
323 nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit,
360 nsldapi_new_connection( LDAP *ld, LDAPServer **srvlistp, int use_ldsb,
370 * make a new LDAP server connection
385 * set I/O routines to match those in default LDAP sockbuf
533 find_connection( LDAP *ld, LDAPServer *srv, int any )
563 use_connection( LDAP *ld, LDAPConn *lc )
571 nsldapi_free_connection( LDAP *ld, LDAPConn *lc, LDAPControl **serverctrls,
632 nsldapi_dump_connection( LDAP *ld, LDAPConn *lconns, int all )
680 nsldapi_dump_requests_and_responses( LDAP *ld )
735 nsldapi_free_request( LDAP *ld, LDAPRequest *lr, int free_conn )
808 * Returns an LDAP error code.
816 nsldapi_chase_v2_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp,
891 /* returns an LDAP error code */
893 nsldapi_chase_v3_refs( LDAP *ld, LDAPRequest *lr, char **v3refs,
941 * returns an LDAP error code
948 chase_one_referral( LDAP *ld, LDAPRequest *lr, LDAPRequest *origreq,
978 LDAPDebug( LDAP_DEBUG_TRACE, "chasing LDAP%s %s: <%s>\n",
1027 * - no hostport (no host, no port) provided in LDAP URL, use those
1029 * - no port but a host, use default LDAP port
1073 /* returns an LDAP error code */
1075 nsldapi_append_referral( LDAP *ld, char **referralsp, char *s )
1105 /* returns an LDAP error code */
1107 re_encode_request( LDAP *ld, BerElement *origber, int msgid, LDAPURLDesc *ludp,
1128 * All LDAP requests are sequences that start with a message id. For
1223 nsldapi_find_request_by_msgid( LDAP *ld, int msgid )
1244 nsldapi_connection_lost_nolock( LDAP *ld, Sockbuf *sb )
1270 dn2servers( LDAP *ld, char *dn ) /* dn can also be a domain.... */