mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
Univentions uses now own auth plugin "univention", to be able to set passwords correctly
This commit is contained in:
parent
021f49feec
commit
6628d84095
@ -550,8 +550,8 @@ function randomstring($len=16)
|
||||
'g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v',
|
||||
'w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L',
|
||||
'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
|
||||
'@','!','%','&','(',')','=','?',';',':','#','_','-','<',
|
||||
'>','|','[',']','}', // dont add /\,'"{ as we have problems dealing with them
|
||||
'@','!','&','(',')','=','?',';',':','#','_','-','<',
|
||||
'>','|','[',']','}', // dont add %, /\,'"{ as we have problems dealing with them
|
||||
);
|
||||
|
||||
// use cryptographically secure random_int available in PHP 7+
|
||||
@ -666,7 +666,7 @@ function set_univention_defaults()
|
||||
|
||||
$config['account_min_id'] = 1200; // UCS use 11xx for internal users/groups
|
||||
|
||||
$config['account-auth'] = 'univention,ldap';
|
||||
$config['account-auth'] = 'univention,univention';
|
||||
|
||||
// set sambaadmin sambaSID
|
||||
$config['sambaadmin/sambasid'] = exec('/usr/bin/univention-ldapsearch -x "(objectclass=sambadomain)" sambaSID|sed -n "s/sambaSID: \(.*\)/\1/p"');
|
||||
|
Loading…
Reference in New Issue
Block a user