Date: Fri, 14 Jan 2005 15:32:15 -0600
From: Redmond Militante <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: Re: [PHP] Re: get user attributes php/ldap/win2k active directory
Reply-To: Redmond Militante <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
User-Agen
hello
thanks for replying. i think i'm almost there...
here's what i've tried so far...
";}
else {echo "error connecting";}
//bind
if ( [EMAIL PROTECTED]("my.domaincontroller.com")) {
echo "bind successful";}
I've been getting entries from an Active Directory server through LDAP
for a while now. Here's some example code:
//connect and bind
//$ds should be the handle returned from ldap_connect
//Search LDAP for all users
// note, your OU entries may differ
$sr = ldap_search($ds,
'OU=Employees,OU=Active
3 matches
Mail list logo