How can i get all the users from the LDAP using PHP.
function getUsers() {
$process = new process();
//ldap->s_Host('domain.com');
//$ldap->s_Domain('domain.com');
$process->s_Host('domain.com');
$process->s_Domain('domain.com');
$process->s_LdapSecure(false);
if($process->LdapConn()){
if($process->LdapBind()){
}
}
}