]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: Fix bug #9085.
authorhargagan <shargagan@novell.com>
Tue, 28 Aug 2012 07:29:52 +0000 (09:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Aug 2012 07:29:52 +0000 (09:29 +0200)
NMB registration for a duplicate workstation fails with registration refuse.

source3/nmbd/nmbd_winsserver.c

index d5691547198ae778f5d98f89006f08a0e0ef801b..31a603805beca4d9f38f15ed7dbdfb061e096657 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);