coding volunteers needed for msrpc server-side API conversion

Luke Kenneth Casson Leighton lkcl at
Tue Jan 25 06:00:48 GMT 2000

if anyone wants to help with a very boring but basically self-consistent
task, i'd really appreciate it.  the goal is, examine rpc_client/cli_*.c
functions, e.g samr_open_domain(), and create a srv_*.c function with
EXACTLY the same paramaters called _samr_open_domain(), for all functions
in rpc_client/cli_*.c and srv_*.c.

please see samba tng's rpc_server/srv_samr.c and samrd/srv_samr_passdb.c
for examples of the code-conversion in progress.  i cut/paste a section of
proto.h from rpc_client/cli_samr.c into the top of samrd/srv_samr_passdb.c
to make this job easier.

if you want to help out, then please follow these instructions, in order
to avoid duplication of effort:

1) EITHER: refer to and look for
messages with this subject line OR: change your subscription to non-digest
mode on samba-technical.

2) post a message to samba-technical in reply to this message (exclude the
text) saying which MSRPC pipe and which functions in that pipe you would
like to volunteer for the conversion.

3) wait 20 mins or so, refer to samba-technical, see if anyone else also
volunteered.  sort it out between you so as not to duplicate effort.

4) examine and follow the example code plus the coding STYLE, please.  
put copyright your name 2000 at the top of the file in the GPL header.
istarted out by making 2 copies of rpc_server/srv_samr.c and then go from
there.  changes to rpc_parse/parse_*.c::make_r*() functions are sometimes
necessary.  changes to rpc_parse/parse_*.c::make_q*() functions are NOT
necessary and should not be done.

5) send me a diff -u patch, they're far easier to read before doing patch
-p0 < your_diff.  send it as an attachment not inline text because your
emailer or mine may word-wrap anything over 80 chars in length.

i will be chewing through srv_samr.c from the top: if anyone wants to
start at the bottom and work up, i'll meet you somewhere in the middle :)
please follow the reporting instructions above.



<a href="mailto:lkcl at"   > Luke Kenneth Casson Leighton    </a>
<a href=""> Samba and Network Development   </a>
<a href=""        > Samba Web site                  </a>
<a href=""      > Internet Security Systems, Inc. </a>
<a href=""          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

More information about the samba-technical mailing list