Platform: TRUENAS-MINI-3.0-X+
Version:Dragonfish-24.04.1.1
Please bear with me, I am new to TrueNAS
First I installed FreeNAS and later upgraded to TrueNAS Core, then TrueNAS Scale.
I (re)recrated the datapool and datasets in the most easy fashion, using just the default parameters, The datasets were created with presets SMB and automatic SMB share creation.
Now the issue that I am facing is this:
I am unable to create SMB ACLs for any local user but the first user I created (likely before any upgrades).
When I try to create an ACL for another local user I see them in the list (as they have SAMBA authentication enabled), I can select them and select the rights I want, but when I click save, I get this error:
[EINVAL] sharing_smb_setacl.share_acl.1.ae_who_id: User or group does must exist and be an SMB account.
Under “more info” it says:
Error: Traceback (most recent call last): File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 198, in call_method result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1466, in call_with_audit result = await self._call(method, serviceobj, methodobj, params, app=app, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1417, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 187, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 47, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/middlewared/plugins/smb.py”, line 1828, in setacl verrors.check() File “/usr/lib/python3/dist-packages/middlewared/service_exception.py”, line 70, in check raise self middlewared.service_exception.ValidationErrors: [EINVAL] sharing_smb_setacl.share_acl.1.ae_who_id: User or group does must exist and be an SMB account.
What should have been easy and straightfowrard - creating datasets and SMB shares, then defing access rights - has become a mess.
Could anybody point me in the right direction for a solution?
Thanks for any help.