r12824: Another typo.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 10 Jan 2006 10:54:45 +0000 (10:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:50:02 +0000 (13:50 -0500)
Andrew Bartlett
(This used to be commit 08f8b2aadbc815f91fbe50a5ebcbf33504bcd7cc)

source4/auth/auth_unix.c

index 6cea18522346ad41d4cbf785d9a67b735789c3ba..ca8b8e5b9a8286ea744520fb0ca106e7aa16c41d 100644 (file)
@@ -739,7 +739,7 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersuppl
                strlower(pwcopy);
                nt_status = password_check(username, pwcopy, crypted, salt);
                if NT_STATUS_IS_OK(nt_status) {
-                       *ret_passwd = pwd;
+                       *ret_passwd = pws;
                        return nt_status;
                }
        }