the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the...
[samba.git] / source3 / auth / auth_rhosts.c
index a4914f2ef16dea5326a53ae0d8996f25babe1b9e..ffb92122643b2e1546b0ebbe7d5972a024ff0c3a 100644 (file)
@@ -168,10 +168,10 @@ BOOL check_hosts_equiv(char *user)
  Check for a valid .rhosts/hosts.equiv entry for this user
 ****************************************************************************/
 
-uint32 check_rhosts_security(const auth_usersupplied_info *user_info, 
+NTSTATUS check_rhosts_security(const auth_usersupplied_info *user_info, 
                             auth_serversupplied_info *server_info)
 {
-       uint32 nt_status = NT_STATUS_LOGON_FAILURE;
+       NTSTATUS nt_status = NT_STATUS_LOGON_FAILURE;
 
        become_root();
        if (check_hosts_equiv(user_info->smb_username.str)) {