Cant seem to connect to smb shares.


Muji

Recommended Posts

Cant seem to figure out why I cant connect to a simple windows share. Fresh install and was able to connect to the GUI fine and set up an array fine. I try to make a simple share called storage with default settings and public security. I can see TOWER in my network when smb is enabled. When I try to open, I get a failure popup. It says "\\TOWER is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have permissions. This user can't sign in because this account is currently disabled". This error message also pops up before any credentials can be entered. Also tried making user account with same name as my windows account. Also made sure, inside computer management, that my user wasn't disabled. I was even able to manage installing jellyfin and remotely accessing it, but without setting up media. Not really sure what else I can try. I've never seen this type of error with account being disabled, and I'm switching over from truenas and dealing with ACL. My server knowledge is limited to what tutorials I can find to help install things with step by steps. If anyone has any ideas. Same error on 2 different gaming pcs.

Link to comment

Still cannot find a way to get past that error. After many hours of trying, I took a spare drive and installed Ubuntu and connected to the share fine. Both windows 10 gaming machines will not connect. Same error of account is disabled. No clue what else to try, feels like im going to be forced back to truenas since its not compatible with my machines.

Link to comment

I did try to make a windows credential following some post but not sure if I did it right, or it didnt effect anything. Also tryed messing with that lamen workstation settings. Turned on smb1.0 stuff in windows programs. Its always that same error of account is disabled.

Link to comment

Good idea that got me a lot farther. Fresh install of windows and initially had the same problem of account disabled. When I install windows I just use a single local account named Michael. Somehow something got me to switch off my local account named Michael, that has admin privileges, to an account named Administrator. This finally let me connect to the share but I dont quite understand why. Then I tried on my normal windows install and worked as well. And not exactly sure if theres a way that I can make my local account like my admin account that would let me connect.

Link to comment
7 hours ago, Muji said:

Good idea that got me a lot farther. Fresh install of windows and initially had the same problem of account disabled. When I install windows I just use a single local account named Michael. Somehow something got me to switch off my local account named Michael, that has admin privileges, to an account named Administrator. This finally let me connect to the share but I dont quite understand why. Then I tried on my normal windows install and worked as well. And not exactly sure if theres a way that I can make my local account like my admin account that would let me connect.

 

Question.  Did you use the same password for the 'Michael' account on both the PC and the server?   See here for what happens behind the scenes---

 

         https://forums.unraid.net/topic/25064-user-share-problem/?tab=comments#comment-228392

 

Many people would think that passwords should not be reused (for security reasons) but I think in this case it may well be necessary...

 

Also try adding this login info for your Local Account in Windows Credentials.   If this works, remember that you can't change the password on your Local Account without changing the password on the Unraid server side.   (That is the reason why I think it is a bad idea to use the Local Account login credentials for server access with Unraid because only the Unraid Administrator (root) can do that on the server-- not a normal user which is normally the case.)

Edited by Frank1940
Link to comment

Windows 10 and Windows 11 SMB have a setting which prevents a Windows client from connecting to a server using a insecure 'Guest' (no password) SMB account.   It has been turned "on" in recent updates for security reasons.    (It started out as the default in Enterprise and Education but  it seems to have been extended to Pro and Home recently.)  Yes, it could be turn off but it is much simpler to embrace some security than fighting MS to remain insecure.  

 

While MS's idea was to protect the client (a Windows 10 PC) from accessing a rouge server, you should also be considering your Unraid server.  I would strongly recommend setting all of your shares to "Private"!  Then setup users and passwords for those persons/groups who have a reason to access the shares.  If you still have some old device from before (say) 2010 that can only use SMBv1, then use the "Secure" setting to provide read-only access.  

 

Remember, virtually everyone who enters your home (or passes by on the street or sidewalk) has a device in their procession that can access your server via WiFi.  My security friends tell me is a simple task to hack most WiFi passwords these days.  Don't serve up the files on your server on a platter by allowing 'Guest' connections to it unless you can't avoid it.

Edited by Frank1940
Link to comment
  • 1 year later...

Chiming in here in case anyone else has this issue, I found a solution that seems to work in at least my scenario. It seems that my issue was Windows side (surprise!) and that Windows was likely using some kind of cached credentials to connect to the network share.

 

What I needed to do was go into command prompt (as admin, else I got an error) and use the following code:

 

net stop workstation /y

 

followed by:

 

net start workstation

 

This allowed me to enter my credentials and connect to my otherwise inaccessible network share.

 

I hope this helps some lost soul in the future.

Link to comment
3 hours ago, brisa117 said:

and that Windows was likely using some kind of cached credentials to connect to the network share.

This is not atypical, and the error messages from Windows can be misleading.   You can also use Windows Credentials Manager to examine and/or change any cached credentials.

Link to comment

Use the Windows Credential manager to setup a credential for your client computer to a valid Unraid 'Share Access' user on your Unraid sever and you should avoid this problem entirely.  (Windows allows one-and-only-one login from the client to a server.  If you establish a Guest connection to any user server, any attempt to log on with a valid user name and password to that server will always fail!)

Edited by Frank1940
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.