RE: [PEAR] Auth with LDAP not working.

From: Date: Mon, 31 Mar 2008 09:05:02 +0000
Subject: RE: [PEAR] Auth with LDAP not working.
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28707@lists.php.net to get a copy of this message
From what it says in the manual I've been using the follow: $a = new Auth("LDAP", $options, array( 'host' => '############', 'basedn' => 'dc=leeds-art,dc=ac,dc=uk', 'userattr' => 'sAMAccountName', 'binddn' => 'dc=Ldap Binder Account,ou=staffspecial,dc=leeds-art,dc=ac,dc=uk', 'bindpw' => '########' ), "loginFunction"); To instantiate. From what I understand binddn and bindpw are the bits you need to connect to AD with it not supporting anonymous binding. According to our logs there's been no login attempt... Though I don't know how much I trust Microsofts AD logging. Ryan -----Original Message----- From: Sebastian Schneider [mailto:schneider@dvz.fh-aachen.de] Sent: 31 March 2008 09:58 To: Ryan Taylor Cc: pear-general@lists.php.net Subject: Re: [PEAR] Auth with LDAP not working. Hello Ryan, acoording to your debug output it seems that there is a problem with binding anonymously to your ldap server. Either you'll have to reconfigure your server to be allowed to bind anonymously or you need to supply credentials to be used when binding to the ldap server to check usernames. The best thing would be that you check your ldap server logfile. Best regards, Sebastian -- Sebastian Schneider <schneider@dvz.fh-aachen.de> -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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