pdb dependencies in RPC_PARSE objects

Mayers, Philip J p.mayers at ic.ac.uk
Wed Dec 13 12:46:08 GMT 2000


I quite agree.

Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |
+----------------------------------+  

-----Original Message-----
From: Tim Potter [mailto:tpot at linuxcare.com.au]
Sent: 13 December 2000 06:12
To: samba-technical at us5.samba.org
Subject: pdb dependencies in RPC_PARSE objects


Is it possible to break the dependency between PASSDB_OBJ and
RPC_PARSE?  The chain goes like this: RPC_PARSE -> parse_samr.c
-> pdb_*() -> PASSDB_OBJ.

It seems a bit unecessary to have to link in the passdb objects
to use the rpc parsing routines when all I want to do is marshall
and unmarshall some lsa functions.

I got the impression that the init_xyz_info123() functions in
parse_xyz.c would in general take data passed to the function and
pack it into the XYZ_INFO_123 structure, rather than actually
generate the data inside the function.

Anyone up for an argument?  (-:


Tim.





More information about the samba-technical mailing list