Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2003 10:06:16 -0800
From:      "Mike Maltese" <mike@pcmedx.com>
To:        <freebsd-questions@FreeBSD.ORG>
Cc:        IT Clown <linux@mailbox.co.za>
Subject:   Re: mounting smb share
Message-ID:  <00f201c3bb5a$7a5075d0$f4f0a8c0@pcmedx.com>
References:  <web-191983903@mail01.infosat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Im having some trouble mounting an smb share.When i use the
> following command i can access the smb successfully:
> smbclient //server/share -U username.
>
> When i use the following command i get bad passwd: mount -t
> smbfs -O username=username //server/share /dir.

mount_smbfs should look more like this:

mount_smbfs //username@server/share /mountpoint

It will then prompt you for a password unless you've configured ~/.nsmbrc
(and/or /etc/nsmb.conf).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00f201c3bb5a$7a5075d0$f4f0a8c0>