coren has submitted this change and it was merged.

Change subject: Labs: Allow '.' (U+002E) in usernames from LDAP
......................................................................


Labs: Allow '.' (U+002E) in usernames from LDAP

Required for the new-style group names that are in the
form 'projectname.groupname'

Change-Id: Icd0249a82fa1ad0d5bb07df3e68f2ba3b08e8e98
---
M modules/ldap/templates/nslcd.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  coren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ldap/templates/nslcd.conf.erb 
b/modules/ldap/templates/nslcd.conf.erb
index 2b1bd6f..eff10ac 100644
--- a/modules/ldap/templates/nslcd.conf.erb
+++ b/modules/ldap/templates/nslcd.conf.erb
@@ -39,7 +39,7 @@
 
 
 <% if scope.function_versioncmp([@lsbdistrelease, "12.04"]) >= 0 %># Limit 
user names to this regex. This needs to be kept in sync with OpenStackManager's 
regex.
-validnames /^[a-z][a-z0-9_-]*$/i<% end %>
+validnames /^[a-z][.a-z0-9_-]*$/i<% end %>
 
 # Group mapping for sudo-ldap.
 <% if scope.function_versioncmp([@lsbdistrelease, "12.04"]) < 0 %>map group 
uniquemember member<% end %>

-- 
To view, visit https://gerrit.wikimedia.org/r/113874
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd0249a82fa1ad0d5bb07df3e68f2ba3b08e8e98
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: coren <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to