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

Selecting a certificate for LDAP

    XMLWordPrintable

    Details

    • Impact:
      Low

      Description

      Under LDAP if I select a certificate, I get the error freenas 'LDAPQuery' object has no attribute 'ad' with the following backtrace:

      ```
      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
          io_thread=False)
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1084, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.7/site-packages/middlewared/service.py", line 301, in update
          f'{self._config.namespace}.update', self, self.do_update, [data]
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1084, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/ldap.py", line 677, in do_update
          verrors.check()
        File "/usr/local/lib/python3.7/site-packages/middlewared/service_exception.py", line 62, in check
          raise self
      middlewared.service_exception.ValidationErrors: [EINVAL] ldap_update: 'LDAPQuery' object has no attribute 'ad'
      ```

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                AndreasZiegler Andreas Ziegler
                Watchers:
                Andreas Ziegler, Andrew Walker, Bug Clerk
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: