The current version of Samba (4.3) no longer supports the
Addition information: sambauser is a valid system user with password authentication but a blank password and is also entered in the Samba password file.
user = share
directive. Searching suggests using map to guest = bad user
. However I still get the password prompt when trying to connect to the share. The password prompt is interfering with the unattended running of shell scripts on the clients. Is there any way to prevent the password challenge being prompted? I've pasted the contents of /usr/local/etc/smb4.conf below.
Code:
[global]
server string = PR4 Samba Server
guest account = sambauser
map to guest = bad user
[server_share]
path = /server_share
writeable = yes
browsable = yes
guest ok = yes
guest only = yes
Addition information: sambauser is a valid system user with password authentication but a blank password and is also entered in the Samba password file.