summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-17 17:10:29 +0000
committerJeremy Allison <jra@samba.org>2002-10-17 17:10:29 +0000
commit389a16d9d5331ddc7ae61d3d4ef3a4ee48734d4b (patch)
treec1befae62be9d225a39f3a32c814f9ab27853bf9 /source3/rpcclient
parent8cb53d56f21f5a33d7dc55e7bd7cd559a112ac52 (diff)
downloadsamba-389a16d9d5331ddc7ae61d3d4ef3a4ee48734d4b.tar.gz
samba-389a16d9d5331ddc7ae61d3d4ef3a4ee48734d4b.tar.bz2
samba-389a16d9d5331ddc7ae61d3d4ef3a4ee48734d4b.zip
Added new error codes. Fix up connection code to retry in the same way
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 5aa8d2359f..e23140bdb0 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -723,7 +723,7 @@ static NTSTATUS process_cmd(struct cli_state *cli, char *cmd)
&server_ip, 0,
"IPC$", "IPC",
username, domain,
- password, 0);
+ password, 0, NULL);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0,("Cannot connect to server. Error was %s\n", nt_errstr(nt_status)));