summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS Hargagan <shargagan@novell.com>2012-08-16 16:27:10 -0700
committerJeremy Allison <jra@samba.org>2012-08-17 04:15:21 +0200
commit21c8fa2566eb2b5a8e1e5c727b22f56479a3da46 (patch)
treed3611b44e2598213229f8bf7c9ddea15cd373e59
parent6b7a99107d956651fae43a7e62d1fbf69d97d0c7 (diff)
downloadsamba-21c8fa2566eb2b5a8e1e5c727b22f56479a3da46.tar.gz
samba-21c8fa2566eb2b5a8e1e5c727b22f56479a3da46.tar.bz2
samba-21c8fa2566eb2b5a8e1e5c727b22f56479a3da46.zip
Fix bug #9085 - NMB registration for a duplicate workstation fails with registration refuse
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
-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 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);