Active Directory Join Issues on SCALE

Joined
Jul 3, 2015
Messages
926
Hi All,

So Im trying to get a SCALE-23.10.1.3 system talking to my AD but struggling however CORE works great using the same config so not sure if this a bug or Im missing something.

The primary issue seems to be around DNS as if I leave the default 'Allow DNS Updates' checked I get the following error.

'No server IP addresses passed DNS validation. This may indicate an improperly configured reverse zone. Review middleware log files for details regarding errors encountered.

Im using the exact same details for name servers etc as I do in CORE which works perfect with this box checked. If I remove the 'Allow DNS Updates' after a bit of fighting I can get it to work but then it faults after 5-10mins.

Anyone have any thoughts or experience with this and why it would work perfect on CORE but fail on SCALE?

Thanks in advanced.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,632
Hi All,

So Im trying to get a SCALE-23.10.1.3 system talking to my AD but struggling however CORE works great using the same config so not sure if this a bug or Im missing something.

The primary issue seems to be around DNS as if I leave the default 'Allow DNS Updates' checked I get the following error.

'No server IP addresses passed DNS validation. This may indicate an improperly configured reverse zone. Review middleware log files for details regarding errors encountered.

Im using the exact same details for name servers etc as I do in CORE which works perfect with this box checked. If I remove the 'Allow DNS Updates' after a bit of fighting I can get it to work but then it faults after 5-10mins.

Anyone have any thoughts or experience with this and why it would work perfect on CORE but fail on SCALE?

Thanks in advanced.
If you have the comparison with CORE, then I think you can report-a-bug
 

bunker5

Cadet
Joined
Feb 9, 2024
Messages
1
Hi,

I have the same isuue with the same version. SCALE-23.10.1.3

I'm unable to connet truenas to my active directory. I have 2 different messages.

When I clieck save. nothing happend. If I force with tha ip domain name. it returns the no answer message. Truenas dns is pointing to the windows DC/DN already, resolve well when I try it art the prompt.


NoAnswer​

The DNS response does not contain an answer to the question: truenas.GPRDOM. IN A
remove_circle_outlineMore info...
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, 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 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/service/config_service.py", line 83, in update rv = await self.middleware._call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory.py", line 454, in do_update await self.common_validate(new, old, verrors) File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory.py", line 217, in common_validate if not (await self.middleware.call('activedirectory.netbiosname_is_ours', new['netbiosname'], new['domainname'], new['dns_timeout'])): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory_/dns.py", line 294, in netbiosname_is_ours dns_addresses = set([x['address'] for x in await self.middleware.call('dnsclient.forward_lookup', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/dns_client.py", line 182, in forward_lookup raise failuresPerHost[h][0] 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 120, in resolve (answer, done) = resolution.query_result(response, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dns/resolver.py", line 768, in query_result raise NoAnswer(response=answer.response) dns.resolver.NoAnswer: The DNS response does not contain an answer to the question: truenas.GPRDOM. IN A
 
Top