From: S Hargagan Date: Thu, 16 Aug 2012 23:27:10 +0000 (-0700) Subject: Fix bug #9085 - NMB registration for a duplicate workstation fails with registration... X-Git-Tag: samba-4.0.0beta7~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21c8fa2566eb2b5a8e1e5c727b22f56479a3da46;p=thirdparty%2Fsamba.git 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 --- diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index d56d0f8aedd..65242847916 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);