The Samba-Bugzilla – Attachment 9788 Details for
Bug 10504
Python bindings cannot print lsa.ForestTrustCollisionInfo objects.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make ForestTrustCollisionInfo/Record structs public so that __ndr_print/pack/unpack functions generated in Python bindings
0001-lsa.idl-define-lsa.ForestTrustCollisionInfo-and-Fore.patch (text/plain), 1.22 KB, created by
Alexander Bokovoy
on 2014-03-18 17:42:52 UTC
(
hide
)
Description:
make ForestTrustCollisionInfo/Record structs public so that __ndr_print/pack/unpack functions generated in Python bindings
Filename:
MIME Type:
Creator:
Alexander Bokovoy
Created:
2014-03-18 17:42:52 UTC
Size:
1.22 KB
patch
obsolete
>From d6831f7dc2a3ee3620bfafb9b5914a87d6cec92d Mon Sep 17 00:00:00 2001 >From: Alexander Bokovoy <ab@samba.org> >Date: Tue, 18 Mar 2014 19:41:38 +0200 >Subject: [PATCH] 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. >--- > librpc/idl/lsa.idl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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; >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ab
:
review?
(
jelmer
)
Actions:
View
Attachments on
bug 10504
: 9788 |
9798