<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: LDAP powered by MySQL on RHEL5</title>
	<atom:link href="http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/feed/" rel="self" type="application/rss+xml" />
	<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 05 Dec 2011 01:11:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2-beta2-18055</generator>
	<item>
		<title>By: Brian</title>
		<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/comment-page-1/#comment-1213</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 05 Dec 2011 01:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://n8v.enteuxis.org/?p=133#comment-1213</guid>
		<description>&lt;p&gt;Good work. Thanks alot.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good work. Thanks alot.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nathan</title>
		<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/comment-page-1/#comment-1149</link>
		<dc:creator>nathan</dc:creator>
		<pubDate>Wed, 06 Apr 2011 18:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://n8v.enteuxis.org/?p=133#comment-1149</guid>
		<description>&lt;p&gt;Thanks, I&#039;ve found and fixed that link.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, I&#8217;ve found and fixed that link.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tárikly Távora</title>
		<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/comment-page-1/#comment-1148</link>
		<dc:creator>Tárikly Távora</dc:creator>
		<pubDate>Wed, 06 Apr 2011 17:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://n8v.enteuxis.org/?p=133#comment-1148</guid>
		<description>&lt;p&gt;Nice article, hope more people find it!&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Btw, this link is broken:
http://www.docunext.com/blog/2006/10/31/openldap-mysql-documentation/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice article, hope more people find it!</p>

<p>Regards,</p>

<p>Btw, this link is broken:
<a href="http://www.docunext.com/blog/2006/10/31/openldap-mysql-documentation/" rel="nofollow">http://www.docunext.com/blog/2006/10/31/openldap-mysql-documentation/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Talwar</title>
		<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/comment-page-1/#comment-1099</link>
		<dc:creator>Gaurav Talwar</dc:creator>
		<pubDate>Fri, 23 Jul 2010 01:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://n8v.enteuxis.org/?p=133#comment-1099</guid>
		<description>&lt;p&gt;Haven&#039;t done this yet.. But excellent documentation anyways!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Haven&#8217;t done this yet.. But excellent documentation anyways!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nathan</title>
		<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/comment-page-1/#comment-1038</link>
		<dc:creator>nathan</dc:creator>
		<pubDate>Tue, 30 Mar 2010 02:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://n8v.enteuxis.org/?p=133#comment-1038</guid>
		<description>&lt;p&gt;Oh, you should probably also edit the &lt;code&gt;chkconfig&lt;/code&gt; levels in the header to &lt;var&gt;/etc/init.d/ldap&lt;/var&gt; so that slapd starts &lt;em&gt;after&lt;/em&gt; mysql, and stops before it.&lt;/p&gt;

&lt;p&gt;This works in my case.
&lt;pre&gt;
# chkconfig: - 97 33
&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oh, you should probably also edit the <code>chkconfig</code> levels in the header to <var>/etc/init.d/ldap</var> so that slapd starts <em>after</em> mysql, and stops before it.</p>

<p>This works in my case.
<pre>
# chkconfig: - 97 33
</pre></p>]]></content:encoded>
	</item>
	<item>
		<title>By: nathan</title>
		<link>http://n8v.enteuxis.org/2009/02/ldap-powered-by-mysql-on-rhel5/comment-page-1/#comment-167</link>
		<dc:creator>nathan</dc:creator>
		<pubDate>Tue, 31 Mar 2009 00:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://n8v.enteuxis.org/?p=133#comment-167</guid>
		<description>&lt;p&gt;Logging for successes and failures:&lt;/p&gt;

&lt;p&gt;I only care about success and failure, not exhaustive debugging in the real log.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;add this line to /etc/syslog.conf, so that stuff will actually go to a log, /var/log/slapd.log:&lt;/p&gt;

&lt;pre lang=&quot;ini&quot;&gt;local4.*    /var/log/slapd.log&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Turn the log level to 256 in /etc/openldap/slapd.conf&lt;/p&gt;

&lt;pre  lang=&quot;ini&quot;&gt;loglevel        256&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Restart slapd and syslogd:&lt;/p&gt;
&lt;p&gt;&lt;pre lang=&quot;bash&quot;&gt;
sudo /sbin/service syslog restart
sudo /sbin/service ldap restart
&lt;/pre&gt;&lt;/p&gt;

&lt;/li&gt;

&lt;li&gt;Now you can grep and tail that file and stuff.  This line indicates an authentication success:
&lt;pre&gt;
Mar 30 16:15:49 fai0v1338 slapd[29584]: conn=0 op=0 RESULT tag=97 err=0 text=
&lt;/pre&gt;

&lt;p&gt;This line indicates an authentication failure:
&lt;pre&gt;
Mar 30 16:16:01 fai0v1338 slapd[29584]: conn=1 op=0 RESULT tag=97 &lt;em&gt;err=49&lt;/em&gt; text=
&lt;/pre&gt;&lt;/p&gt;

&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>Logging for successes and failures:</p>

<p>I only care about success and failure, not exhaustive debugging in the real log.</p>

<ol>
<li><p>add this line to /etc/syslog.conf, so that stuff will actually go to a log, /var/log/slapd.log:</p>


<div class="wp_syntax"><div class="code"><pre class="ini">local4.*    /var/log/slapd.log</pre></div></div>


</li>
<li><p>Turn the log level to 256 in /etc/openldap/slapd.conf</p>


<div class="wp_syntax"><div class="code"><pre class="ini">loglevel        <span class="nu0">256</span></pre></div></div>


</li>
<li><p>Restart slapd and syslogd:</p>
<p>

</p>
<div class="wp_syntax"><div class="code"><pre class="bash"><span class="kw2">sudo</span> <span class="sy0">/</span>sbin<span class="sy0">/</span>service syslog restart
<span class="kw2">sudo</span> <span class="sy0">/</span>sbin<span class="sy0">/</span>service ldap restart</pre></div></div>




</li>

<li>Now you can grep and tail that file and stuff.  This line indicates an authentication success:
<pre>
Mar 30 16:15:49 fai0v1338 slapd[29584]: conn=0 op=0 RESULT tag=97 err=0 text=
</pre>

<p>This line indicates an authentication failure:
<pre>
Mar 30 16:16:01 fai0v1338 slapd[29584]: conn=1 op=0 RESULT tag=97 <em>err=49</em> text=
</pre></p>

</li>
</ol>]]></content:encoded>
	</item>
</channel>
</rss>

