plans for libndr ?

Gerald (Jerry) Carter jerry at samba.org
Fri Sep 1 20:19:30 GMT 2006


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

Jelmer Vernooij wrote:

> The idea is to rework rpc_client/ rpc_server/ to call 
> out to libndr-generated code rather than rpc_parse/.
> The infrastructure is done. At the moment I'm working
> on getting the RPC-UNIXINFO test working against
> Samba 3 with ndr_unixinfo.c autogenerated. Once that's
> done I'd like to work on netdfs and other pipes.

ok.  I'm glad to see I'm thinking the same way as you
are in rpc_client/ndr.c.  That makes me feel better
about my own understanding.  The use of DATA_BLOB
was a nice touch.

I have a couple of questions.  The unixinfo.h in
your 3.0-libndr/ bzr branch is different that one
I get from running "pidl --header librpc/idl/unixinfo.idl"
in the current SAMBA_4_0 branch.  Mostly just in relation
to the [ref] pointers.  Do you have a newer version of
pidl somewhere ?

Secondly, I don't see any hooks into rpc_server yet.
I'm guessing you are just starting on the client code
and using the existing rpc_parse/ code to test the
client autogenerated code.  If you haven't started on
a server hook, I will start working on a patch.  That
would help me make sure I'm following your design.

Finally, I'm assuming that the --samba3-XXX options to
pidl are not obselete, correct ?

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.




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+JXSIR7qMdg1EfYRAtr0AKDuRZvnjyzzVIdll0/pk9gh9FzyJQCg8zTp
V5OiCy+e36CE9l020vbYrwc=
=LWDn
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list