User password change required after every TrueNAS reboot.

Jeeves

Cadet
Joined
Feb 2, 2019
Messages
9
Hi there, I have a small 6TB TrueNAS-12.0-U8.1 RAIDZ2 system that after (re)booting (it is lightly used so sometimes turned off), I am required to change my password in order to gain access to my SMB shares. I use a non-root user ID I've created.

I am attaching to the NAS with a Mac running Catalina 10.15.7. I am using the finder command Go/Connect to Server/smb://192.168.1.1 (as example). The first time after the NAS boots, the password won't be accepted from my Mac until I web to the NAS, and go to Accounts/Users/Edit and (re)set my password. I can even just reset it to what it already was, then go back to my Mac, and successfully connect at that point. Once the NAS is up and I have reset my password once, I can "disconnect" my Mac and reconnect it, and the password is accepted on every subsequent interval.

Right now you're going, "well that's effing weird!" IKR!! :smile:

Any thoughts or tips are greatly appreciated...

Best regards & many thanks,
Gary

Attached is my startup console log if it's of any assistance. (backup8tb is a drive/volume I use sporadically so it's not plugged in presently)
 

Attachments

  • console.log.zip
    6.5 KB · Views: 106

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
That sounds like your system dataset isn't being set up correctly on boot. After reboot, what do you see for `midclt call systemdataset.config` and `df -T /var/db/system/samba4`?
 

Jeeves

Cadet
Joined
Feb 2, 2019
Messages
9
Oh hell, isn't that just the way things happen to me! Now after reproducing the above literally like 8 times in a row, it is now not doing it.

I truly appreciate you taking the time to respond, here's the output of those commands. I unfortunately did not trap anything with them as now the symptom is gone.

After boot and before I connect with Mac:
root@truenas[~]# midclt call systemdataset.config
{"id": 1, "pool": "vol", "uuid": "6db47e476a87416dae61f74d2047f68f", "uuid_b": null, "is_decrypted": true, "basename": "vol/.system", "uuid_a": "6db47e476a87416dae61f74d2047f68f", "syslog": true, "path": "/var/db/system"}


root@truenas[~]# df -T /var/db/system/samba4
Filesystem Type 1K-blocks Used Avail Capacity Mounted on
vol/.system/samba4 zfs 3472591650 377 3472591272 0% /var/db/system/samba4



After boot and after I connect with Mac:
root@truenas[~]# midclt call systemdataset.config
{"id": 1, "pool": "vol", "uuid": "6db47e476a87416dae61f74d2047f68f", "uuid_b": null, "is_decrypted": true, "basename": "vol/.system", "uuid_a": "6db47e476a87416dae61f74d2047f68f", "syslog": true, "path": "/var/db/system"}


root@truenas[~]# df -T /var/db/system/samba4
Filesystem Type 1K-blocks Used Avail Capacity Mounted on
vol/.system/samba4 zfs 3472592156 378 3472591778 0% /var/db/system/samba4


I'm certainly confused, I'll keep an eye on it...
G
 

MrPav

Cadet
Joined
Aug 17, 2022
Messages
1
I am having the same issue. I installed core on an old pc I had laying around and for about 2 weeks it was working without this particular issue. Then 3 days ago it started forgetting my user passwords and I'm not sure what I must have changed.
 
Top