Page 1 of 3
AD Integration
Posted: Wed Mar 26, 2014 3:10 pm
by Sbergonzi
I've gone through the following doc and AD setup isn't working, NagiosXI is still using the ID created in the environment. Is there a log to check to see what errors may be occurring?
assets.nagios.com/downloads/nagiosxi/docs/Authenticating_with_Active_Directory_in_Nagios_XI.pdf
Re: AD Integration
Posted: Wed Mar 26, 2014 4:40 pm
by scottwilkerson
You will still need to create users in Nagios XI for authorization, AD component is only used for user/password authentication, using XI authentication as a backup.
Re: AD Integration
Posted: Wed Mar 26, 2014 5:06 pm
by Sbergonzi
I did create the same user ID in NagiosXI. As the password is different between AD and NagiosXI, the system is authenticating using the NagiosXI setup and I'm trying to see where I went wrong.
Re: AD Integration
Posted: Thu Mar 27, 2014 1:34 pm
by lmiltchev
I did create the same user ID in NagiosXI.
Did you verify that the username in the XI is identical to the one in the AD (spelling, case, etc.)? What is the version of Nagios XI that you are currently using?
Re: AD Integration
Posted: Thu Mar 27, 2014 2:17 pm
by Sbergonzi
Version: 2012R2.9
Yes in regards to the spelling and such. I also tried to add a user with upper case as a username and Nagios is always converting it to lower case so I'm not sure how case sensitivity comes into play.
My idea it has to do with Account Suffix or Base DN. I'm using a similar configuration for a Tomcat/AD integration and was trying to move that into this configuration.
Re: AD Integration
Posted: Fri Mar 28, 2014 11:38 am
by tmcdonald
Are you matching both the username
and the full name? From the documentation:
The Username and Name attributes must be the same in case and spelling as Active Directory
Re: AD Integration
Posted: Mon Mar 31, 2014 11:32 am
by Sbergonzi
yes, both match.
Re: AD Integration
Posted: Mon Mar 31, 2014 11:42 am
by abrist
Just to verify, you are trying to authenticate with an AD server (not ldap)?
Re: AD Integration
Posted: Mon Mar 31, 2014 3:34 pm
by Sbergonzi
Yes, using AD. Is the port required after the server name? x.xx.com:nnn? Also our user names don't have an account suffix, is that needed?
Re: AD Integration
Posted: Mon Mar 31, 2014 4:51 pm
by sreinhardt
As for the case question, case of usernames is always set to lower when authenticating in XI now. Additionally the way AD auth works, is that it attempts to authenticate with AD, if that fails, it will check the password against the internal XI postgresql db and see if the user is allowed there. So in the case that the AD and XI passwords are set, it is fully expected behavior that either or both will authenticate a user and allow access. This is why with a newer version, no password hash is set, or something along those lines(I honestly forget how it's done) but basically the XI hash does not exist and forces AD auth only if the user was created via the AD component. However this is not yet publicly available.
The port is not required, unless it is a non-standard port. Additional account suffixes are not needed to my knowledge. If you could give a more complete idea of what you are looking to do and what does not seem to be happening, that would likely be very helpful.