Hi All, I've been working on to getting ldap Acitve Directory working on our nabox installation. But I'm running into a few little problems. (outputs are anonimized)
First off, we have setup dns in the network config. But when logged in into the cli and if I run dig <domaincontroller> I get nothing in return.
;; QUESTION SECTION: ;<domaincontroller>. IN A
I can however ping the domaincontroller. And also connect to the port 53 (nc -zv ipaddr 53)
The Grafana ldap config is reporting that is unable to lookup the domain controller.
Connection error domaincontroller:636 dial tcp: lookup domaincontroller: Try again
As a test I've added the domain controller to /etc/hosts just to see if grafana is picking up the hostname with ip. And it does. But this brings me to the second issue;
Grafana ldap config now show a different message.
Connection error domaincontroller:636 tls: failed to verify certificate: x509: certificate signed by unknown authority
It is true that we have our signing authority running.
I've also tried filling in the IP address of the domaincontroller in the ldap config. But that fails as well on the message that the IP address is not added to the certificate's SAN. Which is to expected.
My main questions, who can we get dns working properly so I can remove the /etc/hosts entry.
And what can we do about the certificate authority message.
Any help is appreciated.
M.