mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
give an error message "%1 does NOT have a password (userPassword attribute) or we are not allowed to read it!", if LDAP does not allow us to read passwords
This commit is contained in:
parent
624625ce0e
commit
ae9acfd5e2
@ -480,6 +480,11 @@ class setup_cmd_ldap extends setup_cmd
|
||||
$msg[] = lang('%1 does NOT exist in %2.',$what,$target);
|
||||
$errors++;
|
||||
}
|
||||
elseif(empty($account['account_pwd']))
|
||||
{
|
||||
$msg[] = lang('%1 does NOT have a password (userPassword attribute) or we are not allowed to read it!',$what);
|
||||
$errors++;
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql_account['account_passwd'] = self::hash_ldap2sql($account['account_pwd']);
|
||||
|
Loading…
Reference in New Issue
Block a user