From 6628d840953596aa8f7d094633ec94854b114768 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 23 Jul 2018 12:22:53 +0200 Subject: [PATCH] Univentions uses now own auth plugin "univention", to be able to set passwords correctly --- doc/rpm-build/post_install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/rpm-build/post_install.php b/doc/rpm-build/post_install.php index d90765f739..991823f957 100755 --- a/doc/rpm-build/post_install.php +++ b/doc/rpm-build/post_install.php @@ -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"');