Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2018 23:49:42 +0200
From:      Andrei Brezan <andrei693@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Samba on FreeBSD - no AD, just a home network
Message-ID:  <198cd0ae-d851-5514-803e-4b50bdcbfb92@gmail.com>
In-Reply-To: <CAGfybS9nk7BjGmy4yAUMPEzjiYcxRGQ2nOSWhNhPJnebng5HPQ@mail.gmail.com>
References:  <CAGfybS9nk7BjGmy4yAUMPEzjiYcxRGQ2nOSWhNhPJnebng5HPQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/04/18 22:00, Richard P Mackerras wrote:
> Hi,
Hi,
> 
> I have been having trouble with SAMBA on FreeBSD.
> I have installed FreeBSD 11.1 and installed SAMBA. It is running, SAMBA
> says it is the master browser for my workgroup.
> 
> This is a home network. No AD.
> All I want is for a few W7 and W10 computers and a Mac (iPad/iPhone as
> well?) to be able to read and write files to the SMB server.
> 
> I cannot get it to authenticate a user.
> 
> What is the process I should be following please?
> Which type of authentication should I use, there seem to be a couple of
> choices.
> I don't want to expose my files if anyone hacks my wifi but I don't want to
> make life difficult for myself.
> 
> The windows computers are using the HomeGroup thing rather than a workgroup.
> 
> The FreeBSD guide just seems to be rubbish and out of date. Most
> discussions seem to centre around AD.
> 

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html

And you can use "smbpasswd -a username" or "pdbedit -a username" to add 
the users to tbdsam. "pdbedit -L" to list users.

> Is there anything I need to do to the Windows computers?

If your windows boxes are Home edition they might not want to use the 
workgroup you're creating with Samba, don't have any around to test, 
works fine with Win7 Pro clients and samba48.

> 
> Cheers,
> 
> Richard

-- 
Andrei



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?198cd0ae-d851-5514-803e-4b50bdcbfb92>