mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
do NOT force user to change password, if LDAP does NOT support shadowlastchange attribute
This commit is contained in:
parent
5367b5a273
commit
923c78940e
@ -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