mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
do NOT force user to change password, if LDAP does NOT support shadowlastchange attribute
This commit is contained in:
parent
08aca8ff51
commit
8202298db5
@ -183,6 +183,11 @@ class auth_ldap implements auth_backend
|
||||
|
||||
if ($allValues['count'] > 0)
|
||||
{
|
||||
if (!isset($allValues[0]['shadowlastchange']))
|
||||
{
|
||||
if ($this->debug) error_log(__METHOD__."('$username') no shadowlastchange attribute!");
|
||||
return false;
|
||||
}
|
||||
if ($GLOBALS['egw_info']['server']['case_sensitive_username'] == true &&
|
||||
$allValues[0]['uid'][0] != $username)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user