I'm trying to make a simple connection and pick up if a certain user is in ldap.
But I can not, I searched the net and found no script that even helped me.
I'm trying to make a simple connection and pick up if a certain user is in ldap.
But I can not, I searched the net and found no script that even helped me.
There is a library I have already used in a project, it calls adLDAP
EXAMPLE
$config = array(
'account_suffix' => "@gatech.edu",
'domain_controllers' => array("whitepages.gatech.edu"),
'base_dn' => 'dc=whitepages,dc=gatech,dc=edu',
'admin_username' => '',
'admin_password' => '',
);
$ad = new Adldap($config);