Gerard Owusu
2020-Aug-14 11:54 UTC
[Samba] Recurring Error: The specified network name is no longer available
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 [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? ? ? ? available = yes? ? ? ? valid users = root? ? ? ? read only = no? ? ? ? browseable = yes? ? ? ? public = yes? ? ? ? writable = yes OS is: Window 10 Samba version is:?version 4.10.4 Thank you, Gerard On Thursday, 13 August 2020, 14:45:30 UTC, Rowland penny via samba <samba at lists.samba.org> wrote: On 13/08/2020 14:13, Gerard Owusu via samba wrote:> Hi, > I am struggling to complete my installation of Samba to share files to my Samba Server. > The error:The specified network name is no longer available - keeps recurring irrespective of the changes I make from online forums. > Please help. > Kind regards, > GerardPlease post your current smb.conf and tell us what OS and Samba version you are using. Rowland -- To unsubscribe from this list go to the following URL and read the instructions:? https://lists.samba.org/mailman/options/samba
Rowland penny
2020-Aug-14 12:09 UTC
[Samba] Recurring Error: The specified network name is no longer available
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 = nobodyNow 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
Gerard Owusu
2020-Aug-14 12:43 UTC
[Samba] Recurring Error: The specified network name is no longer available
Hi Rowland,
Made some changes as shown below:
[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
[Anonymous]? ? ? ? comment = anonymous file share? ? ? ? path =
/samba/anonymous_shared_directory? ? ? ? browseable = yes? ? ? ? writable = yes?
? ? ? guest ok = yes? ? ? ? read only = yes
[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? ? ? ? available = yes? ? ? ? valid users = root? ? ? ?
read only = no? ? ? ? browseable = yes? ? ? ? writable = yes
Then I tried to map to the server as shown below:
Still getting the same error.
Kind regards,
Gerard
On Friday, 14 August 2020, 12:09:31 UTC, Rowland penny via samba <samba
at lists.samba.org> wrote:
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
--
To unsubscribe from this list go to the following URL and read the
instructions:? https://lists.samba.org/mailman/options/samba
Maybe Matching Threads
- Recurring Error: The specified network name is no longer available
- Recurring Error: The specified network name is no longer available
- Recurring Error: The specified network name is no longer available
- Recurring Error: The specified network name is no longer available
- Recurring Error: The specified network name is no longer available