mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
LSsession::getLSuserObject(): improve errors logging
This commit is contained in:
parent
3c02b94085
commit
3c6ce596d9
1 changed files with 2 additions and 0 deletions
|
@ -1141,10 +1141,12 @@ class LSsession {
|
||||||
self :: $LSuserObject = new self :: $LSuserObjectType();
|
self :: $LSuserObject = new self :: $LSuserObjectType();
|
||||||
if (!self :: $LSuserObject -> loadData(self :: $dn)) {
|
if (!self :: $LSuserObject -> loadData(self :: $dn)) {
|
||||||
self :: $LSuserObject = null;
|
self :: $LSuserObject = null;
|
||||||
|
self :: log_error("getLSuserObject($dn): Fail to retrieve current connected user information from LDAP");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
self :: log_error("getLSuserObject($dn): Current connected user object type not defined or can not be loaded (".self :: $LSuserObjectType.")");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue