plans for libndr ?

Gerald (Jerry) Carter jerry at samba.org
Sun Sep 3 12:46:36 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:

> No, I think the autogenerated code in the Samba3 
> branch is the outdated one. Also, note that
> running pidl inside the Samba4 source directory
> is different from running it outside of it
> (different #include lines are generated).

But the structures should be the same I assume.

>> Finally, I'm assuming that the --samba3-XXX options to
>> pidl are not obselete, correct ?
>
> Yes. We should remove them once netdfs in SAMBA_3_0 
> (which still uses them at the moment) is ported over
> to libndr.

ACK.

>> There also seems to be some GetOptions() issues....
>>
>> $ perl pidl/pidl --header librpc/idl/spoolss.idl
>> pidl: no input files
>>
>> Do you want a patch for this ?  or have you already
>> fixed in locally.
>
> You probably want to add -- after --header there. --header 
> accepts an option output file argument, e.g.:
> 
> $ perl pidl/pidl --header -- librpc/idl/spoolss.idl
> 
> or
> 
> $ perl pidl/pidl --header=spoolss.h librpc/idl/spoolss.idl

I see what you mean.  The command line usage is ambiguous.
The output file name is optional but you can't tell that
from "pidl --header file.idl"  Whereas "piel --header
- --verbose file.idl" works fine.




cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+s6sIR7qMdg1EfYRApX+AKCCFr/18UE+xrA6hQNegD7i1TSbawCggFkP
u87KWA6pcVYX0B4qZmu4/e4=
=/5ML
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list