Re: PHP and LDAP...
| From: | Adrian Bruce | Date: | Tue, 17 Jan 2006 09:17:54 +0000 |
| Subject: | Re: PHP and LDAP... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228705@lists.php.net to get a copy of this message | ||
David
I found this resource usefull when authenticating users against LDAP, its easy to set up and use.
http://adldap.sourceforge.net/
Ade
David BERCOT wrote:
Hi, I'm new on this list and with PHP. But I am a old web developer (with ASP). I'm looking for verifying a username/password in Active Directory with a LDAP request... I have this error : Warning: ldap_search() [function.ldap-search]: Search: Operations error in /var/www/ldap.html on line 69 I think my criterias are not OK but I think there are classical : $sr=ldap_search($ds,"o=Justice, c=FR","(sn=Berc*)"); Do you have a little example which always return an answer, in AD or in true LDAP (because I have two different servers) ? Then, I have another question... As I said, I'd like to verify username/password. Is it possible ? With AD ? With LDAP ? Is the password clear on network ? Do I have some solutions to resolve that problem ? Thank you very much. David.