diff options
Diffstat (limited to 'source3/smbd/auth_unix.c')
-rw-r--r-- | source3/smbd/auth_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/auth_unix.c b/source3/smbd/auth_unix.c index 7c6c58cafa..4740f7fb0d 100644 --- a/source3/smbd/auth_unix.c +++ b/source3/smbd/auth_unix.c @@ -78,7 +78,7 @@ NTSTATUS check_unix_security(const auth_usersupplied_info *user_info, auth_serve pass = Get_Pwnam(user_info->unix_username.str, False); nt_status = (pass_check(pass, - user_info->unix_username.str, + pass ? pass->pw_name : user_info->unix_username.str, user_info->plaintext_password.str, user_info->plaintext_password.len, lp_update_encrypted() ? |