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