[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-general
Subject:    Re: bind question
From:       Richard Heller <rheller () prime ! cs ! ohiou ! edu>
Date:       1999-02-19 3:33:19
[Download RAW message or body]



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic