[Samba] Public file share Samba 4.6.5

John Schmerold schmerold2 at gmail.com
Tue Jul 11 11:50:42 UTC 2017

I am trying to configure a public file share on \\fs1\vol1

 From a Windows 7 command prompt, I enter: dir \\fs1\vol1
Windows says: Logon failure: unknown user name or bad password.

Where am I going wrong?

Error log says: " SPNEGO login failed: NT_STATUS_NO_SUCH_USER" - that 
must have something to do with this, but I thought that was the point of 
"map to guest = Bad User"

My smb.conf:
         netbios name = FS1
         realm = KATY.LAN
         workgroup = KATY
         log level = 5
         log file = /var/log/samba.log.%m
         max log size = 50
         dns forwarder =
         server role = active directory domain controller
         idmap_ldb:use rfc2307 = yes
         template shell = /bin/bash
         template homedir = /home/%U
         map to guest = Bad User

         path = /usr/local/samba/var/locks/sysvol/katy.lan/scripts
         read only = No

         path = /usr/local/samba/var/locks/sysvol
         read only = No

         browseable = yes
         path = /home/smb/vol1
         guest ok = yes
         guest only = yes
         read only = no
         create mask = 777

John Schmerold
Katy Computer Systems, Inc
St Louis

More information about the samba mailing list