summaryrefslogtreecommitdiffstats
path: root/source/smbd/auth_unix.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-27 19:46:22 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-27 19:46:22 +0000
commit1d36250e338ae0ff9fbbf86019809205dd97d05e (patch)
treee9698f0341f3d5189f45dfd8773b38e57b4da599 /source/smbd/auth_unix.c
parent8021669b167053b5500f035c9c50d1327d73c232 (diff)
downloadsamba-1d36250e338ae0ff9fbbf86019809205dd97d05e.tar.gz
samba-1d36250e338ae0ff9fbbf86019809205dd97d05e.tar.xz
samba-1d36250e338ae0ff9fbbf86019809205dd97d05e.zip
converted another bunch of stuff to NTSTATUS
Diffstat (limited to 'source/smbd/auth_unix.c')
-rw-r--r--source/smbd/auth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/auth_unix.c b/source/smbd/auth_unix.c
index 89e670747f2..fda44fd91ce 100644
--- a/source/smbd/auth_unix.c
+++ b/source/smbd/auth_unix.c
@@ -76,7 +76,7 @@ uint32 check_unix_security(const auth_usersupplied_info *user_info, auth_servers
nt_status = (pass_check(user_info->smb_username.str, user_info->plaintext_password.str,
user_info->plaintext_password.len,
lp_update_encrypted() ? update_smbpassword_file : NULL)
- ? NT_STATUS_NOPROBLEMO : NT_STATUS_LOGON_FAILURE);
+ ? NT_STATUS_OK : NT_STATUS_LOGON_FAILURE);
unbecome_root();
return nt_status;