From owner-freebsd-stable Thu Apr 4 3:16:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by hub.freebsd.org (Postfix) with ESMTP id C0D3937B419 for ; Thu, 4 Apr 2002 03:16:29 -0800 (PST) Received: from WEBSHIELD2.isg.siue.edu (webshield2.isg.siue.edu [146.163.5.150]) by mail.isg.siue.edu (8.9.1/8.9.1) with SMTP id FAA25332 for ; Thu, 4 Apr 2002 05:16:22 -0600 (CST) Received: FROM mail.isg.siue.edu BY WEBSHIELD2.isg.siue.edu ; Thu Apr 04 05:16:22 2002 -0600 Received: from zeus (student142-218.bh.siue.edu [146.163.142.218]) by mail.isg.siue.edu (8.9.1/8.9.1) with ESMTP id FAA25322 for ; Thu, 4 Apr 2002 05:16:19 -0600 (CST) From: "William M. Grim" To: Subject: RE: Date: Thu, 4 Apr 2002 05:16:25 -0600 Message-ID: <001901c1dbca$28bdf920$da8ea392@dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: <20020404200607.31dc9d94.alchie@makon.ru> Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd- > stable@FreeBSD.ORG] On Behalf Of Alexey Kuzmin > Sent: Thursday, April 04, 2002 5:06 AM > To: freebsd-stable@FreeBSD.ORG > > hey ppl! > > got a problem mounting shares within rc.d script: > > /etc/nsmb.conf: > #-------------- > [default] > workgroup=GROUP > username=root > > [SERVER] > charsets=koi8-r:cp866 > addr=192.168.10.100 > > [SERVER:root] > password=clear_text_password > #----------- > I'd first like to say I haven't actually used /etc/nsmb.conf but am familiar with Samba itself so will give you any hints I come across. First off, Samba can not authenticate with modern Windows computers using clear text passwords. Also, if you are trying to connect to a computer that needs a username, bobbyjoe, then I doubt you want your username in /etc/nsmb.conf to be root. > /etc/fstab > #---------- > > //SERVER/Share /mnt/net/server/share smbfs ro,noauto 0 0 > > /usr/local/etc/rc.d/smbfs.sh is taken from /usr/src/contrib/smbfs/examples > > i tried to run it, but it said "Authentication error". > when i removed "-N" option it asked for password. clear_text_password > worked fine... > where am i doing wrong? Again, I think that perhaps the authentication error comes from either the username being root, the password not being set to encrypted, or a combination of the two. I might have been way off track in responding to your email, but I hope it helps some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message