diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-03 18:16:08 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-03 18:16:08 +0000 |
commit | 7d01f964ff3c1a11bd72d987312f9826fee1c124 (patch) | |
tree | 74a89a0a240cd6fd8389efd569e7ba9a3415018a /source3/rpcclient/rpcclient.c | |
parent | 69683dc27a8eab7a97f580050c71ab64f1d58987 (diff) | |
download | samba-7d01f964ff3c1a11bd72d987312f9826fee1c124.tar.gz samba-7d01f964ff3c1a11bd72d987312f9826fee1c124.tar.bz2 samba-7d01f964ff3c1a11bd72d987312f9826fee1c124.zip |
cool! a unix socket smb redirector. code based on smbfilter and
ideas from ssh-agent.
the intent is to be able to share smb sessions using cli_net_use_add()
across multiple processes, where one process knows the target server
name, user name and domain, but not the smb password.
(This used to be commit 294b653f2e9cdc1864ec638ae8b4300df25723cf)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 2ae55baac0..d73652b5cd 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -1493,7 +1493,7 @@ static void cmd_net(struct client_info *info, int argc, char *argv[]) srv_name, u.user_name, u.domain); report(out_hnd, "Connection:\t"); - if (cli_net_use_add(srv_name, &u) != NULL) + if (cli_net_use_add(srv_name, &u, True) != NULL) { report(out_hnd, "OK\n"); } |