converted another bunch of stuff to NTSTATUS
[samba.git] / source3 / auth / auth_unix.c
index 89e670747f28b0bf8df2ca58460e22c3d9d2b05a..fda44fd91ceca10f4aa7be117d8d9b84a77fe68b 100644 (file)
@@ -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;