Hi,
We've been trying to integrate Nagios XI with LDAP and failed.
First of all when trying to set up the LDAP server, we used only dc=DOMAIN,dc=COM as was described.
When providing the user name and password - it simply failed to connect. The only way it connected was by writing the full DN in the user name field:
uid:XXX,OU=people,DC=Domain,DC=com
Below is out LDAP setup, is it possible that its different from the way Nagios files are using the filters? It looks like it connects incorrectly as it cannot see the users in the group.
dn: uid=user1,ou=People,dc=FF,dc=net
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
cn: user1
uid: user1
Issue with LDAP integration
Issue with LDAP integration
You do not have the required permissions to view the files attached to this post.
Last edited by reincarne on Tue Feb 06, 2018 10:14 am, edited 1 time in total.
Re: Issue with LDAP integration
It looks like you just need to add uid to the list of user objects as described in https://support.nagios.com/kb/article/a ... ation.html:
Give this a shot and let us know how it goes.
Code: Select all
$units = array('person', 'inetorgperson', 'organizationalperson', 'shadowaccount', 'posixaccount','uid');
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Issue with LDAP integration
It did the trick, however when I select a group, instead of pulling all the users nested in this group, it converts the group into a user.cdienger wrote:It looks like you just need to add uid to the list of user objects as described in https://support.nagios.com/kb/article/a ... ation.html:
Give this a shot and let us know how it goes.Code: Select all
$units = array('person', 'inetorgperson', 'organizationalperson', 'shadowaccount', 'posixaccount','uid');
how can it be fixed?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issue with LDAP integration
At present, the LDAP import does not create groups, it just imports individual users from the groups you have selected.reincarne wrote:It did the trick, however when I select a group, instead of pulling all the users nested in this group, it converts the group into a user.cdienger wrote:It looks like you just need to add uid to the list of user objects as described in https://support.nagios.com/kb/article/a ... ation.html:
Give this a shot and let us know how it goes.Code: Select all
$units = array('person', 'inetorgperson', 'organizationalperson', 'shadowaccount', 'posixaccount','uid');
how can it be fixed?
Re: Issue with LDAP integration
Hi,
Is there any solution or till nothing? No way to solve it?
Nagios cannot pull the group users and simply create single users? We don't need to create a hroup in Nagios we simply need the ability to list the users in a group and create the single users, thats all.
For me its sounds a very simple code.
Is there any solution or till nothing? No way to solve it?
Nagios cannot pull the group users and simply create single users? We don't need to create a hroup in Nagios we simply need the ability to list the users in a group and create the single users, thats all.
For me its sounds a very simple code.
-
kyang
Re: Issue with LDAP integration
As of now, there is no solution for this.
There have been feature requests, but nothing set in motion as of now. A feature request may or may not be implemented, and that is entirely up to the devs.
It's still the same as scottwilkerson has mentioned.At present, the LDAP import does not create groups, it just imports individual users from the groups you have selected.
There have been feature requests, but nothing set in motion as of now. A feature request may or may not be implemented, and that is entirely up to the devs.
Re: Issue with LDAP integration
This is the exact problem - Nagios does not see the groups. I want to import the users from these groups by Nagios doesn't see themkyang wrote:As of now, there is no solution for this.
It's still the same as scottwilkerson has mentioned.At present, the LDAP import does not create groups, it just imports individual users from the groups you have selected.
There have been feature requests, but nothing set in motion as of now. A feature request may or may not be implemented, and that is entirely up to the devs.
-
kyang
Re: Issue with LDAP integration
Thanks! It goes back to there is a feature request for this and I can't give any ETA or even if it will be implemented.This is the exact problem - Nagios does not see the groups. I want to import the users from these groups by Nagios doesn't see them
I get what you mean, as importing by groups would be nice. It has been mentioned a few times. I would wait until after XI 5.5 is released to see if there are updates on this.