[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r198: Limit allowed user names to log in to prdb.
Jeff Licquia
licquia at linuxfoundation.org
Sat Feb 25 14:41:44 UTC 2012
------------------------------------------------------------
revno: 198
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Sat 2012-02-25 09:41:44 -0500
message:
Limit allowed user names to log in to prdb.
modified:
modules/apachehttpd/templates/dbconfig/prdb.erb
-------------- next part --------------
=== modified file 'modules/apachehttpd/templates/dbconfig/prdb.erb'
--- a/modules/apachehttpd/templates/dbconfig/prdb.erb 2012-02-25 05:00:46 +0000
+++ b/modules/apachehttpd/templates/dbconfig/prdb.erb 2012-02-25 14:41:44 +0000
@@ -11,7 +11,7 @@
$mysql_db = 'cert';
$ldap_name_symbols = '\\w\\.\\@ \\-'; // also in validate_user_id() in functions.inc.php
-$ldap_pattern_name = '/^['.$ldap_name_symbols.']+$/';
+$ldap_pattern_name = '/^(stewb|licquia)$/';
$ldap_host = 'ldaps://ldap1.linuxfoundation.org';
$ldap_base = 'dc=freestandards,dc=org';
More information about the lsb-messages
mailing list