From patchwork Mon Aug 20 18:43:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Shilovsky X-Patchwork-Id: 1350701 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 5C5CBDFB6E for ; Mon, 20 Aug 2012 18:44:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753158Ab2HTSoA (ORCPT ); Mon, 20 Aug 2012 14:44:00 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:35568 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753113Ab2HTSn7 (ORCPT ); Mon, 20 Aug 2012 14:43:59 -0400 Received: by mail-lpp01m010-f46.google.com with SMTP id y9so3458452lag.19 for ; Mon, 20 Aug 2012 11:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=kN+kgz0WFBpA1arW3YJ+UTencQrNOAnSIkAqtuWYgCA=; b=BbykEekMGv4P8219cEy5dxhkf2pmYyzVQ1sNHcA0N7tfSXNq9I1FqaIlmsg/dEC+tc wAmkw0697LrUL+88/yXP/HFiMV7qv8N65ya1CybQv34DZ65/1JbNR1fsbGoGrG1GLrM3 uSsQ2zxFys5cIyTix5Dx3Dx0mo5W9t+2RH/JJ113/FTq2rB2H1c388VLx4VJpEmURJBV 8bYr/M2t8chQwottnqTq+BgrkL3BtI7LjWb2WNv4LwhbERAWf/632Rhg6ru/MEI8k3m4 pjd+YOUCT6kWQ6+6exAJKwoBNuCrLSc5a0zzuWJE79wPeoEL41evy642e33iin1JrEw2 ViSA== Received: by 10.112.102.8 with SMTP id fk8mr6364098lbb.71.1345488238904; Mon, 20 Aug 2012 11:43:58 -0700 (PDT) Received: from localhost.localdomain (PPPoE-78-29-75-95.san.ru. [78.29.75.95]) by mx.google.com with ESMTPS id mt19sm16434912lab.17.2012.08.20.11.43.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 11:43:57 -0700 (PDT) From: Pavel Shilovsky To: linux-cifs@vger.kernel.org Cc: Pavel Shilovsky Subject: [PATCH 10/10] CIFS: Add NTLMSSP sec type to defaults Date: Mon, 20 Aug 2012 22:43:00 +0400 Message-Id: <1345488180-5942-11-git-send-email-pshilovsky@samba.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1345488180-5942-1-git-send-email-pshilovsky@samba.org> References: <1345488180-5942-1-git-send-email-pshilovsky@samba.org> Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org From: Pavel Shilovsky Signed-off-by: Pavel Shilovsky --- fs/cifs/cifsglob.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index c76e5ec..42f6aa2 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1354,7 +1354,7 @@ require use of the stronger protocol */ #define CIFSSEC_MUST_SEAL 0x40040 /* not supported yet */ #define CIFSSEC_MUST_NTLMSSP 0x80080 /* raw ntlmssp with ntlmv2 */ -#define CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLM | CIFSSEC_MAY_NTLMV2) +#define CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLM | CIFSSEC_MAY_NTLMV2 | CIFSSEC_MAY_NTLMSSP) #define CIFSSEC_MAX (CIFSSEC_MUST_SIGN | CIFSSEC_MUST_NTLMV2) #define CIFSSEC_AUTH_MASK (CIFSSEC_MAY_NTLM | CIFSSEC_MAY_NTLMV2 | CIFSSEC_MAY_LANMAN | CIFSSEC_MAY_PLNTXT | CIFSSEC_MAY_KRB5 | CIFSSEC_MAY_NTLMSSP) /*