Univentions uses now own auth plugin "univention", to be able to set passwords correctly

This commit is contained in:
Ralf Becker 2018-07-23 12:22:53 +02:00
parent 021f49feec
commit 6628d84095

View File

@ -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"');