Fix bug #9085 - NMB registration for a duplicate workstation fails with registration...
authorS Hargagan <shargagan@novell.com>
Thu, 16 Aug 2012 23:27:10 +0000 (16:27 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 17 Aug 2012 02:15:21 +0000 (04:15 +0200)
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 17 04:15:21 CEST 2012 on sn-devel-104

source3/nmbd/nmbd_winsserver.c

index d56d0f8aedd9429f8b37b8968e539980402d802e..6524284791697c9ab1b9bea199fa229fcfe53549 100644 (file)
@@ -1038,7 +1038,7 @@ static void wins_register_query_success(struct subnet_record *subrec,
        DEBUG(3,("wins_register_query_success: Original client at IP %s still wants the \
 name %s. Rejecting registration request.\n", inet_ntoa(ip), nmb_namestr(question_name) ));
 
-       send_wins_name_registration_response(RFS_ERR, 0, orig_reg_packet);
+       send_wins_name_registration_response(ACT_ERR, 0, orig_reg_packet);
 
        orig_reg_packet->locked = False;
        free_packet(orig_reg_packet);