[Date Prev][Date Next]
Re: Trouble with Authenticating...
On Wed, 9 Jun 2004, Ben Bargabus wrote:
> if ((result = ldap_simple_bind_s(ld, "CN=Bob", "password")) !=
> LDAP_SUCCESS )
You're attempting a simple bind, above.
> When I ran with ldapsearch I did as follows...
> % ./ldapsearch -D "CN=Bob" -W "CN=Bob"
> Enter LDAP Password: password
The absence of the -x switch with ldapsearch tells me that you are
not doing a simple bind here but are instead using SASL. Assuming the
absence of the -x isn't a typo, that would explain the discrepancy
in results between your program and ldapsearch.
> Anyone have further ideas?
> Thanks again,
Libraries and Information Services
Ohio Wesleyan University