[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-general
Subject:    RE: [PEAR] Auth with LDAP not working.
From:       "Ryan Taylor" <ryan.taylor () leeds-art ! ac ! uk>
Date:       2008-03-31 9:05:02
Message-ID: 4B58A837F454E14AA0453EDBADE96A62A427D2 () mildred ! leeds-art ! ac ! uk
[Download RAW message or body]


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

 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic