ndrdump portability requirements

Stefan (metze) Metzmacher metze at samba.org
Tue Feb 27 19:39:50 GMT 2007


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

Jelmer Vernooij schrieb:
> Hi,
> 
> At the moment, ndrdump links against all available NDR interfaces.
> 
> I'd like to modify ndrdump to instead use dlopen() and dlsym() to get to
> the required functions. This has the following advantages:
> 
>  * Much easier to port ndrdump to Samba 3 (my main reason for proposing
> this)
>  * Significantly smaller ndrdump binary
>  * Quicker to recompile (less objects to link in)
> 
> Since the use case for ndrdump is working on the correct IDL, and all of
> the developers have sane systems that support dlopen(), I think that
> should be ok.
> 
> Any objections?

Only if this still works, when I use automatic make dependencies:

vi librpc/idl/foo.idl
make bin/ndrdump && bin/ndrdump foo decode_foo in /tmp/foo.dat

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFF5IkGm70gjA5TCD8RAhocAKCvA6TpaBQtgGlEZy5unkXY6XGBiwCdHZK/
d5zif1vS1cxhqjbtCL+vk+s=
=Etpm
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list