Request for help with PIDL

Andrew Bartlett abartlet at samba.org
Mon Apr 5 19:37:51 MDT 2010


On Tue, 2010-04-06 at 07:52 +1000, Andrew Bartlett wrote:
> On Tue, 2010-04-06 at 00:04 +0300, Kamen Mazdrashki wrote:
> > 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:
> 
> Add it alongside other 'no' words like 'noprint,nopull,nopush' etc on
> each function. 

Try out this patch and demonstration. 

Jelmer, metze:  Is this OK? - it seems to work for me.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pidl-python-Allow-nopython-to-work.patch
Type: text/x-patch
Size: 1536 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100406/e929ea81/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-librpc-idl-Use-nopython-on-some-drsblobs.idl-functio.patch
Type: text/x-patch
Size: 1938 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100406/e929ea81/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100406/e929ea81/attachment.pgp>


More information about the samba-technical mailing list