Details
-
Type:
Bug
-
Status: Unscreened (View Workflow)
-
Priority:
Low
-
Resolution: Unresolved
-
Affects Version/s: 12.0-U2, 12.0-U1.1
-
Fix Version/s: 12.0-U4
-
Component/s: Middleware, SMB
-
Labels:
-
Impact:Medium
-
Support Suite Ticket:
Description
Hello guys,
I experience probably the same bug that was described in NAS-109045.
At first I have created group named - oa (with "Samba Authentication" checked). And after that I was creating users one by one and adding them to the auxiliary group. Unfortunately time to time I got same error described in the issue. So I updated TrueNAS from 12.0-U-1.1 to 12.0-U2, but it did not help and I still often get the following error:
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 455, in create
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/account.py", line 316, in do_create
await self.__set_smbpasswd(data['username'])
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/account.py", line 857, in __set_smbpasswd
await self.middleware.call('smb.update_passdb_user', username)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1238, in call
return await self._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb_/passdb.py", line 112, 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 knen: Username not found!
Could you help me with that please?