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 | d98ac8852ae6b39b6fcff92c346ba56d9e63c518 (patch) | |
tree | 3f34ac6e03c17af631fcd001de2a494b778776c1 /source/include | |
parent | af3f2a30c657fc42171bbf7da2354bc4cc7b088d (diff) | |
download | samba-d98ac8852ae6b39b6fcff92c346ba56d9e63c518.tar.gz samba-d98ac8852ae6b39b6fcff92c346ba56d9e63c518.tar.xz samba-d98ac8852ae6b39b6fcff92c346ba56d9e63c518.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
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/rpcclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/rpcclient.h b/source/include/rpcclient.h index f2aa57b2dfe..f8e5d2d9b15 100644 --- a/source/include/rpcclient.h +++ b/source/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; }; |