Try setting 'map to guest'
map to guest (G)
This parameter is only useful in security modes other than security = share - i.e. user,
server, and domain.
This parameter can take three different values, which tell smbd(8)what to do with user
login requests that don't match a valid UNIX user in some way.
The three settings are :
- Never - Means user login requests with an invalid password are rejected. This is the
default.
- Bad User - Means user logins with an invalid password are rejected, unless the username
does not exist, in which case it is treated as a guest login and mapped into the guest
account.
- Bad Password - Means user logins with an invalid password are treated as a guest login
and mapped into the guest account. Note that this can cause problems as it means that any
user incorrectly typing their password will be silently logged on as "guest" - and will
not know the reason they cannot access files they think they should - there will have
been no message given to them that they got their password wrong. Helpdesk services will
hate you if you set the map to guest parameter this way .