summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-03 18:16:08 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-03 18:16:08 +0000
commit294b653f2e9cdc1864ec638ae8b4300df25723cf (patch)
tree89bb71ae713de0711fea8f229af0bd15b29d1d04 /source/rpcclient
parentf33e4ca930f8299c00f861215c5231eef9ecef94 (diff)
downloadsamba-294b653f2e9cdc1864ec638ae8b4300df25723cf.tar.gz
samba-294b653f2e9cdc1864ec638ae8b4300df25723cf.tar.xz
samba-294b653f2e9cdc1864ec638ae8b4300df25723cf.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.
Diffstat (limited to 'source/rpcclient')
-rw-r--r--source/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c
index 2ae55baac02..d73652b5cdb 100644
--- a/source/rpcclient/rpcclient.c
+++ b/source/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");
}