Calling ndr_print on an object returned by lsaRSetForestTrustInformation() just returns AttributeError: 'lsa.ForestTrustCollisionInfo' object has no attribute '__ndr_print__'
We need to declare the struct with [public] to get Python bindings with __ndr_pack/unpack/print.
Created attachment 9788 [details] make ForestTrustCollisionInfo/Record structs public so that __ndr_print/pack/unpack functions generated in Python bindings Patch attached
Comment on attachment 9788 [details] make ForestTrustCollisionInfo/Record structs public so that __ndr_print/pack/unpack functions generated in Python bindings Jelmer, please comment/review the patch.
(Actually add jelmer for review ;)
Jelmer did give an ACK on the IRC: <ab> jelmer: ping, https://bugzilla.samba.org/show_bug.cgi?id=10504 <ab> jelmer: not sure if I made some error in the requesting review from you <ab> and you never received the request <jelmer> ab: haven't actually had time to look at it yet <jelmer> looking now, as it is small <jelmer> ab: change looks good, Reviewed-By: me <jelmer> ab: if you're after the +1 thing in bugzilla, it might be better to get somebody else to approve it. I don't have my credentials here.
Created attachment 9798 [details] v4-0-test and v4-1-test patch Patch against v4-1-test
Comment on attachment 9798 [details] v4-0-test and v4-1-test patch LGTM
Karolin, please add the patch to the relevant branches. Thanks!
Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
Pushed to both branches. Closing out bug report. Thanks!