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

Re: bind question




On Thu, 18 Feb 1999, Kurt D. Zeilenga wrote:

> At 09:08 PM 2/18/99 -0500, Richard Heller wrote:
> >I'm writing a simple LDAP program and I want to bind as nobody.  When I do
> >ldap_bind_s(ld,NULL,NULL), then the bind succeeds.  However, if I use
> >ldap_bind(ld,NULL,NULL) then the bind fails.  I thought anonymous binding
> >should be possible with either of these calls.
> 
> They both do.  In fact, ldap_bind_s() is basically just a wrapper
> that calls ldap_bind() followed by an ldap_result() call.
> 

Then why does ldap_bind() fail when ldap_bind_s() doesn't?

Thanks,
Rich