s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the detection of the address family...
commit56e4822566743a42a3e20cc9dc969826969ba156
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 17 Jun 2010 07:42:17 +0000 (17 09:42 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 18 Jun 2010 08:03:08 +0000 (18 10:03 +0200)
tree36ef80e1a3bd112ceeb5023194ed1a758ce95160
parent01e9d090f1f9f340d9bdb597341b445544cf7a7d
s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the detection of the address family in a better way

Obviously the last attempt wasn't enough. Now we do really only read the first
byte in the address buffer which on little endian transmission does always
contain the address family (MS-NRPC 2.2.1.2.4.1).
This should now be working platform-independently.
source4/rpc_server/netlogon/dcerpc_netlogon.c