smb NT_STATUS_NO_SUCH_USER

TrueNAS-13.1-MASTER-202402240814
How to fix it?
I have the following problem with SMB. I have users from six months ago and their logins work in accessing disk resources via SMB. For say two months now, I’ve had a problem with newly created users having access. I create a user today, assign it to a group I already had. When I enter ƒ192.168.100.4 on the target computer and enter the user and password I don’t get access to the resources, I see the user and password requests over and over again.
The user is definitely there and I have definitely given it a password, user ede

midclt call smb.status AUTH_LOG | jq
wyświetla midclt call smb.status AUTH_LOG | jq{
“timestamp”: “2024-09-06T18:10:27.399904+0200”,
“type”: “Authentication”,
“Authentication”: {
“version”: {
“major”: 1,
“minor”: 2
},
“eventId”: 4625,
“logonId”: “0”,
“logonType”: 3,
“status”: “NT_STATUS_NO_SUCH_USER”,
“localAddress”: “ipv4:192.168.100.4:445”,
“remoteAddress”: “ipv4:192.168.1.62:51142”,
“serviceDescription”: “SMB2”,
“authDescription”: null,
“clientDomain”: “ERIKDEUTSCHGRAF”,
“clientAccount”: “ede”,
“workstation”: “ERIKDEUTSCHGRAF”,
“becameAccount”: null,
“becameDomain”: null,
“becameSid”: null,
“mappedAccount”: “ede”,
“mappedDomain”: “ERIKDEUTSCHGRAF”,
“netlogonComputer”: null,
“netlogonTrustAccount”: null,
“netlogonNegotiateFlags”: “0x00000000”,
“netlogonSecureChannelType”: 0,
“netlogonTrustAccountSid”: null,
“passwordType”: “NTLMv2”,
“duration”: 614
},
“timestamp_tval”: {
“tv_sec”: 1725639027,
“tv_usec”: 399904
}
}
]

pdbedit -L returns group:4294967295:Eryk Deutsch
midclt call smb.synchronize_passdb -job returns
Status: (none)
Total Progress: [________________________________________] 0.00%
[EFAULT] Failed to set NT password for ede: 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 1283, in call
return await self._call(
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1240, 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_passdb_user
raise CallError(f’Failed to set NT password for {username}: {setntpass.stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to set NT password for ede: Username not found!

I opened a new group and made a new smb resource, the effect is the same. So I conclude that it is not a problem with the group or the resource in question.

Deletes via www user ede and
midclt call smb.synchronize_passdb -job
Status: (none)
Total Progress: [########################################] 100.00%
null

next i add ede and new gruopu komandasi
Status: (none)
Total Progress: [________________________________________] 0.00%
[EFAULT] Failed to set NT password for ede: 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 1283, in call
return await self._call(
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1240, 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_passdb_user
raise CallError(f’Failed to set NT password for {username}: {setntpass.stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to set NT password for ede: Username not found!