<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technical Side of E-Business Juncture &#187; Apache</title>
	<atom:link href="http://tech.ebusinessjuncture.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.ebusinessjuncture.com</link>
	<description>Tech Tips</description>
	<lastBuildDate>Mon, 26 Sep 2011 01:19:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache: setting up ldap for authentication for Nagios</title>
		<link>http://tech.ebusinessjuncture.com/2009/12/apache-setting-up-ldap-for-authentication-for-nagios/</link>
		<comments>http://tech.ebusinessjuncture.com/2009/12/apache-setting-up-ldap-for-authentication-for-nagios/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 03:05:02 +0000</pubDate>
		<dc:creator>Mike Kniaziewicz</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[naigos]]></category>

		<guid isPermaLink="false">http://tech.ebusinessjuncture.com/?p=260</guid>
		<description><![CDATA[We already have LDAP running in my environment. So, with SLES 10 SP3 and Apache here is a quick way to get your web based Nagios application using your LDAP system. Set up your nagios.conf file under /etc/apache2/conf.d Add the following lines to the nagios share &#60;Directory&#62; AuthName LDAP_Auth_Test AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPBindDN uid=your [...]]]></description>
			<content:encoded><![CDATA[<p>We already have LDAP running in my environment. So, with SLES 10 SP3 and Apache here is a quick way to get your web based Nagios application using your LDAP system.</p>
<ol>
<li>Set up your nagios.conf file under /etc/apache2/conf.d</li>
<li>Add the following lines to the nagios share &lt;Directory&gt;
<pre>   AuthName   LDAP_Auth_Test
   AuthBasicProvider ldap
   AuthzLDAPAuthoritative off
   AuthLDAPBindDN uid=your user name,dc=your domain,dc=com
   AuthLDAPBindPassword  password for your user name
   AuthLDAPURL ldap://ldap.com:389/dc=your value
,dc=your value,dc=com?uid?
</pre>
</li>
<li>Change the permissions on the nagios.conf file to 400 with the Apache user as the owner. The reason is for security and the only user that needs to read the file is Apache. Don&#8217;t worry, root will be able to modify the file.</li>
<li>Vi /etc/sysconfig/apache2 and add the following to the APACHE_MODULES section: authnz_ldap ldap</li>
<li>Start Apache and you are finished. When someone connects to the application, they will receive the authentication text box, so they can enter their userid and password before entering the application.</li>
</ol>
<p>NOTE: Users are only authenticating against the application. Once they leave the web application, they will be required to authenticate against your proxy server. That is considering you are running Nagios internally with apache on the same host.</p>
<p>Enjoy and I hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.ebusinessjuncture.com/2009/12/apache-setting-up-ldap-for-authentication-for-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

