rhevm-manage-domains: Failure while testing domain Details: Authentication Failed
Hi @all
We tried to add the rhev manager 3.0 to our IPA server according to the Evaluation and Identity Management Guide. We created the necessary SRV entries in the DNS and validated the entries with the dig tool.
We always get the error message "Failure while testing domain <ourdomain>. Details: Authentication Failed. Please verify the username and password." while invoking "rhevm-manage-domains -action=add -domain=<ourdomain> -user=admin -interactive". We also tried other username / password added to the IPA directory before but this didn't work either and didn't change the error message.
Could you please provide further information about the error message and its source?
Many thanks in advance
Responses
First thing do "kinit admin" after configuring /etc/krb5.conf and make sure that you can get a ticket with the password you provide. This proves the password provided is correct. If this is successful, I used to check the below details one by one.
Output of the below commands from RHEVM.
# nslookup <IP of RHEVM>
# nslookup <FQDN of RHEVM>
# nslookup <fqdn of IPA>
# nslookup <ip of IPA>
# nslookup -type=SRV _ldap._tcp
# nslookup -type=SRV _kerberos._tcp
# nslookup -type=SRV _kerberos._udp
If all the above are perfect, I used to take a tcpdump by running "tcpdump -s0 -w /tmp/ad.dump -i ethx" from a different root console while running rhevm-manage-domains and looking at the packet flow for DNS, Kerberos and ldap queries.
Wasn't this error in the output of or TGS-REP?
If you expand TGS-REQ and look under "Server Name" what do you see after "ldap/"? Is it the proper fqdn of the IPA server as per the output of the "hostname" command from IPA server and output from the below command from rhevm?
# nslookup <ip of IPA>
Are they same or different?