diff options
author | Gerald Carter <jerry@samba.org> | 1999-12-09 07:06:12 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 1999-12-09 07:06:12 +0000 |
commit | 12ca139d5cb79f7e61a84d7dfe8a4c64ed56d82b (patch) | |
tree | 4d388df2e748510594c5d6f09bf22fe2af4d5682 /source3/rpc_client | |
parent | d45f5cf6b055f72ad30d5ae2b2fd7f42dbab1ed2 (diff) | |
download | samba-12ca139d5cb79f7e61a84d7dfe8a4c64ed56d82b.tar.gz samba-12ca139d5cb79f7e61a84d7dfe8a4c64ed56d82b.tar.bz2 samba-12ca139d5cb79f7e61a84d7dfe8a4c64ed56d82b.zip |
OK. This code works on a RedHat 6.0 system. However smbpasswd
time out of sending the session setup on Solaris 2.6. No idea.
I'll work on it some tomorrow. This is to fix the "Unable to
setup password vectors" thingy.
Also changed an inet_aton() to inet_addr() as the former is
not very portable :-)
Luke, I set the redir flag to false because the connection to
the smb-agent was failing and smbpasswd bombed. Double check me
on this one.
-jc
(This used to be commit e1d2b174caf5f0c48a8fac25778f72a868ec6eb7)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_connect.c b/source3/rpc_client/cli_connect.c index f935b53044..fcca3e44ff 100644 --- a/source3/rpc_client/cli_connect.c +++ b/source3/rpc_client/cli_connect.c @@ -96,7 +96,7 @@ static struct cli_connection *cli_con_get(const char* srv_name, con->pipe_name = strdup(pipe_name); } - con->cli = cli_net_use_add(srv_name, usr_creds, True, reuse); + con->cli = cli_net_use_add(srv_name, usr_creds, False, reuse); if (con->cli == NULL) { |