Page 2 of 4

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Wed Oct 21, 2015 1:11 am
by krobertson71
Sorry for the delay.... First.. those are internal security scans that we do regularly for compliance.

Thanks to your other tool , Nagios Log Server, we see this across the network now. They were impressed I caught it so quickly. It was only on that day for about 1 hour. About once a month they do in-depth pen testing.

Second, do we have any update on this issue? Need to resolve this before I can move this to production.

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Wed Oct 21, 2015 1:30 pm
by tmcdonald
Glad to hear Logserver did its job, and even more glad to hear that you guys take security very seriously!

More to the point, what URL appears in the bottom of your browser when you hover over the link that leads to a blank page? If you hit it directly does it still appear as blank?

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Wed Oct 21, 2015 11:32 pm
by krobertson71
Here you go. Opened in a new tab and same thing... blank page. Can you give me the location on the server of where the page should be and I will take look.
ldapblank.png

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Thu Oct 22, 2015 11:36 am
by tmcdonald
Should be /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/manage.php

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Thu Oct 22, 2015 11:54 am
by krobertson71
Everything is there. I do see an install.sh script but I checked that out and all the changes it makes are in place. And before I forget, I have tried multiple browsers on a couple of different computers.

I have posted the directory listing to show permissions as well as the manage.php file to see if something might be wrong there. Had to rename manage.php to manage.txt to upload.
ldapblank02.png
manage.txt

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Thu Oct 22, 2015 1:00 pm
by krobertson71
I just tried loading the page with Firefox developer console open and GET request is receiving a 500 Internal Server error.

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Thu Oct 22, 2015 3:06 pm
by tmcdonald
What do you have for your Program URL and External URL options under Admin -> System Settings?

Are you using a proxy anywhere? What's in your error_log?

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Thu Oct 22, 2015 4:00 pm
by krobertson71
Internal was http://ipaddress/nagiosxi/

External is blank and always has been.

Changed internal to http://domainname/nagiosxi to no avail.

As mentioned earlier in this thread I performed a tail -f on the error.log and then click on the LDAP/AD Integration link several times. No error generated. I have also attached that log as well to an earlier post.

No proxy. This was an 'In App' upgrade from 2.7. This is not a new install.

Everything else seems to be working normally, just the loading of this particular page. I have tried to directly navigate to the full address with the same results.

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Thu Oct 22, 2015 5:19 pm
by tgriep
Do you have LDAP or AD set up on the system for the unix logins?

Re: LDAP / AD Integration option in Admin leads to blank pag

Posted: Fri Oct 23, 2015 7:57 am
by krobertson71
Yes we do and we also have local accounts which Nagios runs under.

Not sure how this would prevent the LDAP / AD configuration page from loading?