Request for help with PIDL

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


On Fri, Apr 2, 2010 at 16:24, Stefan (metze) Metzmacher <metze at samba.org>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
want)
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
fine.
I just want to be able to generate 'drsblobs' python module as I can use
it for torture tests :)

-- 
CU,
Kamen Mazdrashki
kamen.mazdrashki at postpath.com
http://repo.or.cz/w/Samba/kamenim.git
-------------------------------------
CISCO SYSTEMS BULGARIA EOOD
http://www.cisco.com/global/BG/


More information about the samba-technical mailing list