RE: [PEAR] Auth with LDAP not working.

From: Date: Mon, 31 Mar 2008 08:44:53 +0000
Subject: RE: [PEAR] Auth with LDAP not working.
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28705@lists.php.net to get a copy of this message
Good Good. Well, I'm having trouble with the Auth package using LDAP. I'm trying to authenticate against an Active Directory. But I keep getting an: Auth_Container_LDAP: Could not bind to LDAP server. This would lead me to believe I'm putting in the wrong details, however, prior to trying to implement this package I've been using my own script to do the same thing, which worked fine, and I'm using the same details. I've enabled debugging and am getting the following after a failed login attempt: PEAR_LOG_DEBUG level messages: 7: AUTH: Auth::start() called. 7: AUTH: Auth::assignData() called. 7: AUTH: Auth::checkAuth() called. 7: AUTH: Unable to locate session storage. 7: AUTH: Auth::login() called. 7: AUTH: Loaded storage container (LDAP) 7: AUTH: Auth_Container_LDAP::fetchData() called. 7: AUTH: Auth_Container_LDAP::_connect() called. 7: AUTH: Connecting with host:port 7: AUTH: Successfully connected to server 7: AUTH: Switching LDAP referrals to true 7: AUTH: Binding anonymously 7: AUTH: Bind failed 7: AUTH: LDAP ERROR: 81: Can't contact LDAP server 7: AUTH: Auth_Container_LDAP::_disconnect() called. 7: AUTH: disconnecting from server 6: AUTH: Incorrect login. 6: AUTH: Rendering Login Form. 7: AUTH: Using default Auth_Frontend_Html 7: AUTH: Auth::checkAuth() called. 7: AUTH: Unable to locate session storage. Does anybody have any suggestions? Cheers Ryan -----Original Message----- From: Christian Weiske [mailto:cweiske@cweiske.de] Sent: 31 March 2008 09:36 To: pear-general@lists.php.net Subject: Re: [PEAR] Auth with LDAP not working. Hello Ryan, > I've just been added to the mailing list. Is this the right place to be > asking for help with a particular package? Yes, it is. -- Regards/Mit freundlichen Grüßen Christian Weiske -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#28705) next »