[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Mon Jul 5 10:06:56 MDT 2010


The branch, master has been updated
       via  1dcf0e9... pidl: s3 server stubs: make sure LIBNDR_FLAG_BIGENDIAN is set when negotiated.
       via  d56cc23... s4-smbtorture: add my (C) to rap torture lib.
      from  a236bc4... s4:dsdb/password_hash: implement DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID

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


- Log -----------------------------------------------------------------
commit 1dcf0e917e99cadf7267566db2139c3dbfc0815a
Author: Günther Deschner <gd at samba.org>
Date:   Mon Jul 5 17:34:19 2010 +0200

    pidl: s3 server stubs: make sure LIBNDR_FLAG_BIGENDIAN is set when negotiated.
    
    Guenther

commit d56cc23c6a31f10151420086bbead715fa911f6e
Author: Günther Deschner <gd at samba.org>
Date:   Mon Jul 5 16:39:44 2010 +0200

    s4-smbtorture: add my (C) to rap torture lib.
    
    Guenther

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

Summary of changes:
 pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm |    3 +++
 source4/torture/rap/rap.c               |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index 0fdc89b..311eb5b 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -167,6 +167,9 @@ sub ParseFunction($$)
 	pidl "}";
 	pidl "";
 	pidl "pull->flags |= LIBNDR_FLAG_REF_ALLOC;";
+	pidl "if (p->endian) {";
+	pidl "\tpull->flags |= LIBNDR_FLAG_BIGENDIAN;";
+	pidl "}";
 	pidl "ndr_err = call->ndr_pull(pull, NDR_IN, r);";
 	pidl "if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {";
 	pidl "\ttalloc_free(r);";
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c
index 34036f0..7583d1d 100644
--- a/source4/torture/rap/rap.c
+++ b/source4/torture/rap/rap.c
@@ -4,6 +4,7 @@
    Copyright (C) Volker Lendecke 2004
    Copyright (C) Tim Potter 2005
    Copyright (C) Jelmer Vernooij 2007
+   Copyright (C) Guenther Deschner 2010
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by


-- 
Samba Shared Repository


More information about the samba-cvs mailing list