I messed up 1 SMB share and and can't get another one working

viperxoc

Cadet
Joined
Feb 14, 2022
Messages
2
Ladies and Gentlemen,

I recently upgraded from a previous version of freeNAS to trueNAS. I had 1 SMB share at that time that was working but now is not and I tried creating another one with an old 2TB drive. The 8TB drive was working until I mucked something up but I have yet to get the 2TB drive working. I can see the 2TB drive on my Widows 11 machine but when I click on it I receive the "You don't have permission" popup. I have been through multiple youtube videos as well as many of the tutorials on here to no avail. The 8TB drive is not set up in any way as I have seen in the tutorials, and I assume that is because it was set up prior to my upgrade to trueNAS 12. Below is my pool setup. Before I upgraded I had full access to the 8TB drive and was using it as plex media storage but now I can see and access it but I can't add or change anything anymore. I tried creating a dataset under the plex-8TB-Drive "plexMedia" and setting up a user but that does not give me drive root access or even access to the plexMedia folder. I thought about using a Windows user account setup but I am currently using an online Windows account and cant figure out how to set that up in the user accounts. Of course like some people I was using the root account to access my drives but as that is not possible anything I try fails. I have spent days trying to fix this to no avail. As a matter of fact I have actually messed the setup more and fixed nothing.
1644837003338.png


Any help is apreciated.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
drive root access or even access to the plexMedia folder. I thought about using a Windows user account setup but I am currently using an online Windows account and cant figure out how to set that up in the user accounts. Of course like some people I was using the root account to access my drives but as that is not possible anything I try fails.

Root access is no longer available. I see that you understand this.

I really know next to nothing about online Windows user accounts. Why don't you just create a user on the NAS, and then provide credentials when mounting the share? This would give you a starting point and is effectively similar except that you're substituting some new string for the old username "root".
 

viperxoc

Cadet
Joined
Feb 14, 2022
Messages
2
jgreco,

Lol, I tried that a hundred times, but I just tried it again and it worked now. I don't get it. I just created a user and associated it to both drives just as I have done in the past and now suddenly it worked. It could be that I did something on the permissions differently this time. Thank you for the help.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
It's always something goofy like the caps lock was on. Computers are annoying.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
You can view SMB authentication failure attempts with the command:
midclt call smb.status AUTH_LOG '[["Authentication.status", "!=", "NT_STATUS_OK"]]' | jq
(piping through `jq` pretty-prints the output)

Recently I've seen an increasing number of cases where something people are installing seems to be altering Windows security settings to force NTLMv1 auth (basically plain-text in the modern world), which we deny by default.
 
Top