Web lists-archives.com

Re: [Samba] Samba Share : Connection refused




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?
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@xxxxxxxxxxxxxxx> 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



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