[SCM] Samba Shared Repository - branch master updated

Alexander Bokovoy ab at samba.org
Mon Mar 24 05:45:05 MDT 2014

The branch, master has been updated
       via  5976791 lsa.idl: define lsa.ForestTrustCollisionInfo and ForestTrustCollisionRecord as public structs
      from  20c7196 ctdb/daemon: Optimise deletion of IPs


- Log -----------------------------------------------------------------
commit 59767911bded48388c27d5f9cd2ff1346a1c01a6
Author: Alexander Bokovoy <ab at samba.org>
Date:   Tue Mar 18 19:41:38 2014 +0200

    lsa.idl: define lsa.ForestTrustCollisionInfo and ForestTrustCollisionRecord as public structs
    For Python bindings PIDL wants the struct to be defined as public if we
    want to use __ndr_print/pack/unpack.
    Define the [public] attribute to ForestTrustCollisionInfo/Record to
    allow easier debugging when there is collision in establishing a trust.
    This change does not affect C code as NDR functions are always
    generated, only not exposed in Python bindings.
    Signed-off-by: Alexander Bokovoy <ab at samba.org>
    Reviewed-by: Jelmer Vernooij <jelmer at samba.org>
    Autobuild-User(master): Alexander Bokovoy <ab at samba.org>
    Autobuild-Date(master): Mon Mar 24 12:44:50 CET 2014 on sn-devel-104


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

Changeset truncated at 500 lines:

diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index d8f2649..80efbd5 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -1328,14 +1328,14 @@ import "misc.idl", "security.idl";
 		[default] uint32 flags;
 	} lsa_ForestTrustCollisionFlags;
-	typedef struct {
+	typedef [public] struct {
 		uint32 index;
 		lsa_ForestTrustCollisionRecordType type;
 		[switch_is(type)] lsa_ForestTrustCollisionFlags flags;
 		lsa_String name;
 	} lsa_ForestTrustCollisionRecord;
-	typedef struct {
+	typedef [public] struct {
 		uint32 count;
 		[size_is(count)] lsa_ForestTrustCollisionRecord **entries;
 	} lsa_ForestTrustCollisionInfo;

Samba Shared Repository

More information about the samba-cvs mailing list