summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-10 09:41:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:01 -0500
commitca90a75ba03d8fd64293a16d0794b8998016a006 (patch)
tree4163fc8caa5999b7ac18a4a41f5172f78c029884 /source4
parent9cda264ec0526dd4a2f122dbee7144d304930577 (diff)
downloadsamba-ca90a75ba03d8fd64293a16d0794b8998016a006.tar.gz
samba-ca90a75ba03d8fd64293a16d0794b8998016a006.tar.bz2
samba-ca90a75ba03d8fd64293a16d0794b8998016a006.zip
r12821: Fix typos.
Andrew Bartlett (This used to be commit f4386f7af17add82e88373adb1d585261d13355c)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c
index f673beb43d..6cea185223 100644
--- a/source4/auth/auth_unix.c
+++ b/source4/auth/auth_unix.c
@@ -702,7 +702,7 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersuppl
}
if (password == NULL) {
DEBUG(3, ("Allowing access to %s with null password\n", username));
- *ret_passwd = pwd;
+ *ret_passwd = pws;
return NT_STATUS_OK;
}
}
@@ -710,7 +710,7 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersuppl
/* try it as it came to us */
nt_status = password_check(username, password, crypted, salt);
if (NT_STATUS_IS_OK(nt_status)) {
- *ret_passwd = pwd;
+ *ret_passwd = pws;
return nt_status;
}
else if (!NT_STATUS_EQUAL(nt_status, NT_STATUS_WRONG_PASSWORD)) {
@@ -754,7 +754,7 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersuppl
#if 0
if (NT_STATUS_IS_OK(nt_status = string_combinations(pwcopy, password_check, level))) {
- *ret_passwd = pwd;
+ *ret_passwd = pws;
return nt_status;
}
#endif