[Samba] Recurring Error: The specified network name is no longer available
Rowland penny
rpenny at samba.org
Fri Aug 14 12:09:13 UTC 2020
On 14/08/2020 12:54, Gerard Owusu wrote:
> Hi Rowland,
>
> Sorry for the delay, my current smb.conf is:
>
> [global]
> log file = %S.log
> log level = 3
> workgroup = WORKGROUP
> security = user
> passdb backend = tdbsam
> printing = cups
> printcap name = cups
> load printers = yes
> cups options = raw
> lanman auth = no
> ntlm auth = yes
> client lanman auth = no
>
> [Anonymous]
> comment = anonymous file share
> path = /samba/anonymous_shared_directory
> browseable = yes
> writable = yes
> guest ok = yes
> guest only = yes
> read only = no
> force user = nobody
Now that is interesting, you have a share that you obviously want to be
a 'guest' share, but you haven't set 'map to guest = bad user' in
[global], so it will never be used. You also do not need the 'force
user' line in the share, the 'guest only' line does the same thing.
Rowland
More information about the samba
mailing list