Reputation: 103
I was able to join all other centos linux instance but not this one even though I have AD admin access, still I am getting this error
Failed to join domain: Failed to set account flags for machine account (NT_STATUS_ACCESS_DENIED)
! Insufficient permissions to join the domain example.local realm: Couldn't join realm: Insufficient permissions to join the domain example.local
sudo kinit -V [email protected] ||| Successfully Authenticated to krb5
sudo realm join -U [email protected] example.LOCAL | Refer to the error mentioned above on the post
Upvotes: 1
Views: 22361
Reputation: 1
is this in AWS? if so here is the real solution.
The isuse is amazon is doing rdns for you .. you need to disable that.
disable Autodefined rules for reverse DNS resolution in route53. That removes the compute.internal from being retuned. Its that rdns thats coming back thats causing the issue you are having.
Upvotes: -1
Reputation: 4099
Adding rdns=false
under the [libdefaults]
section in the /etc/krb5.conf
file fixed the issue for me.
Example:
[libdefaults]
default_realm = DOMAIN.COM
rdns = false
Upvotes: 6