Hi,
after a restart of my Truenas Scale 25.04 (following a VM IP change) I had mount issues (mounting my Dataset on /mnt/mnt/Datapool instead of /mnt/Datapool), which i could resolve.
However I’m failing to get my SMB running, the SMB connections established before no longer work and reject every password. Also changing a user password results in “Errno 2: no such file or directory”. So far I tried:
- SMB Service is active (running), ready to serve connections
- “midclt call smb.passdb_list” returns: []
- “ls -l /var/db/system/samba4/private” exists, but does not contain a “passdb.tdb”, but e.g. secrets.tdb is there.
- “mount | grep system” shows “AppPool/.system on /var/db/system” (My SMB Shares are on on my HDD “DataPool”, while the OS and Apps is on my SSD “AppPool”).
I tried to restart SMB & Middleware. I checked ACL (but it worked before so I dont think this is the problem). Midclt call smb.reset and midclt call smb.synchronize_passdb did not work.
During my troulbeshooting i ultimately did the following, hoping that restarting smb afterwards would correctly recreate a working setup:
rm -rf /var/db/samba/*
rm -rf /var/run/samba-cache/*
How can i restore my SMB safely. I am new to Truenas and have some files on DataPool which I want to keep safe. I am running out of ideas and would be very very gratefull for your help! Thanks a lot ![]()
PS: ChatGPT recommended to change my system DatasetPool (system –> advanced settings –> storage) from my AppPool to my DataPool. Since I dont want to break things any further and I dont know whether this is safe to do, i did not follow up on this.