mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
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
This commit is contained in:
committed by
Jeremy Allison
parent
6b7a99107d
commit
21c8fa2566
@ -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 \
|
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) ));
|
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;
|
orig_reg_packet->locked = False;
|
||||||
free_packet(orig_reg_packet);
|
free_packet(orig_reg_packet);
|
||||||
|
Reference in New Issue
Block a user