1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/nbt_server
Volker Lendecke 4da56e9f04 nbt_server: Factor out packet generation for netlogon reply
This also fixes an inaccuracy (or even a bug?):
The previous code pulled the reply mailslot always through
req.logon.mailslot_name, which is the union for
LOGON_SAM_LOGON_REQUESTs. The LOGON_PRIMARY_QUERY must be referenced by
req.pdc.mailslot_name. It might have worked by chance, but this should
be more correct.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Feb 27 14:10:14 CET 2018 on sn-devel-144
2018-02-27 14:10:14 +01:00
..
dgram nbt_server: Factor out packet generation for netlogon reply 2018-02-27 14:10:14 +01:00
wins dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
defense.c
interfaces.c nbt_server: Fix a typo 2018-02-13 16:42:22 +01:00
irpc.c libdgram: Remove an unused parameter 2018-02-27 09:14:17 +01:00
nbt_server.c source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
nbt_server.h
nodestatus.c
packet.c
query.c
register.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
wscript_build