Author: abartlet
Date: 2006-01-10 09:41:59 +0000 (Tue, 10 Jan 2006)
New Revision: 12821

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12821

Log:
Fix typos.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/auth_unix.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_unix.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_unix.c  2006-01-10 09:22:50 UTC (rev 
12820)
+++ branches/SAMBA_4_0/source/auth/auth_unix.c  2006-01-10 09:41:59 UTC (rev 
12821)
@@ -702,7 +702,7 @@
                }
                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 @@
        /* 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 @@
 
 #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   

Reply via email to