From fb3d8452e5250973eae682dd4a13bf530ccfc56a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 14 Mar 2001 20:22:57 +0000 Subject: set of changes in the beginning of bringing rpcclient changes back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518) --- source3/include/rpcclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/rpcclient.h') diff --git a/source3/include/rpcclient.h b/source3/include/rpcclient.h index f2aa57b2df..f8e5d2d9b1 100644 --- a/source3/include/rpcclient.h +++ b/source3/include/rpcclient.h @@ -25,7 +25,7 @@ struct cmd_set { char *name; - uint32 (*fn)(int argc, char **argv); + uint32 (*fn)(struct cli_state*, int argc, char **argv); char *description; }; -- cgit