summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-07 21:10:24 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-08 08:51:48 +0200
commitcdca1e0ac3c185856fbe2d061a30bfa8e71e4e1c (patch)
tree68b6c60565674217578ed519d4ee45fd4b740da7 /source3/libsmb/cliconnect.c
parent2c741efc993186c1f814ba0aaaf89cf80f911196 (diff)
downloadsamba-cdca1e0ac3c185856fbe2d061a30bfa8e71e4e1c.tar.gz
samba-cdca1e0ac3c185856fbe2d061a30bfa8e71e4e1c.tar.xz
samba-cdca1e0ac3c185856fbe2d061a30bfa8e71e4e1c.zip
s3:libsmb: pass CLI_FULL_CONNECTION_* flags to cli_state_create()
metze
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index eaac4638a9..e3e2bc4e0b 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2854,6 +2854,7 @@ NTSTATUS cli_connect_nb(const char *host, const struct sockaddr_storage *dest_ss
int fd = -1;
char *desthost;
char *p;
+ int flags = 0;
desthost = talloc_strdup(talloc_tos(), host);
if (desthost == NULL) {
@@ -2875,7 +2876,7 @@ NTSTATUS cli_connect_nb(const char *host, const struct sockaddr_storage *dest_ss
goto fail;
}
- cli = cli_state_create(NULL, fd, desthost, NULL, signing_state);
+ cli = cli_state_create(NULL, fd, desthost, NULL, signing_state, flags);
if (cli == NULL) {
goto fail;
}