Joining Active Directory Error

bartqn4

Dabbler
Joined
Dec 9, 2021
Messages
10
Hi everyone,

Im kinda new to TrueNAS and I'm working on a small proof of concept for school.

I'm stuck with one problem: When I'm trying to join my domain it gives this error:
1639072925931.png

I can ping the domain and the domain controller.

Anyone knows a fix?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What's the full version? 12.0 doesn't tell us that much.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
CORE 12.0
Is that the full version name?
What does the version show in System Information widget in the Dashboard? We're looking for something like 12.0-U7.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
For the domain account name, try just the account without the domain in front. It's probably prepending the domain in front of your domain\account, so of course there won't be an account matching domain\domain\account.
 

bartqn4

Dabbler
Joined
Dec 9, 2021
Messages
10
For the domain account name, try just the account without the domain in front. It's probably prepending the domain in front of your domain\account, so of course there won't be an account matching domain\domain\account.
I tried that already, didn't work
 

bartqn4

Dabbler
Joined
Dec 9, 2021
Messages
10
update to U7, there is a critical winbindd security vulnerability in U5, otherwise Samuel Tai is right. Later versions also have better error reporting.
Did this, same error. Should be something with the domain account then right?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are you leaving the \ in front of the account?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
How is your domain set up? This smells like password authentication for Administrator has been disabled.

Also, have you looked at the manual? https://www.truenas.com/docs/core/directoryservices/activedirectory/

You've already stated DNS is working. How about NTP? Are you sync'ed to the DC? Are you using the NetBIOS domain or the DNS domain for your forest?
 

bartqn4

Dabbler
Joined
Dec 9, 2021
Messages
10
How is your domain set up? This smells like password authentication for Administrator has been disabled.

Also, have you looked at the manual? https://www.truenas.com/docs/core/directoryservices/activedirectory/

You've already stated DNS is working. How about NTP? Are you sync'ed to the DC? Are you using the NetBIOS domain or the DNS domain for your forest?
Yes, NTP is enabled. I think I'm using the DNS domain.
How do I check password authentication option?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
The particular place you're failing at is when we try to kinit to get a kerberos ticket. You can try to kinit from CLI by running command `kinit administrator@fqdn`. It might give more useful information.
 

bartqn4

Dabbler
Joined
Dec 9, 2021
Messages
10
The particular place you're failing at is when we try to kinit to get a kerberos ticket. You can try to kinit from CLI by running command `kinit administrator@fqdn`. It might give more useful information.
1639158951576.png

I haven't set up Kerberos or anything tho, should I do that? Kinda new to this stuff.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
AD requires Kerberos. No wonder it's not working. You're just trying to join an ordinary domain.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
AD requires Kerberos. No wonder it's not working. You're just trying to join an ordinary domain.

In theory if you have properly-functioning DNS, the OS kerberos client should allow you to kinit if you specify the FQDN. This probably indicates a DNS issue. Perhaps relevant SRV records for kerberos are not able to be queried through the configured nameservers.
 
Top