Page 1 of 1

Nagios XI e-directory authentication

Posted: Thu Nov 02, 2017 10:51 am
by markmerchant
Has any gotten Nagios XI to authenticate users against e-directory? Is OpenLDAP
a possiblility?

A quick look into the code suggested that only AD style LDAP integration works.

Code: Select all

find . -type f -exec grep -iH "objectclass" '{}' \;
	./nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php:      \
	$sr = @ldap_read($this->ldapConnection, '', 'objectClass=*', $attributes);
Keywords: edir edirectory e-directory non-ad ldap novell openldap sun one iplanet ned

Re: Nagios XI e-directory authentication

Posted: Thu Nov 02, 2017 4:02 pm
by kyang
Have you tried it from Nagios XI?

Here is an older form post that said they are using eDirectory as the (primary ldap).

https://support.nagios.com/forum/viewto ... f=6&t=6598

Try to authenticate it and see, because I can't say for sure. I don't have an eDirectory to test with.

Re: Nagios XI e-directory authentication

Posted: Fri Nov 03, 2017 6:10 am
by tacolover101
markmerchant wrote:Has any gotten Nagios XI to authenticate users against e-directory? Is OpenLDAP
a possiblility?

A quick look into the code suggested that only AD style LDAP integration works.

Code: Select all

find . -type f -exec grep -iH "objectclass" '{}' \;
	./nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php:      \
	$sr = @ldap_read($this->ldapConnection, '', 'objectClass=*', $attributes);
Keywords: edir edirectory e-directory non-ad ldap novell openldap sun one iplanet ned
if you can construct the proper LDAP arguments needed to pass, you should be able to custom modify this to work with your setup. keep in mind, any updates will break this.

Re: Nagios XI e-directory authentication

Posted: Fri Nov 03, 2017 12:58 pm
by dwasswa
Thanks @ tacolover101,

Have you tried what @ tacolover101 and @kyang suggested?

Also, have you looked at this kb article...https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Nagios XI e-directory authentication

Posted: Tue Nov 28, 2017 2:39 pm
by kyang
Hey markmerchant, just checking in to see if your issue is resolved?

Are we okay to close this thread? Or did you have any more questions?

Re: Nagios XI e-directory authentication

Posted: Thu Nov 30, 2017 4:16 pm
by markmerchant
Switched authentication to the AD server, did not want to do any customization.

Re: Nagios XI e-directory authentication

Posted: Thu Nov 30, 2017 4:36 pm
by kyang
Sounds good, are we okay to lock up this thread?

Or did you have any more questions?