Web lists-archives.com

Re: [Samba] SMB Signing with "map to guest = " options

On Mon, 18 Feb 2019 10:26:24 +0530
Shivappa <ssangapur3@xxxxxxxxx> wrote:

> Here is my smb.conf
> [global]
> workgroup=TEST
> server string=SMBServ
> netbios name=SHIVASMB
> realm=TEST.LOCAL
> log level=1
> log file=
> max log size=2000
> max smbd processes=100
> security=ADS
> password server=
> wins support=no
> client NTLMv2 auth=Yes
> wins proxy=no
> server max protocol=SMB3
> client max protocol=SMB3
> dns proxy=no
> wins server=,
> name resolve order=lmhosts host wins bcast
> map to guest=bad uid
> guest account=root
> encrypt passwords=yes
> ntlm auth=yes
> server signing=auto
> client signing=auto
> [Home]
> path=/home/shiva/
> browseable=yes
> writeable=no
> public=no
> guest ok=yes
> available=1
> [Personal]
> path=/home/data/
> browseable=yes
> writeable=no
> public=no
> guest ok=yes
> available=1

You are trying to run a Unix domain member (a very bad one at that) as a
standalone server, this will not work. For 'bad uid' to work, the user
must not have a valid Unix account, Samba (even though you do not have
the required 'idmap config' lines) will be creating one for you.

Can I suggest you read 'man smb.conf', remove all the default and
un-required lines  

It might also help if you you read these:



Then decide which you require, A Unix domain member or a standalone
server. Which ever you decide, I think mapping guest to root is a dumb


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba