LDAP error when trying to sign into ALM

  • Questions
  • LDAP error when trying to sign into ALM
Question ID: 106221
1
0

Getting a failure to login to ALM server for all users today. Looking at the logs I see the error is CtdException: Invalid context key in regards to our LDAP server.

I can ping the LDAP server so unsure of the issue.

Marked as spam
Posted by (Questions: 56, Answers: 1)
Asked on July 29, 2015 2:44 pm
6 views
Answers (1)
1
Private answer

Hello,

HP has a few articles on this issue. KM00368094 and KM899329 are 2 such articles with the same recommend fix of flushing out the DNS cache on the QC/ALM server.
To fix the issue, make sure the networking between QC server and LDAP server is fine, then flush the DNS cache on QC server.

To flush the DNS cache on QC server (please consult System administrator):

If QC server is on Windows, use the ''ipconfig /flushdns'' command and then perform a system restart.

If QC server is on Linux, restart the nscd daemon- type ''/etc/rc.d/init.d/nscd restart'' or ''/etc/init.d/nscd restart''.

An also temporary workaround suggested is a switch from LDAP to QC authentication based on if your LDAP server is having an issue.

Check out this other Eye on Testing article for some info on that: http://eyeontesting.com/questions/5607/getting-an-invalid-context-key-on-ldap-login-for-a.html

Marked as spam
Posted by (Questions: 1, Answers: 116)
Answered on July 29, 2015 2:46 pm
DNS clear seemed to do the job. So far users can connect without error.
( at July 29, 2015 3:37 pm)