Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109529

[EFAULT] Failed to set NT password for knen: Username not found!

    XMLWordPrintable

    Details

      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?

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                awalker Andrew Walker
                Reporter:
                t3mp3ft t3mp3ft
                Watchers:
                Andrew Walker, Bonnie Follweiler, Rick Mesta, t3mp3ft, William Grzybowski
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated: