Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 15:23:24 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: using "mount_smbfs"
Message-ID:  <20170120152324.545f30b0.freebsd@edvax.de>
In-Reply-To: <CY4PR20MB1397C1D4A95542F7C5AE5F1780710@CY4PR20MB1397.namprd20.prod.outlook.com>
References:  <CY4PR20MB1397C1D4A95542F7C5AE5F1780710@CY4PR20MB1397.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Jan 2017 13:14:54 +0000, Gerard Seibert wrote:
> I am trying to use "mount_smbfs" to mount a Windows 10 share and copy
> data to it. My user name on the windows machine has a "@" in it, ie.
> "me@outlook.com". How do I use it with this command?

If I remember correctly, you can add this information to
your /etc/nsmb.conf or user-specific ~/nsmb.conf:

	[winbox:bob@example.com]
	password=12345

And then use /etc/fstab for setting up how to mount the
share:

	//winbox/bobstuff  /smb/bob10  smbfs  rw,noauto  0  0

I haven't tested this, but according to "man nsmb.conf"
it could work.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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