Request for help with PIDL

Kamen Mazdrashki kamenim at
Mon Apr 5 15:04:23 MDT 2010

On Fri, Apr 2, 2010 at 16:24, Stefan (metze) Metzmacher <metze at>wrote:

> Do you really need it this type for your work?

No. I just need a way to skip generation of Python code for
package_PrimaryKerberosString structure.

> Otherwise we could just skip it for the python bindings,
> I think we have a "nopython" attribute.

I saw this attribute but I can't figure out how to use it?
What I understood is that I can use it on 'interface' (which is not what I
or on interface method. Unfortunately when using [nopython] attribute for
interface method I get an error from IDL parser. Here it is:

*Compiling ../librpc/idl/drsblobs.idl*
*../librpc/idl/drsblobs.idl:399: error: Syntax error near '['*
*Failed to parse ../librpc/idl/drsblobs.idl at ./../pidl/pidl line 608.*

Any clue what the problem might be?

> If you need it I think we should change the difinition,
> but we need to be really careful because I think it was really tricky to
> get it right, for the validate case (a ndr_push after a ndr_pull should
> generate the exact same result)
> Indeed. I really don't want to change this definition as it is working
I just want to be able to generate 'drsblobs' python module as I can use
it for torture tests :)

Kamen Mazdrashki
kamen.mazdrashki at

More information about the samba-technical mailing list