Gerard Owusu
2020-Aug-14 13:08 UTC
[Samba] Recurring Error: The specified network name is no longer available
Hello again,
So I made an overall change to the config and removed the sambashare entirely.
I just want to have a basic connection before any further modification.
Below is the config setup:
[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
Yet I still got this error:
The issue might be something else.
I have already turned on the smb client as shown below:
What you do think?
Kind regards,
Gerard
On Friday, 14 August 2020, 12:52:53 UTC, Rowland penny via samba <samba
at lists.samba.org> wrote:
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
--
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 13:18 UTC
[Samba] Recurring Error: The specified network name is no longer available
On 14/08/2020 14:08, Gerard Owusu wrote:> Hello again, > > So I made an overall change to the config and removed the sambashare > entirely. > > I just want to have a basic connection before any further modification. >Fair enough, lets just get something straight, you are connecting from Win 10 to Samba, but what OS is Samba running on ? Can you connect from explorer to the 'Anonymous' share ? Have you created any Samba users on the Samba server ? You shouldn't have to turn on SMBv1 on your Win 10 machine, but we will come to that once the basic connection is up and running ;-) Rowland
Gerard Owusu
2020-Aug-14 13:35 UTC
[Samba] Recurring Error: The specified network name is no longer available
To answer you questions: Win 10 to Samba, but what OS is Samba running on ? Samba is running on a Centos 7 Server - UNIX Can you connect from explorer to the 'Anonymous' share ? I cannot connect. It gave me the error in the screenshot I sent you. Have you created any Samba users on the Samba server ? I have not created any user apart from 'root' of which I setup a password for using the samba command. Kind regards, Gerard On Friday, 14 August 2020, 13:20:48 UTC, Rowland penny via samba <samba at lists.samba.org> wrote: On 14/08/2020 14:08, Gerard Owusu wrote:> Hello again, > > So I made an overall change to the config and removed the sambashare > entirely. > > I just want to have a basic connection before any further modification. >Fair enough, lets just get something straight, you are connecting from Win 10 to Samba, but what OS is Samba running on ? Can you connect from explorer to the 'Anonymous' share ? Have you created any Samba users on the Samba server ? You shouldn't have to turn on SMBv1 on your Win 10 machine, but we will come to that once the basic connection is up and running ;-) Rowland -- To unsubscribe from this list go to the following URL and read the instructions:? https://lists.samba.org/mailman/options/samba
Apparently Analagous Threads
- Follow up conversation
- 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