Error: [EFAULT] Failed to set NT password for <username>: Username not found!

Muteki

Cadet
Joined
Aug 16, 2023
Messages
3
Hi all,

I'm a new user to TrueNAS Core and have set up my Storage Pool, Datasets, SMB Share and ACLs as per this video.

However when I try to connect to the share I get "The specificed network password is not correct".
Version: TrueNAS CORE Version: TrueNAS-13.1-MASTER


I've tried:

Configuring SMB service for Enable SMB1 support
Configuring SMB service for NTLMv1 Auth
Enabling SMBv1 in Windows
Enabled NTLMv2 in Windows

I also noticed the following error:

smb.synchronize_passdb0.00%

Status: FAILED
Start Time: 2023-08-17 21:45:11
Finished Time: 2023-08-17 21:45:11
Error: [EFAULT] Failed to set NT password for gaz: Username not found!

and tried the following steps listed in this thread:
rm /var/db/system/samba4/private/passdb.tdb midclt call smb.synchronize_passdb -job
but still having the same issue even running this command with or without SMB service enabled:

middlewared.service_exception.CallError: [EFAULT] Failed to set NT password forgaz: Username not found!

# rm /var/db/system/samba4/private/passdb.tdb # midclt call smb.synchronize_passdb -job Status: (none) Total Progress: [________________________________________] 0.00% [EFAULT] Failed to set NT password for gaz: Username not found! Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run await self.future File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body rv = await self.method(*([self] + args)) File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/smb_/passdb.py", line 187, in synchronize_passdb await self.middleware.call('smb.update_passdb_user', u) File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1279,in call return await self._call( File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1236,in _call return await methodobj(*prepared_call.args) File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/smb_/passdb.py", line 105, in update_pass

Any thoughts here, not sure what to do next!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Version: TrueNAS CORE Version: TrueNAS-13.1-MASTER
Using a nightly build isn't exactly a smart way to get to know a new system.

All kinds of things can be broken without notice in the nightlies.

If you want to reinstall with 13.0-U5 and come back if you still have some problems, that would be the right way to go about it.
 

Muteki

Cadet
Joined
Aug 16, 2023
Messages
3
Noted, I actually inherited this 2nd hand. I have the new image down and will start from scratch.
 

Muteki

Cadet
Joined
Aug 16, 2023
Messages
3
@sretalla Yep, clean install, working fine - obvious step is obvious! Thanks so much :)

Running TrueNAS-13.0-U5.3 if anyone runs into a similar issue using a nightly.
 

Attachments

  • 1692365404973.png
    1692365404973.png
    2.7 KB · Views: 61
Top