summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-08 17:26:30 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-08 17:51:29 +0200
commit39ffa0b789b9733bad77d524ba9df6ee5a9098f2 (patch)
tree9fc12f757c58397e6190fb7c8991d5a994a61e63 /source3/libsmb
parent08e06272105c0b3b275a71bcaf8f44e23ae0481b (diff)
downloadsamba-39ffa0b789b9733bad77d524ba9df6ee5a9098f2.tar.gz
samba-39ffa0b789b9733bad77d524ba9df6ee5a9098f2.tar.bz2
samba-39ffa0b789b9733bad77d524ba9df6ee5a9098f2.zip
s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_start_connection()
This is already done by cli_state_create(). metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 58cf7a8e58..70089e5f08 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2911,19 +2911,6 @@ NTSTATUS cli_start_connection(struct cli_state **output_cli,
return nt_status;
}
- if (flags & CLI_FULL_CONNECTION_DONT_SPNEGO)
- cli->use_spnego = False;
- else if (flags & CLI_FULL_CONNECTION_USE_KERBEROS)
- cli->use_kerberos = True;
-
- if ((flags & CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS) &&
- cli->use_kerberos) {
- cli->fallback_after_kerberos = true;
- }
- if (flags & CLI_FULL_CONNECTION_USE_CCACHE) {
- cli->use_ccache = true;
- }
-
nt_status = cli_negprot(cli);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(1, ("failed negprot: %s\n", nt_errstr(nt_status)));