s4-dcerpc: fixed auth padding to be relative to the stub, not packet
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Feb 2010 09:21:29 +0000 (20:21 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Feb 2010 10:10:52 +0000 (21:10 +1100)
commit1e13d3fb076fca596f8c480134c6b6f877824360
tree9d83fa8ff80f1dc42d22ec42e2af2bbeff6c9570
parent018fb2d1ae4f1fa2b85afdc8c90dd7ebb8c3fa47
s4-dcerpc: fixed auth padding to be relative to the stub, not packet

The recent dcerpc padding changes made our padding relative to the
packet header, instead of the start of the stub. Surprisingly, this
broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2
is very fussy about the padding it gets in some circumstances.
source4/librpc/rpc/dcerpc.c
source4/rpc_server/dcesrv_auth.c