From ca90a75ba03d8fd64293a16d0794b8998016a006 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 10 Jan 2006 09:41:59 +0000 Subject: r12821: Fix typos. Andrew Bartlett (This used to be commit f4386f7af17add82e88373adb1d585261d13355c) --- source4/auth/auth_unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/auth') 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 -- cgit