Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 23:46:48 -0700 (PDT)
From:      Dmitriy Reka <dima@sinsoft.com.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/42468: mount_smbfs incorrectly handled configuration file
Message-ID:  <200209060646.g866km6D015150@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42468
>Category:       misc
>Synopsis:       mount_smbfs incorrectly handled configuration file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 05 23:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dmitriy Reka
>Release:        4.6-STABLE
>Organization:
SUFSE
>Environment:
FreeBSD gw.sif.sumy.ua 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 18 09:36:42 EEST 2002 dima@gw.sif.sumy.ua:/usr/src/sys/compile/SIF  i386
>Description:
mount_smbfs does not use password in configuration file when mounting from /etc/fstab
mount_smbfs reports:
smbfs: unable to open connection: syserr = Authentication error
>How-To-Repeat:
1.add to /etc/fstab:
//username@servername/sharename /mnt smbfs rw,-N,-Iserverip 2 2
2.add to /usr/local/etc/nsmb.conf:
[default]
workgroup=domainname

[servername:username]
charsets=koi8-r:cp866
addr=serverip
password=plaintextpassword
3.run in the shell:
mount /mnt

>Fix:
1.In the /etc/fstab:
remove -N switch
add noauto flag
2.mount smbfs manually
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209060646.g866km6D015150>