the structure of the msrpc client code has changed so much it may be more practical to start anew with rpctorture. i'd suggest basing something on rpcclient. something command-based, where it's possible to pass in an array of command-functions. see struct command_set in rpcclient.c, i've already started part of that work. anyone game? luke