[Date Prev][Date Next]
Re: Trouble with Authenticating...
--On Wednesday, June 09, 2004 8:22 PM -0500 Ben Bargabus
I'm writing a program using the OpenLDAP libraries and everything seemed
to be going along just fine until I attempted authenticate. I'm using
if (ldap_simple_bind_s(ld, "CN=Bob Smith", "Password") != LDAP_SUCCESS
printf("Unable to bind to server.\n");
And of course it results in an "Unable to bind to server" message. If I
use the ldapsearch program that ships with OpenLDAP and return the
record for Bob Smith it lists that account's DN as "CN=Bob Smith". I'm
using the correct password, what am I missing? Does Domino use another
format for the DN and is lying to me in the results of ldapsearch? Can
I trust the results of ldapsearch for anything? Any advice is much
I'd grab the error message coming back and see why the bind failed.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html