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:[EMAIL PROTECTED]] 
> Sent: Saturday, 2 March 2002 2:39 AM
> To: [EMAIL PROTECTED]
> 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
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to