After a TN reboot, Windows mapped shares lose credentials

SoReT

Cadet
Joined
Jan 1, 2024
Messages
2
Hello!

This TrueNas Core TrueNAS-13.0-U6.1 instance is a home server, so reboots are more frequent than you would expect from a production-grade system.
The problem is that, after a reboot, all the mapped network drives in all Windows systems show up with a red cross and, when accessed, an error appears with the message "Restoring Network Connections: The local device name is already in use. The connection has not been restored.".
1704154384331.png

This happens on two Windows 10 devices and two Windows 11 devices with exactly the same behavior/result.

I found that the easiest and fastest workaround to this problem is to go into the TrueNAS Dashboard, and re-set the passwords to the users that are relevant to those shares. There are several users, and all of them have the same behavior.
When I say "re-set", I mean that all I do is define the same password that the users had before the reboot.
The second I do that, I am able to access my network shares, or hit F5 and the red cross disappears.

I've had this issue for a couple of years now, ever since this system was set up. So I've been living with it hoping that the next update would fix it, but it still hasn't, so I figured I would post it here.
I have done some research and I could see some similar problems with very old and outdated versions of FreeNAS, so it might not be the same problem.
The most relevant I could find is: https://www.truenas.com/community/t...rect-password-after-restarting-freenas.85402/

I would appreciate greatly if anyone could help me. It's not a huge issue but it's still a bit inconvenient, especially when dealing with automation.
Maybe I'm missing a very dumb thing in my configuration, or maybe I have found a bug?
In any case, thank you very much in advance!

Cheers
 

SoReT

Cadet
Joined
Jan 1, 2024
Messages
2
I think I have found the solution!
I have a Storage Pool which is offline most of the times, and when I created another pool, I could see there was a difference between the two: the one that was offline had the "System Dataset Pool" label, and the other didn't.
I started reading about it and it just clicked: the fix for me was simply to go to "System" -> "System Dataset", and select the "boot-pool".
https://www.truenas.com/docs/core/coretutorials/systemconfiguration/settingthesystemdataset/
My issue with the credentials is over! Unbelievable how I didn't come across the solution until today. I'm still posting here for anyone's future reference.
 
Top