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

Cannot join Active Directory in Truenas Core 12.0 U2.1

    XMLWordPrintable

Details

    Description

      Hi Team,

       

      we are trying to evaluate the AD/Ldap integration function of TrueNAS to see if TrueNAS products could replace our production services. but I have some issue with it.

       

      from the UI it shows, it successfully joined the Domain, there is a button Leave Domain appear. but switching the UI out and back in shows no leave domain button.

       

      many thanks

       

      Kind Regards

       

       

      In CLI,  

      "midclt call activedirectory.get_state" gives:

      FAULTED

       

      "midclt call cache.pop DS_STATE" gives:

      {"activedirectory": "FAULTED", "ldap": "HEALTHY", "nis": "DISABLED"}

       

      "midclt call activedirectory.check_clockskew" gives:

      {"pdc": "***.edu.au", "timestamp": "2021-03-26 20:48:54.292424", "clockskew": "0:00:06.256285"}

       

      "midclt call activedirectory.started" gives:

      [EFAULT] failed to call wbcPingDc: Domain is not trusted or cannot be found.
      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/schema.py", line 973, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/activedirectory.py", line 919, in started
          raise CallError(wberr, err)
      middlewared.service_exception.CallError: [EFAULT] failed to call wbcPingDc: Domain is not trusted or cannot be found.

       

      Really wish this issue could be resoved to show to our stakeholders

      We are from GMT+11 Sydney, Australia time. We could make teamview session if needed. 

       

       

       

       

       

       

      Attachments

        1. ad1.png
          45 kB
          Frank Li
        2. debug-truenas-20210326223236.tgz
          495 kB
          Frank Li

        Attachments

          JEditor

            Activity

              People

                releng Triage Team
                kyakyunsw Frank Li
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: