[Samba] Samba Share : Connection refused

Sascha Wiechmann swiechmann at escoor.de
Mon Jul 9 08:21:50 UTC 2018

Hi everyone,

I have a small issue on our main samba server. We added a hardware 
firewall with different zones and now I want to get access from new 
development LAN (192.168.4.) to samba (192.168.0.) but I get information 
about access denied on windows 7 (net use Error 5).
Firewall is open to all internal LANs. I checked the smb.conf and, for 
me, it seems to be fine. I added hosts allow before holiday and it 
worked, but after my holiday access is denied. Maybe I am blind and you 
may give me a hint, please...

Log :

[2018/07/09 09:37:06.872551,  0] ../source3/lib/access.c:338(allow_access)
   Denied connection from (

smb.conf :

     workgroup = workgroup
     passdb backend = tdbsam
     printing = cups
     printcap name = cups
     printcap cache time = 750
     cups options = raw
     map to guest = Bad User
     #include = /etc/samba/dhcp.conf
     logon path = \\%L\profiles\.msprofile
     logon home = \\%L\%U\.9xprofile
     logon drive = P:
     usershare allow guests = No
     add machine script = /usr/sbin/useradd  -c Machine -d 
/var/lib/nobody -s /bin/false %m$
     domain logons = No
     domain master = No
     security = user
     wins support = Yes
     netbios name = SRV1
     create mask = 0770
     directory mask = 0770
     log file = /var/log/samba/log.%I
     log level = 2
     hosts allow =
     hosts deny = ALL

Thanks for your efforts !


More information about the samba mailing list