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

Re: Trouble with Authenticating...



On Wed, 9 Jun 2004, Ben Bargabus wrote:

[snip]
>
> 	if ((result = ldap_simple_bind_s(ld, "CN=Bob", "password")) !=
> LDAP_SUCCESS )

You're attempting a simple bind, above.

[snip]
>
> 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.

[snip]
>
> Anyone have further ideas?
> Thanks again,
> Ben.
>

-- 
Kirk Turner-Rustin
Programmer/Analyst
Libraries and Information Services
Ohio Wesleyan University
http://www.owu.edu