From 3162d86528d152d8a055294e6e4d6f326828c772 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Sep 2011 15:50:25 +0200 Subject: 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 --- source3/libsmb/cliconnect.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source3') 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 @@ -133,16 +133,6 @@ static struct tevent_req *cli_session_setup_lanman2_send( state->user = user; 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 */ -- cgit