lists.arthurdejong.org
RSS feed

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

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

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



Author: arthur
Date: Thu Mar 24 23:15:12 2011
New Revision: 1408
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1408

Log:
fix configuration name

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

Modified: nss-pam-ldapd/pynslcd/pam.py
==============================================================================
--- nss-pam-ldapd/pynslcd/pam.py        Thu Mar 24 23:09:08 2011        (r1407)
+++ nss-pam-ldapd/pynslcd/pam.py        Thu Mar 24 23:15:12 2011        (r1408)
@@ -96,9 +96,9 @@
     def handle_request(self):
         # if the username is blank and rootpwmoddn is configured, try to
         # authenticate as administrator, otherwise validate request as usual
-        if not self.username and cfg.ldc_rootpwmoddn:
+        if not self.username and cfg.rootpwmoddn:
             # authenticate as rootpwmoddn
-            self.userdn = cfg.ldc_rootpwmoddn
+            self.userdn = cfg.rootpwmoddn
             # if the caller is root we will allow the use of rootpwmodpw
             if not self.password and self.calleruid == 0 and cfg.rootpwmodpw:
                 self.password = cfg.rootpwmodpw
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits