[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Jul 27 16:31:02 MDT 2011


The branch, master has been updated
       via  9cde691 nbt: fix WinXP S3 domain join: alignment of nbt_netlogon_response_from_pdc
      from  94a2328 s3: Avoid calls to cli_dos/nt_error in torture

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9cde691b87238c14b2f2f4660694d76e99892308
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jul 27 12:04:26 2011 +1000

    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 at samba.org>
    Autobuild-Date: Thu Jul 28 00:30:26 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 librpc/idl/nbt.idl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/idl/nbt.idl b/librpc/idl/nbt.idl
index cbfa966..ee9a64e 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list