Fix: view LDAP attributes of entry
This commit is contained in:
parent
04b23ab465
commit
6e08369c05
@ -173,7 +173,7 @@ if ($result > 0)
|
||||
$info=$contact->_load_ldap_info();
|
||||
$dn=$contact->_load_ldap_dn($info,1);
|
||||
$search = "(".$contact->_load_ldap_dn($info,2).")";
|
||||
$records=$ldap->search($dn,$search);
|
||||
$records=$ldap->getAttribute($dn,$search);
|
||||
|
||||
//print_r($records);
|
||||
|
||||
@ -186,7 +186,7 @@ if ($result > 0)
|
||||
}
|
||||
else
|
||||
{
|
||||
$result=show_ldap_content($records,0,0,true);
|
||||
$result=show_ldap_content($records,0,$records['count'],true);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user