lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1719 - nss-pam-ldapd/pynslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1719 - nss-pam-ldapd/pynslcd



Author: arthur
Date: Sun Jul 15 15:02:15 2012
New Revision: 1719
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1719&view=revision

Log:
support getting pam_password_prohibit_message from configuration (but don't 
handle it yet)

Modified:
   nss-pam-ldapd/pynslcd/cfg.py

Modified: nss-pam-ldapd/pynslcd/cfg.py
==============================================================================
--- nss-pam-ldapd/pynslcd/cfg.py        Sun Jul 15 14:59:02 2012        (r1718)
+++ nss-pam-ldapd/pynslcd/cfg.py        Sun Jul 15 15:02:15 2012        (r1719)
@@ -85,6 +85,7 @@
 nss_min_uid = 0
 validnames = re.compile(r'^[a-z0-9._@$][a-z0-9._@$ 
\\~-]{0,98}[a-z0-9._@$~-]$', re.IGNORECASE)
 pam_authz_searches = []
+pam_password_prohibit_message = None
 
 
 # allowed boolean values
@@ -176,7 +177,7 @@
             globals()[m.group('keyword').lower()] = m.group('value')
             continue
         # parse options with a single value that can contain spaces
-        m = 
re.match('(?P<keyword>binddn|rootpwmoddn|sasl_realm|sasl_authcid|sasl_authzid|sasl_secprops|krb5_ccname|tls_cacertdir|tls_cacertfile|tls_randfile|tls_ciphers|tls_cert|tls_key)\s+(?P<value>\S.*)',
+        m = 
re.match('(?P<keyword>binddn|rootpwmoddn|sasl_realm|sasl_authcid|sasl_authzid|sasl_secprops|krb5_ccname|tls_cacertdir|tls_cacertfile|tls_randfile|tls_ciphers|tls_cert|tls_key|pam_password_prohibit_message)\s+(?P<value>\S.*)',
                      line, re.IGNORECASE)
         if m:
             globals()[m.group('keyword').lower()] = m.group('value')
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/