libmsrpc for Samba 3
Gerald (Jerry) Carter
jerry at samba.org
Thu Jul 7 16:19:49 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Chris Nicholls wrote:
>> We may need to split these headers up some more.
>> passdb.h, nt_printing.h, and secrets.h should be
>> more server stuff and not really something we want
>> to include for client apps. This is a good start
>> though. It's actually shorter than I expected.
>> Redefining a few necessary macros is probably acceptable
>> if it is at least manageable.
> I looked into this last night, after commenting out nt_printing.h, 3
> strctures needed to be defined:
> NT_PRINTER_INFO_LEVEL_2, NT_PRINTER_DRIVER_INFO_LEVEL_3 and
> NT_PRINTER_DRIVER_INFO_LEVEL_6. In order to get these redefined a lot of
> other definitions from nt_printing.h need to be used, so I think it is
> probably unmanageable to remove nt_printing.h.
I'm hoping to have time to rewrite the printing code soon.
Probably not in time to be of any use to you. But I will look
at removing the dependencies of these structuers since there
are really internal server structures.
> from passdb.h, the following structures needed redefining:
> struct acct_info
> struct samr_displayinfo
> I have a feeling that these should only be defined in passdb.h, but I
> could be wrong.
> And in secrets.h the only thing that needed to be redefined was TRUSTDOM.
Both of these 2 as well represent internal server structures.
I'll see if we can reorg some includes to separate this better.
But initially let's move forward with what you have.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical