Re: [PHP] Re: get user attributes php/ldap/win2k active directory

2005-01-19 Thread Redmond Militante
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

[PHP] Re: get user attributes php/ldap/win2k active directory

2003-10-24 Thread Redmond Militante
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";}

[PHP] Re: get user attributes php/ldap/win2k active directory

2003-10-23 Thread Justin Patrin
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