[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: trouble getting entry from ldap server using ldap_search_ext_s

Erich Titl wrote:

Pierangelo Masarati wrote:
Sounds like you're getting search references that the LDAP library tries
to chase (anonymously, which is the default)

Which won't work, as the server does not allow anonymous binds :-(
In that case, if your client can determine what identity to use when chasing each specific referral, you can hook in some code to bind as appropriate; have a look at ldap_set_rebind_proc(3) (it's in ldap_bind(3) man page, at least in HEAD code... in any case an example use is again in servers/slapd/back-ldap/bind.c).


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it