summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-03-09 21:42:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-03-09 21:42:13 +0100
commit3b181564c552ed3bc464534714148556deeeca2c (patch)
tree7e5a1d454dbec89cd85f9b5804566161a6790a24 /source3/libsmb/clidfs.c
parent0d2de5380d13d544c382e3626e3b84fbea4b70a7 (diff)
parentc666aef471174ca5d95afcc48924325e7caded14 (diff)
downloadsamba-3b181564c552ed3bc464534714148556deeeca2c.tar.gz
samba-3b181564c552ed3bc464534714148556deeeca2c.tar.bz2
samba-3b181564c552ed3bc464534714148556deeeca2c.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r--source3/libsmb/clidfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index e642f169f9..1153d8dc89 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -151,7 +151,7 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx,
zero_sockaddr(&ss);
/* have to open a new connection */
- if (!(c=cli_initialise())) {
+ if (!(c=cli_initialise_ex(cm_creds.signing_state))) {
d_printf("Connection to %s failed\n", server_n);
if (c) {
cli_shutdown(c);
@@ -177,7 +177,6 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx,
c->protocol = max_protocol;
c->use_kerberos = cm_creds.use_kerberos;
c->fallback_after_kerberos = cm_creds.fallback_after_kerberos;
- cli_setup_signing_state(c, cm_creds.signing_state);
if (!cli_session_request(c, &calling, &called)) {
char *p;