summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhargagan <shargagan@novell.com>2012-08-28 09:29:52 +0200
committerKarolin Seeger <kseeger@samba.org>2012-08-28 09:33:46 +0200
commit30567b8f9bc0f5a39a3a65039277aa5f839622cd (patch)
tree277df450365bde3cd51458658a89af311357f15e
parent38444389c39d5c5adca1c9f300bded47407fd0b5 (diff)
downloadsamba-30567b8f9bc0f5a39a3a65039277aa5f839622cd.tar.gz
s3: Fix bug #9085.
NMB registration for a duplicate workstation fails with registration refuse. (cherry picked from commit 71c4227fd0a741984fb273ad1973ad1724ecb04b)
-rw-r--r--source3/nmbd/nmbd_winsserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 0a5b1c87647..20436c58130 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -1014,7 +1014,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);