Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 20:14:43 +0900
From:      Alexey Kuzmin <alchie@makon.ru>
To:        freebsd-stable@freebsd.org
Subject:   mount_smbfs and passwords
Message-ID:  <20020404201443.1cd38802.alchie@makon.ru>
In-Reply-To: <20020404200607.31dc9d94.alchie@makon.ru>
References:  <20020404200607.31dc9d94.alchie@makon.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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
#-----------

/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?


# uname -a
FreeBSD ns.makon.ru 4.5-STABLE FreeBSD 4.5-STABLE #3: Wed Apr  3 14:18:07 IRKST 2002     root@ns.makon.ru:/usr/src/sys/compile/makon  i386

thanx.

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




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