Re: PHP and LDAP...
| From: | David BERCOT | Date: | Tue, 17 Jan 2006 09:57:52 +0000 |
| Subject: | Re: PHP and LDAP... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228706@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/
OK. I have some problems but the most important point (verifying if a
user can be authenticated) works well !!!
Now, I have to adapt the script because I have different domains and,
so, different servers...
Thank you very much for this help !
David.
> 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.