Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 17:39:45 +0200
From:      Petre Bandac <petre@kgb.ro>
To:        freebsd-questions@freebsd.org
Subject:   mount_smbfs without entering password
Message-ID:  <20050301173945.5612a70a@xxl.rdsbv.ro>

next in thread | raw e-mail | index | archive | help
I can't make mount_smbfs to work with the -N switch (ie read its
passwords from ~/.nsmbrc)

sudo mount_smbfs -I IP-address //petre@netbios_name/share /mnt/share
works

while

sudo mount_smbfs -N -I IP-address //petre@netbios_name/share /mnt/share

gives

mount_smbfs: unable to open connection: syserr = Authentication error

.nsmbrc looks like this
#########################
[82.xx.xx.xx:petre:share]
password=$$1785a52273d

[superduda:petre:share]
password=$$1785a52273d

[netbios_name:petre]
password=$$1785a52273d

[82.xx.xx.xx6:petre]
password=$$1785a52273d



what's the problem ?

thanks,

petre

-- 
Login: petre          			Name: Petre Bandac
Directory: /home/petre              	Shell: /usr/local/bin/zsh
On since Fri Feb 25 17:28 (EET) on ttyv0, idle 4 days 0:05 (messages
off)
Last login Sun Feb 27 23:26 (EET) on ttyp6 from lubyanka.kgb.ro
New mail received Fri Feb 25 18:30 2005 (EET)
     Unread since Wed Feb 23 16:47 2005 (EET)
No Plan.



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