From owner-freebsd-stable@FreeBSD.ORG Wed Feb 22 11:42:34 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A327516A42F for ; Wed, 22 Feb 2006 11:42:34 +0000 (GMT) (envelope-from steve@stevehodgson.co.uk) Received: from ghana.smallmonkey.co.uk (ghana.smallmonkey.co.uk [83.142.48.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29CAA43D6B for ; Wed, 22 Feb 2006 11:42:33 +0000 (GMT) (envelope-from steve@stevehodgson.co.uk) Received: from [10.17.20.67] (82-69-69-95.dsl.in-addr.zen.co.uk [82.69.69.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ghana.smallmonkey.co.uk (Postfix) with ESMTP id 1B83360E7; Wed, 22 Feb 2006 11:42:32 +0000 (GMT) Message-ID: <43FC4E22.3050901@stevehodgson.co.uk> Date: Wed, 22 Feb 2006 11:42:26 +0000 From: Steve Hodgson User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gavin Atkinson References: <200602211455.01731.root@solink.ru> <06022119291516.78019@www.mmlab.cse.yzu.edu.tw> <1140606294.59408.8.camel@buffy.york.ac.uk> In-Reply-To: <1140606294.59408.8.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bachilo Dmitry , stable@freebsd.org, Tai-hwa Liang Subject: Re: mount_smbfs trouble after cvsup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 11:42:34 -0000 Gavin Atkinson wrote: >On Tue, 2006-02-21 at 19:29 +0800, Tai-hwa Liang wrote: > > >>On Tue, 21 Feb 2006, Bachilo Dmitry wrote: >> >> >>>I've cvsuped from 6.0 to 6.1-PRERELEASE and now I can't mount NT's shares with >>>password. It worked fine before, but after cvsup i get >>>mount_smbfs: unable to open connection: syserr = Authentication error >>>and in /var/log/messages I get >>>Feb 21 14:51:24 notebook kernel: netsmb_dev: loaded >>>Feb 21 14:51:27 notebook kernel: smb_encrypt: password encryption is not >>>available >>>Feb 21 14:51:27 notebook kernel: smb_ntencrypt: password encryption is not >>>available >>> >>>As far as I see, there is no option in mount_smbfs to disable password >>> >>> >> "options NETSMBCRYPTO" in kernel configuartion file. >> >> >> >>>encryption, so I'm just stuck, what should I do? >>>Thanks in advance. >>> >>> >>http://lists.freebsd.org/pipermail/freebsd-current/2006-January/059823.html >> >> > >Is there a reason this change was made? And is there a reason why >NETSMBCRYPTO is not in GENERIC? To me, it seems that breaking smbfs >between releases within 6.x violates POLA... I suspect a large number of >people (myself included) have always used smbfs for passworded shares >and it's "just worked". > >Moved to stable, where it belongs. > > I agree. I recently tried to port some fixes for the "smb unmapped error 1:157" bug from NetBSD and was bitten by this change. Putting NETSMBCRYPTO in GENERIC and in /usr/src/UPDATING is one option, or changing the default to on, moving it NO_NETSMBCRYTPO and a note in /usr/src/UPDATING is another. Steve