5.4.0 upgrade broke LDAP auth
Posted: Mon Jan 23, 2017 8:58 pm
I was running Nagios XI 5.2.9 and had it setup to do LDAP authentication. Then I upgraded Nagios to 5.4.0 and the LDAP auth broke. Downgraded (restored from pre-upgrade backup) and it works again. So... the upgrade is definitely the issue.
My LDAP setting are as follows:
Base DN: dc=xxx,dc=edu
LDAP host: ldap.xxx.edu
LDAP port: 389
Security: TLS
The error I'm getting in the LDAP logs is:
[23/Jan/2017:20:02:05 -0500] CONNECT conn=17000017 from=xxx.xxx.xxx.xxx:30381 to=xxx.xxx.xxx.xxx::1389 protocol=LDAP
[23/Jan/2017:20:02:05 -0500] EXTENDED REQ conn=17000017 op=0 msgID=1 name="StartTLS" oid="1.3.6.1.4.1.1466.20037"
[23/Jan/2017:20:02:05 -0500] EXTENDED RES conn=17000017 op=0 msgID=1 name="StartTLS" oid="1.3.6.1.4.1.1466.20037" result=0 etime=0
[23/Jan/2017:20:02:05 -0500] DISCONNECT conn=17000017 reason="I/O Error" msg="Received fatal alert: unknown_ca"
Even though I had LDAP auth working in Nagios without any certificates before the 5.4.0 upgrade, I went ahead and added the cert being served by my ldap server, as well as the intermediate and root CA certs into the "Nagios LDAP/AD Integration" page. That didn't help at all.
My LDAP server is OUD. Not sure what version. No, I do not have the option of using openLDAP.
My LDAP setting are as follows:
Base DN: dc=xxx,dc=edu
LDAP host: ldap.xxx.edu
LDAP port: 389
Security: TLS
The error I'm getting in the LDAP logs is:
[23/Jan/2017:20:02:05 -0500] CONNECT conn=17000017 from=xxx.xxx.xxx.xxx:30381 to=xxx.xxx.xxx.xxx::1389 protocol=LDAP
[23/Jan/2017:20:02:05 -0500] EXTENDED REQ conn=17000017 op=0 msgID=1 name="StartTLS" oid="1.3.6.1.4.1.1466.20037"
[23/Jan/2017:20:02:05 -0500] EXTENDED RES conn=17000017 op=0 msgID=1 name="StartTLS" oid="1.3.6.1.4.1.1466.20037" result=0 etime=0
[23/Jan/2017:20:02:05 -0500] DISCONNECT conn=17000017 reason="I/O Error" msg="Received fatal alert: unknown_ca"
Even though I had LDAP auth working in Nagios without any certificates before the 5.4.0 upgrade, I went ahead and added the cert being served by my ldap server, as well as the intermediate and root CA certs into the "Nagios LDAP/AD Integration" page. That didn't help at all.
My LDAP server is OUD. Not sure what version. No, I do not have the option of using openLDAP.