summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-08 15:50:25 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 08:33:12 +0200
commit3162d86528d152d8a055294e6e4d6f326828c772 (patch)
treef29372490cc1b54d62446119a577631053eebb21 /source3
parentd87ef021abaff8b1d13ec1038264251d66d9a9a6 (diff)
downloadsamba-3162d86528d152d8a055294e6e4d6f326828c772.tar.gz
samba-3162d86528d152d8a055294e6e4d6f326828c772.tar.bz2
samba-3162d86528d152d8a055294e6e4d6f326828c772.zip
s3:libsmb: no need to reset capabilities in cli_session_setup_lanman2()
This is only used cli->protocol < PROTOCOL_NT1, in which case cli_negprot_done() has already reset cli->capabilities. metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 1f222f88fd..f162e7e305 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -134,16 +134,6 @@ static struct tevent_req *cli_session_setup_lanman2_send(
vwv = state->vwv;
/*
- * LANMAN servers predate NT status codes and Unicode and
- * ignore those smb flags so we must disable the corresponding
- * default capabilities that would otherwise cause the Unicode
- * and NT Status flags to be set (and even returned by the
- * server)
- */
-
- cli->capabilities &= ~(CAP_UNICODE | CAP_STATUS32);
-
- /*
* if in share level security then don't send a password now
*/
if (!(sec_mode & NEGOTIATE_SECURITY_USER_LEVEL)) {