[Date Prev][Date Next]
Re: Trouble with Authenticating...
My problem ended up being with ldap_init() (thanks for bringing that up
Patrick). The server must not be contacted at all until the bind
operation, seems kind of silly that we pass in the host during init
then. I just assumed that since I wasn't returning any sort of error
code from ldap_init that my hostname must have been accepted correctly,
not true. Once I changed the format of the host name (I had included
the protocol as in a URI) everything worked great. I now have my
program adding new accounts as planned, I just need to integrate this
module with the rest of my project and I'm done. Thanks again to
everyone who provided help.