[Samba] Recurring Error: The specified network name is no longer available

Rowland penny rpenny at samba.org
Fri Aug 14 12:51:44 UTC 2020


On 14/08/2020 13:43, Gerard Owusu wrote:
> Hi Rowland,
>
Try it like this:

[global]
         log file = %S.log
         log level = 3
         workgroup = WORKGROUP
         security = user
         printing = cups
         printcap name = cups
         cups options = raw
         ntlm auth = yes
         map to guest = bad user

[Anonymous]
         comment = anonymous file share
         path = /samba/anonymous_shared_directory
         guest ok = yes
         guest only = yes
         read only = no

[homes]
         comment = Home Directories
         valid users = %S, %D%w%S
         browseable = No
         read only = No
         inherit acls = Yes

[printers]
         comment = All Printers
         path = /var/tmp
         printable = Yes
         create mask = 0600
         browseable = No

[print$]
         comment = Printer Drivers
         path = /var/lib/samba/drivers
         write list = @printadmin root
         force group = @printadmin
         create mask = 0664
         directory mask = 0775

[sambashare]
         comment = Samba on Server
         path = /home/root/sambashare
         valid users = root
         read only = no
         # NOTE: do you really only want 'root' to connect ?

Read the note I added, does 'root' exist on the Windows machine ?

Rowland




More information about the samba mailing list