PHP and LDAP...
| From: | David BERCOT | Date: | Tue, 17 Jan 2006 09:08:31 +0000 |
| Subject: | PHP and LDAP... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-228704@lists.php.net to get a copy of this message | ||
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.