From 21c8fa2566eb2b5a8e1e5c727b22f56479a3da46 Mon Sep 17 00:00:00 2001 From: S Hargagan Date: Thu, 16 Aug 2012 16:27:10 -0700 Subject: Fix bug #9085 - NMB registration for a duplicate workstation fails with registration refuse Signed-off-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Aug 17 04:15:21 CEST 2012 on sn-devel-104 --- source3/nmbd/nmbd_winsserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nmbd') diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index d56d0f8aed..6524284791 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -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); -- cgit