Jump to content

Can't access to SMB since 6.12.3


Go to solution Solved by Frank1940,

Recommended Posts

Hello,

 

Since updating last week to 6.12.3, I can no longer access the network with Windows. In Windows (11), I can see the server, but when I click on it, after about ten seconds I get an error:

 

Quote

Windows cannot access \\SPARTA
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems click Diagnose.
Error Code: 0x80070035
The Network path was not found

 

- By clicking on the icon: error

- Direct access to \\SPARTA : error

- Direct access to \\IP : working

 

No problem prior to 6.12.3 (I was on 6.11.5)

Thank you

Link to comment

Let's start with checking Windows.   Settings  >>>  Network & Internet     Is the Network status show that it is set to 'Private'?  If not, click on "Properties"  button and change it.

 

Then do you have Windows Credentials setup for your Unraid server?   (Windows will prevent 'Guest access' and MS has been known to change to that setting on the monthly updates.) 

 

31 minutes ago, Alex.b said:

Direct access to \\IP : working

 

You have 'full and complete' access to all shares using the IP address...   In my limited experience with Windows 11 Pro (22H2) and recent versions of Unraid, either      \\Server_name     or      \\Server_IP_Address       will work but not both. 

 

In my case, The server name works but not the IP_Address.  See below:

image.png.8c47ab970ca17fda64ffbb986c5ca1c8.png

and with the Server_Name

image.png.8f0cdac2c718567476882054bde660bf.png

Edited by Frank1940
Link to comment

In your next post, include the Diagnostics file. 

 

See the PDF file in the first post of this thread:

     https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-10-smb-setup/

It explains how things usually need to be set up for Windows and Samba to work together.

 

You have set a Share Access user under the USERS  setup page?

 

You have set up a Windows Credential for that user on your Windows PC?

 

You say you have complete access using the IP address of the server including access to the individual shares--- based on the permissions for each share for the share access user?  (Please answer this question!) 

 

 

Link to comment
On 8/29/2023 at 11:05 PM, Frank1940 said:

In your next post, include the Diagnostics file. 

 

See the PDF file in the first post of this thread:

     https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-10-smb-setup/

It explains how things usually need to be set up for Windows and Samba to work together.

 

You have set a Share Access user under the USERS  setup page?

Yes, READ/WRITE

 

You have set up a Windows Credential for that user on your Windows PC?

Yes, but I can't get to that stage. First I have the error. I can only enter my login with the IP address.

 

You say you have complete access using the IP address of the server including access to the individual shares--- based on the permissions for each share for the share access user?  (Please answer this question!) 

Yes, I can read and write in the directories to which I have granted access.

 

 

[Diagnostic deleted]

Edited by Alex.b
Link to comment

There are several indications of network issues in your log:

Aug 20 19:00:03 Sparta rpc.statd[5502]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Success
Aug 20 19:00:03 Sparta rpc.statd[5502]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:03 Sparta rpc.statd[5502]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:03 Sparta rpc.statd[5501]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:05 Sparta kernel: RPC: Registered named UNIX socket transport module.
Aug 20 19:00:05 Sparta kernel: RPC: Registered udp transport module.
Aug 20 19:00:05 Sparta kernel: RPC: Registered tcp transport module.
Aug 20 19:00:05 Sparta kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Aug 20 19:00:05 Sparta rpc.nfsd[5807]: unable to bind AF_INET TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET6 TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET6 TCP socket: errno 98 (Address already in use)
Aug 20 19:00:06 Sparta kernel: NFSD: Using UMH upcall client tracking operations.
Aug 20 19:00:06 Sparta kernel: NFSD: starting 90-second grace period (net f0000000)
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: mountd: No V2 or V3 listeners created!
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: mountd: No V2 or V3 listeners created!

and

Aug 20 19:15:28 Sparta avahi-daemon[4730]: Registering new address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.*.
Aug 20 19:15:48 Sparta avahi-daemon[4730]: Withdrawing address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.
Aug 20 19:20:24 Sparta avahi-daemon[4730]: Registering new address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.*.
Aug 20 19:21:12 Sparta avahi-daemon[4730]: Withdrawing address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.
Aug 20 19:27:43 Sparta avahi-daemon[4730]: Registering new address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.*.
Aug 20 19:28:26 Sparta avahi-daemon[4730]: Withdrawing address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.

 

I would do this:

  • Boot in safe mode and verify SMB shares are working.
  • If SMB is still not working, review your network setup on Unraid, and check your router configuration (especially DHCP).
  • Add plugins back one at a time and confirm SMB shares are still working.
  • Add dockers back one at a time and confirm SMB shares are still working.
Link to comment
  • Solution

You never replied to many of my questions.  

 

One thing I will suggest is that you add the following to your   Settings   >>>   SMB    > >>   SMB Extras

[global]
domain master = no
preferred master = yes
os level = 255

 

This will cause your Unraid server to become the Local Master for the SMB network.  This will work best if your Unraid server is  on 24-7.  (It can take up to an hour for the SMB network to become fully function/stable once it is started!  Having a permanent always-on Local Master will eliminate this problem.)

 

On 8/29/2023 at 3:37 PM, Alex.b said:

Direct access to \\IP : working

 

Second thing.  It is not a a requirement that you access a SMB server using its 'Name'.  The IP address is perfectly acceptable practice.  If you do this, be sure that you reserve that address on your router for your server.  (Sorry, not able to provide any instructions on how-to-do this as very router is different!)  Many routers will use the MAC address of your NIC and assign this address if you server requests a IP address via DHCP.  Otherwise, you will have to assign a static IP address in the Network Settings.

 

While I was writing this, @dlandon posted up about network issues.  Do you really need a IPv6 address?  Many need only an IPv4 address.  If you don't need it, don't enable it.

 

Edited by Frank1940
Link to comment
6 hours ago, dlandon said:

There are several indications of network issues in your log:

Aug 20 19:00:03 Sparta rpc.statd[5502]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Success
Aug 20 19:00:03 Sparta rpc.statd[5502]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:03 Sparta rpc.statd[5502]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:03 Sparta rpc.statd[5501]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:05 Sparta kernel: RPC: Registered named UNIX socket transport module.
Aug 20 19:00:05 Sparta kernel: RPC: Registered udp transport module.
Aug 20 19:00:05 Sparta kernel: RPC: Registered tcp transport module.
Aug 20 19:00:05 Sparta kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Aug 20 19:00:05 Sparta rpc.nfsd[5807]: unable to bind AF_INET TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET6 TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET TCP socket: errno 98 (Address already in use)
Aug 20 19:00:05 Sparta rpc.nfsd[5806]: unable to bind AF_INET6 TCP socket: errno 98 (Address already in use)
Aug 20 19:00:06 Sparta kernel: NFSD: Using UMH upcall client tracking operations.
Aug 20 19:00:06 Sparta kernel: NFSD: starting 90-second grace period (net f0000000)
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 1, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 1, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 2, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 2, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, udp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, tcp): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, udp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: Failed to register (mountd, 3, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5836]: mountd: No V2 or V3 listeners created!
Aug 20 19:00:06 Sparta rpc.mountd[5835]: Failed to register (mountd, 3, tcp6): svc_reg() err: RPC: Success
Aug 20 19:00:06 Sparta rpc.mountd[5835]: mountd: No V2 or V3 listeners created!

and

Aug 20 19:15:28 Sparta avahi-daemon[4730]: Registering new address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.*.
Aug 20 19:15:48 Sparta avahi-daemon[4730]: Withdrawing address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.
Aug 20 19:20:24 Sparta avahi-daemon[4730]: Registering new address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.*.
Aug 20 19:21:12 Sparta avahi-daemon[4730]: Withdrawing address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.
Aug 20 19:27:43 Sparta avahi-daemon[4730]: Registering new address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.*.
Aug 20 19:28:26 Sparta avahi-daemon[4730]: Withdrawing address record for fd6b:374b:3347:4322:dabb:c1ff:fe16:92b2 on br0.

 

I would do this:

  • Boot in safe mode and verify SMB shares are working.
  • If SMB is still not working, review your network setup on Unraid, and check your router configuration (especially DHCP).
  • Add plugins back one at a time and confirm SMB shares are still working.
  • Add dockers back one at a time and confirm SMB shares are still working.

I moved house that day, and there was a problem with the ethernet socket on the wall. That's why I had these errors. After rewiring, the errors disappeared.

 

6 hours ago, Frank1940 said:

You never replied to many of my questions.  

 

One thing I will suggest is that you add the following to your   Settings   >>>   SMB    > >>   SMB Extras

[global]
domain master = no
preferred master = yes
os level = 255

 

This will cause your Unraid server to become the Local Master for the SMB network.  This will work best if your Unraid server is  on 24-7.  (It can take up to an hour for the SMB network to become fully function/stable once it is started!  Having a permanent always-on Local Master will eliminate this problem.)

 

 

Second thing.  It is not a a requirement that you access a SMB server using its 'Name'.  The IP address is perfectly acceptable practice.  If you do this, be sure that you reserve that address on your router for your server.  (Sorry, not able to provide any instructions on how-to-do this as very router is different!)  Many routers will use the MAC address of your NIC and assign this address if you server requests a IP address via DHCP.  Otherwise, you will have to assign a static IP address in the Network Settings.

 

While I was writing this, @dlandon posted up about network issues.  Do you really need a IPv6 address?  Many need only an IPv4 address.  If you don't need it, don't enable it.

 

I disabled IPV6 in the settings and that solved the problem! I can now access it without a hitch. Thank you very much for all your help.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...