N5 AD integreation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

N5 AD integreation

Post by benhank »

Hello guys,
I have a question about the AD integration. I think the best way to phrase it is:
We are migration from the "old active directory" environment to AD 2012.
The document

Code: Select all

https://assets.nagios.com/downloads/nagiosxi/docs/Authenticating-and-Importing-Users-with-Active-Directory-in-Nagios-XI.pdf
Shows how to set up LDAP, and shows how to set up AD2012. I want to know if I can use both technologies at the same time.
That way no matter which environment a user is in he can still loginto Nagios with his net creds.


I hope this makes sense.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: N5 AD integreation

Post by benhank »

The question was that dumb eh? lol!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: N5 AD integreation

Post by rkennedy »

I'm a bit confused by your question, but I'll try to answer it.

The component should support multiple AD servers at once, but if I'm understanding what you want to do is have one user linked to both servers. That's not going to be possible since you'll need to select which AD server XI is going to verify credentials against.

You might be able to 'fool' the system by using some sort of DNS in a round robin state, but this would only work 50% of the time because it may auth to the opposing server.

If I misunderstood your question, could you rephrase it?
Former Nagios Employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: N5 AD integreation

Post by benhank »

You answered it,I phrased it wrong, and it came out backwards...

User Bob .D Joker has an account in our old soon to be phased out forest, but not the new.
I add all of the info into nagios and he can now log into nagios with his net creds.
User Flim Flam Sham (no relation) has an account on the new 2012 AD environment but not the old.
I add the new AD environment to Nagios and now Flim and Joker can log in as well correct?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: N5 AD integreation

Post by rkennedy »

Yes, Flim and Joker will both be able to login. You may need to adjust the AD server that Joker is logging into though since he was already on the system previously.
Former Nagios Employee
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: N5 AD integreation

Post by ssax »

Unfortunately that won't work. Each user is associated with an AD authentication server (which can contain multiple AD servers), you still need to specify the AD server if you added a second authentication server so it would be a manual process. If you just added the new AD server to your current config then if it queries the first domain controller and doesn't find a user it will not query the next (because it got a response from the server), if that server was down that's a different story.

Let me know if you have any questions.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: N5 AD integreation

Post by ssax »

In addition to that, it doesn't check one authentication method first (AD) and then check the others (LDAP) if it doesn't find the user in the first one.

This really is difficult to work properly. :)
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: N5 AD integreation

Post by benhank »

question answered fellas Thanks and I hope the nagios nteam has a good weekend! Lock it up
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: N5 AD integreation

Post by mcapra »

Closing this
Former Nagios employee
https://www.mcapra.com/
Locked