From owner-freebsd-fs Thu Aug 29 12:16:26 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C51FA37B400 for ; Thu, 29 Aug 2002 12:16:23 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 716F243E42 for ; Thu, 29 Aug 2002 12:16:23 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0180.cvx40-bradley.dialup.earthlink.net ([216.244.42.180] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 4.10) id 17kUly-00062n-00; Thu, 29 Aug 2002 12:16:06 -0700 Message-ID: <3D6E72BC.6BB5B9F5@mindspring.com> Date: Thu, 29 Aug 2002 12:15:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Magnus B{ckstr|m Cc: freebsd-fs@freebsd.org Subject: Re: smbfs password capitalization References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Magnus B{ckstr|m wrote: > smbfs(4) capitalizes the password before attempting to authenticate to > an SMB server. This ceased being a good idea once even m$ admitted the > benefits of mixed-case passwords; can/should we change it? > I propose the below patch. According to Jeremy Allison, it should try the password as it was supplied by the user, and, if that fails, try the case-folded password instead. Otherewise, you do not have compatability with old servers that expect the case folding behaviour. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message