Date: Sun, 13 Apr 2003 20:12:49 +0200 From: Nakal <nakal@web.de> To: freebsd-questions@freebsd.org Subject: Re: Can't get the mount_smbfs to work with password. Message-ID: <200304132012.49491.nakal@web.de> In-Reply-To: <200304131643.h3DGhok24136@thunder.trej.net> References: <200304131643.h3DGhok24136@thunder.trej.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 13 April 2003 18:43, Joachim Dagerot wrote: > Dear list! > > I have no problem mounting a windows xp share using the mount_smbfs > method, but I always get a password prompt. > > The man file mentions the .nsmbrc that should be placed either in ~/ > or /usr/local/etc named .nsmbrc resp. nsmb.conf > > I have configured those files as the examples outlines but still it > won't work. Is this an issue anyone else has got? I have also this problem, but I've found a workaround. I suppose You are trying to mount directly from /etc/fstab. That does not work for me, either, but it is possible to execute the mount_smbfs including the parameter '-I <hostname>' at boot time (e.g. in rc.local) or manually. Keep Your nsmb.conf like it is. You will need the password specified there, of course. >From the man-page: -I host Do not use NetBIOS name resolver and connect directly to host, which can be either a valid DNS name or an IP address. If You find a way how to specify the '-I' option for /etc/fstab, tell me please. (Perhaps I am doing something wrong, too. I don't know.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304132012.49491.nakal>