diff options
author | Gerald Carter <jerry@samba.org> | 2001-03-14 20:22:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-03-14 20:22:57 +0000 |
commit | fb3d8452e5250973eae682dd4a13bf530ccfc56a (patch) | |
tree | 1efd72d8a26b7485e8df6cf9bc93cb617fa50f6c /source3/include | |
parent | 762c6e3f84141a1c7ef697f1b0a3339d655c86ad (diff) | |
download | samba-fb3d8452e5250973eae682dd4a13bf530ccfc56a.tar.gz samba-fb3d8452e5250973eae682dd4a13bf530ccfc56a.tar.bz2 samba-fb3d8452e5250973eae682dd4a13bf530ccfc56a.zip |
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)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpcclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |