diff options
author | Gerald Carter <jerry@samba.org> | 2000-08-08 06:57:48 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-08-08 06:57:48 +0000 |
commit | f296a8d087be261fee51a3a4664685bab1fb5ab1 (patch) | |
tree | e8379a6072076c165d40e75d593c09da00c0b379 /source3/lib | |
parent | 8705fbc42cb3d93a7a56f2673e6e1a19d346abee (diff) | |
download | samba-f296a8d087be261fee51a3a4664685bab1fb5ab1.tar.gz samba-f296a8d087be261fee51a3a4664685bab1fb5ab1.tar.bz2 samba-f296a8d087be261fee51a3a4664685bab1fb5ab1.zip |
All changes related to rpcclient...
- cleaned up some code
- Fixed a few memory leaks of my own making
- Add AddPrinterDriver(); I'm missing some of the semantics
here as the call is done correctly, but I'm not getting all
the information right in the DRIVER_INFO_3 struct I think.
Will work on it tomorrow some more...
--jerry
(This used to be commit 3bf9a29f34ee4ade5180c5a0b0b9ff4aca7f0f08)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/msrpc-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/msrpc-client.c b/source3/lib/msrpc-client.c index ee3ee0adcc..867094a2c6 100644 --- a/source3/lib/msrpc-client.c +++ b/source3/lib/msrpc-client.c @@ -181,7 +181,7 @@ void msrpc_sockopt(struct msrpc_state *msrpc, char *options) static BOOL msrpc_authenticate(struct msrpc_state *msrpc, - const struct user_creds *usr) + struct user_creds *usr) { struct msrpc_state msrpc_redir; @@ -247,7 +247,7 @@ static BOOL msrpc_authenticate(struct msrpc_state *msrpc, static BOOL msrpc_init_redirect(struct msrpc_state *msrpc, const char* pipe_name, - const struct user_creds *usr) + struct user_creds *usr) { int sock; fstring path; |