Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2009 11:31:09 -0400
From:      Ryan van Eerdewijk <Ryan.vanEerdewijk@sdimediagroup.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Cc:        Ryan van Eerdewijk <Ryan.vanEerdewijk@sdimediagroup.com>
Subject:   Cannot mount smbfs share without requiring manual password
Message-ID:  <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com>

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

I have a strange issue. If I type:

mount_smbfs //theuser@theserver/myshare$ /mnt/here

... I will be prompted for theuser's password, I type it, and the share wil=
l mount fine. But I want this share to mount automatically at bootup. I hav=
en't been able to get it to work through /etc/fstab or through an sh script=
. In fact typing:

mount_smbfs -N //theuser@theserver/myshare$ /mnt/here

gives me the following error:

mount_smbfs: unable to open connection: syserr =3D Authentication error

I have the following in my /etc/nsmb.conf file:

[theserver]
workgroup=3DMYWORKGROUP
addr=3D10.10.10.10

[theserver:theuser]
password=3D$$1571crypto'dpassword

I get the feeling that when mounting the smbfs share, it isn't even checkin=
g the nsmb.conf file. I've also tried a plain text password, and also inclu=
ding the same information in a /root/.nsmbrc file.

I'm running out of ideas. Any help is appreciated.

Thanks

Ryan V.



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