[Samba] Share cannot be accessed when samba is in Domain with security enabled

Shivappa ssangapur3 at gmail.com
Mon Sep 24 08:14:29 UTC 2018


Rowland,

Thanks for ur suggestions.
I have used “map to guest=never” and I no longer getting that original error.

Do you guess any other issues I may face with keeping stand-alone server and above parameter.

So far it is working fine for me in Domain environment.


> 
> -----Original Message-----
> From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny via samba
> Sent: 18 September 2018 21:44
> To: samba at lists.samba.org
> Subject: Re: [Samba] Share cannot be accessed when samba is in Domain with security enabled
> 
> 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
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list