nss-pam-ldapd commit: r1415 - nss-pam-ldapd/pynslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1415 - nss-pam-ldapd/pynslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1415 - nss-pam-ldapd/pynslcd
- Date: Sat, 26 Mar 2011 15:36:19 +0100 (CET)
Author: arthur
Date: Sat Mar 26 15:36:17 2011
New Revision: 1415
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1415
Log:
sync validname regular expression with nslcd
Modified:
nss-pam-ldapd/pynslcd/common.py
Modified: nss-pam-ldapd/pynslcd/common.py
==============================================================================
--- nss-pam-ldapd/pynslcd/common.py Fri Mar 25 22:39:04 2011 (r1414)
+++ nss-pam-ldapd/pynslcd/common.py Sat Mar 26 15:36:17 2011 (r1415)
@@ -25,7 +25,7 @@
import ldap
import ldap.dn
-_validname_re = re.compile(r'^[A-Za-z0-9._@$][A-Za-z0-9._@$
\\~-]{0,98}[A-Za-z0-9._@$~-]$')
+_validname_re = re.compile(r'^[a-z0-9._@$][a-z0-9._@$
\\~-]{0,98}[a-z0-9._@$~-]$', re.IGNORECASE)
def isvalidname(name):
"""Checks to see if the specified name seems to be a valid user or group
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1415 - nss-pam-ldapd/pynslcd,
Commits of the nss-pam-ldapd project