diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-27 12:04:26 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-07-28 00:30:26 +0200 |
commit | 9cde691b87238c14b2f2f4660694d76e99892308 (patch) | |
tree | 0c020c15a13072c6c2605b6c9def42b4ae164886 /librpc/idl | |
parent | 94a2328367b2098bf5e125ddbd1e8c9bfde20efe (diff) | |
download | samba-9cde691b87238c14b2f2f4660694d76e99892308.tar.gz samba-9cde691b87238c14b2f2f4660694d76e99892308.tar.bz2 samba-9cde691b87238c14b2f2f4660694d76e99892308.zip |
nbt: fix WinXP S3 domain join: alignment of nbt_netlogon_response_from_pdc
This fixes WinXP joining a Samba3 domain, which was broken on hosts
with an even number of characters in the host name. The alignment
requested in the structure was ignored because of the overall
NDR_NOALIGN set on the packet.
Andrew Bartlett
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jul 28 00:30:26 CEST 2011 on sn-devel-104
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/nbt.idl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/nbt.idl b/librpc/idl/nbt.idl index cbfa966670..ee9a64ed3e 100644 --- a/librpc/idl/nbt.idl +++ b/librpc/idl/nbt.idl @@ -494,7 +494,7 @@ interface nbt } nbt_netlogon_query_for_pdc; /* response from pdc */ - typedef [flag(NDR_NOALIGN),public] struct { + typedef [public] struct { netlogon_command command; astring pdc_name; [flag(NDR_ALIGN2)] DATA_BLOB _pad; |