[Samba] Samba Share : Connection refused

Sascha Wiechmann swiechmann at escoor.de
Thu Jul 12 10:08:11 UTC 2018


Hi Rowland,

It is working now with whole config I posted I only did a change on :

hosts deny = All

to

hosts deny = 0.0.0.0/24

but this wasn´t the clue. I had to restart the server because of some 
login session troubles. After restart SuSe everything is working as a 
charm now , so anything would have crashed.

Sorry for bothering you all :-)

br

Sascha


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:
>
> [global]
>       workgroup = workgroup # NOTE: if the workgroup name really is 'workgroup'
>                             #       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 this.
>       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
> device.
>
> Rowland
>




More information about the samba mailing list