[Samba] Share cannot be accessed when samba is in Domain with security enabled
Rowland Penny
rpenny at samba.org
Tue Sep 18 16:13:55 UTC 2018
On Tue, 18 Sep 2018 21:13:08 +0530
Shivappa <ssangapur3 at gmail.com> wrote:
> Hi Rowland,
>
> Sorry, I shall post such questions to mailing list in future.
>
> Here is my smb.conf
>
> #############My smb.conf##########
> [global]
> workgroup=SAMBADFS
> server string=SMB Server
> netbios name=Shivatest
> realm=SAMBADFS.LOCAL
> log level=1
> log file=
> max log size=2000
> max smbd processes=100
> security=ADS
> password server=10.10.1.1
> wins support=no
> client NTLMv2 auth=Yes
> wins proxy=no
> server max protocol=SMB3
> client max protocol=SMB3
> dns proxy=no
> wins server=0.0.0.0, 0.0.0.0
> name resolve order=lmhosts host wins bcast
> map to guest=bad uid
> guest only=yes
> guest account=root
> local master=no
> encrypt passwords=yes
> ntlm auth=yes
> deadtime=60
> server signing=auto
> client signing=auto
> dos charset=CP932
> #my share
> [SHIVA_SHARE]
> path=/etc/test
> browseable=yes
> writeable=no
> public=no
> guest
ok=yes
> available=1
> ##############END###########
>
WOW, you are trying to run a Unix domain member as a standalone server.
security=ADS
map to guest=bad uid
guest only=yes
guest account=root
There are no authentication lines
Can I suggest you install and run winbind and then read this:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member
Either that, or run Samba as a standalone server, see here:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
Rowland
More information about the samba
mailing list