raushan sharma
raushan sharma

Reputation: 103

realm: Couldn't join realm: Insufficient permissions to join the domain example.local

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

Answers (2)

Bret J
Bret J

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.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-automatic-forwarding-rules-reverse-dns.html

Upvotes: -1

DmitrySandalov
DmitrySandalov

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

Related Questions