[Samba] Samba Share : Connection refused
johndoe65534 at mail.com
Mon Jul 9 14:01:23 UTC 2018
On 7/9/2018 1:09 PM, Sascha Wiechmann via samba wrote:
> Hi Rowland,
> I would agree but I am sure it ran in tests before my holidays. I also
> get :
> [2018/07/09 13:07:06.616097, 0] ../source3/lib/access.c:338(allow_access)
> Denied connection from 192.168.4.111 (192.168.4.111)
> in the samba log - so for me, I got a connection but samba is refusing it?
> Am 09.07.2018 um 11:34 schrieb Rowland Penny via samba:
>> On Mon, 9 Jul 2018 11:16:44 +0200
>> Sascha Wiechmann via samba <samba at lists.samba.org> wrote:
>>> Hi Rowland,
>>> thanks for your fast reply. Maybe there was a problem on format in the
>>> email as testparm works fine on my server. But I also did not write
>>> about distribution and version, sorry.
>>> This conf is given by Yast tool from SuSE LEAP 42.2 by default. I just
>>> added the few parameters I need. So maybe I should clean out a bit - I
>>> still do not need any domain settings.
>>> But does this the trick?
>> I sounds like you just want a standalone server, If so, try this:
>> workgroup = workgroup # NOTE: if the workgroup name really is
>> # you might as well remove it, it is
>> the default.
>> security = user
>> netbios name = SRV1
>> printing = cups
>> printcap name = cups
>> printcap cache time = 750
>> cups options = raw
>> map to guest = Bad User
>> wins support = Yes # If you have any other wins servers, remove
>> log file = /var/log/samba/log.%I
>> log level = 2
>> hosts allow = 192.168.0.0/24 192.168.4.0/24
>> hosts deny = ALL
>> With this smb.conf, users on machines in the subnets 192.168.0.0/24 &
>> 192.168.4.0/24 should be able to connect. If they cannot now and could
>> before you installed the firewall device, I would suspect the firewall
If one of the maintaner of Samba suggest you to start with a basic
smb.conf file I would follow his advice especially when you ask help on
the Samba mailing list.
More information about the samba