diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-03-24 22:15:12 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-03-24 22:15:12 +0000 |
commit | cce56703b157ed2d0220469fb2e1a8e9c6946a58 (patch) | |
tree | 0fca9cd1becdce5ef59bcc56ded6964f4f83088a | |
parent | 5936744757e06ceea117086457d082e8befb6233 (diff) |
fix configuration name
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1408 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | pynslcd/pam.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pynslcd/pam.py b/pynslcd/pam.py index 852830c..d795a64 100644 --- a/pynslcd/pam.py +++ b/pynslcd/pam.py @@ -96,9 +96,9 @@ class PAMAuthenticationRequest(PAMRequest): 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 |