summaryrefslogtreecommitdiff
path: root/pynslcd/pam.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-07-27 23:09:01 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-07-29 23:07:49 +0200
commita0e12e6b98616994aca595de7589c003bb68013e (patch)
tree868dbb68be2fc0e9a220430edc5d691be8ff9611 /pynslcd/pam.py
parentfa97bcc376777f87ee661852ad0a8ed60d002466 (diff)
Fix handling of pam_password_prohibit_message in pynslcd
Diffstat (limited to 'pynslcd/pam.py')
-rw-r--r--pynslcd/pam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pynslcd/pam.py b/pynslcd/pam.py
index 483c8d5..7c01517 100644
--- a/pynslcd/pam.py
+++ b/pynslcd/pam.py
@@ -278,7 +278,7 @@ class PAMPasswordModificationRequest(PAMRequest):
self.validate(parameters)
# check if pam_password_prohibit_message is set
if cfg.pam_password_prohibit_message:
- self.write(parameters, constants.NSLCD_PAM_PERM_DENIED,
+ self.write(constants.NSLCD_PAM_PERM_DENIED,
cfg.pam_password_prohibit_message)
return
# check if the the user passed the rootpwmoddn