diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-08 17:26:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-08 17:51:29 +0200 |
commit | 189266d8eedae1a1c78776fdbbd0883b7390107f (patch) | |
tree | 5d600a51c333bbb2737a464dd9d32ce982de75bb | |
parent | 39ffa0b789b9733bad77d524ba9df6ee5a9098f2 (diff) | |
download | samba-189266d8eedae1a1c78776fdbbd0883b7390107f.tar.gz samba-189266d8eedae1a1c78776fdbbd0883b7390107f.tar.bz2 samba-189266d8eedae1a1c78776fdbbd0883b7390107f.zip |
s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_full_connection()
This is already done by cli_state_create().
metze
-rw-r--r-- | source3/libsmb/cliconnect.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 70089e5f08..2ae7cbbcde 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -2963,10 +2963,6 @@ NTSTATUS cli_full_connection(struct cli_state **output_cli, return nt_status; } - cli->use_oplocks = ((flags & CLI_FULL_CONNECTION_OPLOCKS) != 0); - cli->use_level_II_oplocks = - ((flags & CLI_FULL_CONNECTION_LEVEL_II_OPLOCKS) != 0); - nt_status = cli_session_setup(cli, user, password, pw_len, password, pw_len, domain); if (!NT_STATUS_IS_OK(nt_status)) { |