set of changes in the beginning of bringing rpcclient changes
commitd98ac8852ae6b39b6fcff92c346ba56d9e63c518
authorGerald Carter <jerry@samba.org>
Wed, 14 Mar 2001 20:22:57 +0000 (14 20:22 +0000)
committerGerald Carter <jerry@samba.org>
Wed, 14 Mar 2001 20:22:57 +0000 (14 20:22 +0000)
tree3f34ac6e03c17af631fcd001de2a494b778776c1
parentaf3f2a30c657fc42171bbf7da2354bc4cc7b088d
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
source/include/rpcclient.h
source/libsmb/cli_spoolss.c
source/libsmb/cliconnect.c
source/libsmb/pwd_cache.c
source/rpcclient/cmd_lsarpc.c
source/rpcclient/cmd_samr.c
source/rpcclient/cmd_spoolss.c
source/rpcclient/rpcclient.c