RE: [PHP] Active Directory
| From: | Kearns, Terry | Date: | Mon, 04 Mar 2002 19:39:25 +0000 |
| Subject: | RE: [PHP] Active Directory | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87152@lists.php.net to get a copy of this message | ||
Active Directory has an LDAP interface (from what I hear).
Anyway, I use the LDAP interface with our M$ Exchange server here at work to
make a phonebook application. As it happens, the LDAP service is listening
for requests by default (so you shouldn't have to set it up).
The annoying thing is that M$ will insist on using non-standard field names
(as defined in the appropriate LDAP RFC). You will have to experiement
and/or visit msdn to get more info. Furthermore, they do not support LDAP
encryption as per the LDAP V3 spec - they want you to use their propriety
dot net bulsh!t.
Anyway, as far as code is concerned, I cut/pase from the PHP manual on LDAP.
The example code is just what you need. I had no problems and I had zero
experience with LDAP.
Have fun :-)
[TK]
> -----Original Message-----
> From: Sven Jacobs [mailto:sjacobs@contenteurope.com]
> Sent: Saturday, 2 March 2002 2:39 AM
> To: php-general@lists.php.net
> Subject: [PHP] Active Directory
>
>
> Hey All
>
>
> Does anybody have any idea how to authenticate agains a
> Active Directory Server with PHP ? And if sow :
> -- How does it work
> -- What do I need to install
> -- Some sample code would be nice :-)
>
> Kind Regards
> Sven
>