unable to view all users ID after AD intigration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

unable to view all users ID after AD intigration

Post by ganeshkagde »

Hi Team,

we have successfully integrate with AD but unable to view all users on single page. hence we are unable to give access of particular users.
Kindly help me on this.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: unable to view all users ID after AD intigration

Post by cdienger »

You may be running into the issue described in https://support.nagios.com/kb/article/a ... n-600.html under the "Not All Active Directory Users Are Listed" section. Please review this for a solution.

I would also point out that the directory browser isn't technically needed to add a user from AD or LDAP. If you know the users information, you can simply add them under Admin > Users > Manage Users, select the appropriate auth type from the drop down, fill in the required info, and be good to go.

Another option would be to use the API to add users. I just posted details on this today at https://support.nagios.com/forum/viewto ... ilit=+ldap.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

Re: unable to view all users ID after AD intigration

Post by ganeshkagde »

Hi,

i am not able to see "viewtopic.php?f=16&t=48605&hilit=+ldap." this link, as i am getting below message.

"You are not authorised to read this forum."
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: unable to view all users ID after AD intigration

Post by tmcdonald »

I've shared the contents of his post here:
cdienger wrote:This can be done with some additional parameters sent to the system/user endpoint. Example:

curl -XPOST "https://nagios/nagiosxi/api/v1/system/u ... >&pretty=1" -d "username=adusertest&password=test&name=Alice%20Testuser&email=alice@acme.local&auth_level=admin&auth_type=ad&ldap_ad_dn=CN=Alice,CN=Users,DC=acme,DC=local&ldap_ad_username=alice&auth_server_id=auth_server_id" --insecure

The auth_server_id can be found by running:

echo "select * from xi_options where name='ldap_ad_integration_component_servers';" | mysql -uroot -pnagiosxi -Dnagiosxi

and running the value returned through a tool like https://www.base64decode.org/ .

The usual API system/user endpoint parameters can be found under Help > REST API Docs > System Reference of the XI interface.
Former Nagios employee
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

Re: unable to view all users ID after AD intigration

Post by ganeshkagde »

Hi Team,

Thanks for your help and support, you may now proceed to close this case.
kyang

Re: unable to view all users ID after AD intigration

Post by kyang »

Sounds good!

Thanks for using the Nagios Support Forums!

Feel free to create a new thread if you have any more issues.

Have a great day!
Locked