kyle_macaulay
Cadet
- Joined
- Dec 9, 2022
- Messages
- 2
Hello everyone,
@anodos you appear to be the SME on active directory so figured I'd request your assistance if you have the time.
I've had my truenas system successfully joined to my domain for quite some time. Out of nowhere, I'm having an issue I can't seem to wrap my head around. I logged in and noticed I was no longer connected to my domain so I attempted to reconnect the domain and I constantly get answers along the lines of below:
Below is what I have gathered in my request for assistance on this issue please let me know what else i may need.
I have found I can force it to start and go to a joining state by running midclt call activedirectory.start
@anodos you appear to be the SME on active directory so figured I'd request your assistance if you have the time.
I've had my truenas system successfully joined to my domain for quite some time. Out of nowhere, I'm having an issue I can't seem to wrap my head around. I logged in and noticed I was no longer connected to my domain so I attempted to reconnect the domain and I constantly get answers along the lines of below:
Code:
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 196, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/service.py", line 576, in update rv = await self.middleware._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory.py", line 434, in do_update await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory_/dns.py", line 211, in check_nameservers servers = await self.middleware.call('dnsclient.forward_lookup', { File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/dns_client.py", line 96, in forward_lookup results = await asyncio.gather(*[ File "/usr/lib/python3/dist-packages/middlewared/plugins/dns_client.py", line 40, in resolve_name ans = await r.resolve( File "/usr/lib/python3/dist-packages/dns/asyncresolver.py", line 134, in resolve (answer, done) = resolution.query_result(response, None) File "/usr/lib/python3/dist-packages/dns/resolver.py", line 641, in query_result raise NoAnswer(response=answer.response) dns.resolver.NoAnswer: The DNS response does not contain an answer to the question: _gc._tcp.MACAULAY.COM. IN SRV
Below is what I have gathered in my request for assistance on this issue please let me know what else i may need.
Code:
root@Truenas[~]# host -t srv _ldap._tcp.macaulay.com _ldap._tcp.macaulay.com has SRV record 0 100 389 domaincont.macaulay.com.
Code:
root@Truenas[~]# net ads lookup -S macaulay.com Information for Domain Controller: 192.168.0.76 Response Type: LOGON_SAM_LOGON_RESPONSE_EX GUID: 41234c7a-68a6-4a11-9699-17081b5e6e37 Flags: Is a PDC: yes Is a GC of the forest: yes Is an LDAP server: yes Supports DS: yes Is running a KDC: yes Is running time services: yes Is the closest DC: yes Is writable: yes Has a hardware clock: yes Is a non-domain NC serviced by LDAP server: no Is NT6 DC that has some secrets: no Is NT6 DC that has all secrets: yes Runs Active Directory Web Services: yes Runs on Windows 2012 or later: yes Forest: macaulay.com Domain: macaulay.com Domain Controller: DomainCont.macaulay.com Pre-Win2k Domain: MACAULAY Pre-Win2k Hostname: DOMAINCONT Server Site Name: Default-First-Site-Name Client Site Name: Default-First-Site-Name NT Version: 5 LMNT Token: ffff LM20 Token: ffff
I have found I can force it to start and go to a joining state by running midclt call activedirectory.start