summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2001-04-20 00:19:49 +0000
committerJohn Terpstra <jht@samba.org>2001-04-20 00:19:49 +0000
commit790588eda41a7c8b2a56dce3fef57abd10df8a3f (patch)
tree0af36b4def4dc21db877636527171455c114638f /source3
parent80187366f2679e5c43d21978d4c6b1f7beee503a (diff)
downloadsamba-790588eda41a7c8b2a56dce3fef57abd10df8a3f.tar.gz
samba-790588eda41a7c8b2a56dce3fef57abd10df8a3f.tar.xz
samba-790588eda41a7c8b2a56dce3fef57abd10df8a3f.zip
Oops. Typos.
(This used to be commit 44f96771c384b319290ab5e14cad6ba8f3fb5383)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/pampass.c4
-rw-r--r--source3/passdb/pampass.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 277544ed91..bf1aca1e2c 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -294,10 +294,10 @@ static BOOL pam_account(pam_handle_t *pamh, char * user, char * password, BOOL p
case PAM_CRED_EXPIRED:
DEBUG(0, ("PAM: Credentials for user: \"%s\" EXPIRED!", user ));
break;
- case PAM_CRED_UNKNOWN:
+ case PAM_USER_UNKNOWN:
DEBUG(0, ("PAM: User: \"%s\" is NOT known so can not set credentials!", user ));
break;
- case PAM_CRED_UNKNOWN:
+ case PAM_CRED_ERR:
DEBUG(0, ("PAM: Unknown setcredentials error - unable to set credentials for %s", user ));
break;
case PAM_SUCCESS:
diff --git a/source3/passdb/pampass.c b/source3/passdb/pampass.c
index 277544ed91..bf1aca1e2c 100644
--- a/source3/passdb/pampass.c
+++ b/source3/passdb/pampass.c
@@ -294,10 +294,10 @@ static BOOL pam_account(pam_handle_t *pamh, char * user, char * password, BOOL p
case PAM_CRED_EXPIRED:
DEBUG(0, ("PAM: Credentials for user: \"%s\" EXPIRED!", user ));
break;
- case PAM_CRED_UNKNOWN:
+ case PAM_USER_UNKNOWN:
DEBUG(0, ("PAM: User: \"%s\" is NOT known so can not set credentials!", user ));
break;
- case PAM_CRED_UNKNOWN:
+ case PAM_CRED_ERR:
DEBUG(0, ("PAM: Unknown setcredentials error - unable to set credentials for %s", user ));
break;
case PAM_SUCCESS: