<?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: debugging Active Directory LDAP authentication in Redmine</title>
	<atom:link href="http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/</link>
	<description>Mac, iOS, DevOps, and daily life in Seattle</description>
	<lastBuildDate>Fri, 25 Nov 2011 06:40:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Arlo Carreon</title>
		<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/comment-page-1/#comment-138210</link>
		<dc:creator>Arlo Carreon</dc:creator>
		<pubDate>Tue, 12 Jul 2011 21:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rhonabwy.com/wp/?p=914#comment-138210</guid>
		<description>Yo thanks!!! I actually had the exact same problem you had, followed the instructions and works like a charm now.  Thanks a million.  I sent a tip your way. [tiptheweb.org]</description>
		<content:encoded><![CDATA[<p>Yo thanks!!! I actually had the exact same problem you had, followed the instructions and works like a charm now.  Thanks a million.  I sent a tip your way. [tiptheweb.org]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/comment-page-1/#comment-122800</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Mon, 17 Jan 2011 20:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.rhonabwy.com/wp/?p=914#comment-122800</guid>
		<description>I finally made it work. Actually it was a password problem in my LDAP account. But yes, this debugging problem really make me loose my time as I couldn&#039;t find out what was happening.
And to enable local debugging on LDAP port, I had to add &#039;-i lo&#039; on the tcpdump command.

To answer my question, I finally did not set the account setting in redmine, as the account is used to log in to LDAP to retrieve the DN (which I can do anonymously) and then Redmine log in again to LDAP to check the credential.</description>
		<content:encoded><![CDATA[<p>I finally made it work. Actually it was a password problem in my LDAP account. But yes, this debugging problem really make me loose my time as I couldn&#8217;t find out what was happening.<br />
And to enable local debugging on LDAP port, I had to add &#8216;-i lo&#8217; on the tcpdump command.</p>
<p>To answer my question, I finally did not set the account setting in redmine, as the account is used to log in to LDAP to retrieve the DN (which I can do anonymously) and then Redmine log in again to LDAP to check the credential.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/comment-page-1/#comment-122747</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 16 Jan 2011 17:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.rhonabwy.com/wp/?p=914#comment-122747</guid>
		<description>Debugging is one of the truly hard parts in this - the route I took was to adwd debugging statements into the code itself where it was authenticating to the remote system, printing out responses and data to see what was happening. If you dont know your LDAP settings, check to see if anyone else around has done LDAP against AD authentication and go from there. I ended up writing little test scripts to understand our structure and dig around in it to get familiar with ours.

Not much to go on... sorry.</description>
		<content:encoded><![CDATA[<p>Debugging is one of the truly hard parts in this &#8211; the route I took was to adwd debugging statements into the code itself where it was authenticating to the remote system, printing out responses and data to see what was happening. If you dont know your LDAP settings, check to see if anyone else around has done LDAP against AD authentication and go from there. I ended up writing little test scripts to understand our structure and dig around in it to get familiar with ours.</p>
<p>Not much to go on&#8230; sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/comment-page-1/#comment-122736</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Sun, 16 Jan 2011 12:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rhonabwy.com/wp/?p=914#comment-122736</guid>
		<description>Hello,

Thank you for your post.

I’m having a similar issue with Redmine which I can make work with LDAP. Sadly, I can’t find any info when I want to debug.

I actually don’t understand how to set up the domain thing in the account setting. My LDAP base DN is something like that:
&lt;b&gt;ou=People,dc=domain,dc=com&lt;/b&gt;
And my user is 
&lt;b&gt;uid=testUser,ou=People,dc=myDomain,dc=com&lt;/b&gt;
(testUser already exists on Redmine and is configured to user LDAP auth)
So I’m using uid to filter the user.

My LDAP admin account is 
&lt;b&gt;cn=admin,dc=domain,dc=com&lt;/b&gt;
Then, I’ve tried to use &lt;b&gt;admin&lt;/b&gt;, &lt;b&gt;cn=admin,dc=domain,dc=com&lt;/b&gt; or &lt;b&gt;myDomain/admin&lt;/b&gt; or event &lt;b&gt;testUser&lt;/b&gt; (he must be able to retrieve his own credential infos), but with none of them I can make work the testUser login into Redmine.

Strangely, I don’t get anything with the tcpdump command, even while my LDAP is working for the PAM and SASL authentications.

Thanks if you can help !</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thank you for your post.</p>
<p>I’m having a similar issue with Redmine which I can make work with LDAP. Sadly, I can’t find any info when I want to debug.</p>
<p>I actually don’t understand how to set up the domain thing in the account setting. My LDAP base DN is something like that:<br />
<b>ou=People,dc=domain,dc=com</b><br />
And my user is<br />
<b>uid=testUser,ou=People,dc=myDomain,dc=com</b><br />
(testUser already exists on Redmine and is configured to user LDAP auth)<br />
So I’m using uid to filter the user.</p>
<p>My LDAP admin account is<br />
<b>cn=admin,dc=domain,dc=com</b><br />
Then, I’ve tried to use <b>admin</b>, <b>cn=admin,dc=domain,dc=com</b> or <b>myDomain/admin</b> or event <b>testUser</b> (he must be able to retrieve his own credential infos), but with none of them I can make work the testUser login into Redmine.</p>
<p>Strangely, I don’t get anything with the tcpdump command, even while my LDAP is working for the PAM and SASL authentications.</p>
<p>Thanks if you can help !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koen</title>
		<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/comment-page-1/#comment-120011</link>
		<dc:creator>Koen</dc:creator>
		<pubDate>Fri, 22 Oct 2010 14:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rhonabwy.com/wp/?p=914#comment-120011</guid>
		<description>Thank you so much!
I already tried several times to get the LDAP authentication working. Up till now without success.
Debugging using the console really made a difference. I couldn&#039;t have found that myself (only basic Linux knowledge and no PHP, Rails and Active Directory experience ... it&#039;s close to a miracle I got it working at all ;-) )
In case someone is interested: my Base DN was wrong:
Before debugging, it was: DC=server,DC=companyName,DC=local while it should have been: DC=companyName,DC=local

Thanks again</description>
		<content:encoded><![CDATA[<p>Thank you so much!<br />
I already tried several times to get the LDAP authentication working. Up till now without success.<br />
Debugging using the console really made a difference. I couldn&#8217;t have found that myself (only basic Linux knowledge and no PHP, Rails and Active Directory experience &#8230; it&#8217;s close to a miracle I got it working at all <img src='http://www.rhonabwy.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )<br />
In case someone is interested: my Base DN was wrong:<br />
Before debugging, it was: DC=server,DC=companyName,DC=local while it should have been: DC=companyName,DC=local</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giovanisp</title>
		<link>http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/comment-page-1/#comment-117212</link>
		<dc:creator>Giovanisp</dc:creator>
		<pubDate>Fri, 06 Aug 2010 09:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.rhonabwy.com/wp/?p=914#comment-117212</guid>
		<description>Man, thank you so much for this walk-through. I was going mad about my LDAP setup! By using tcpdump I was able to track the issues and fix the LDAP parameters... works like a charm :-)</description>
		<content:encoded><![CDATA[<p>Man, thank you so much for this walk-through. I was going mad about my LDAP setup! By using tcpdump I was able to track the issues and fix the LDAP parameters&#8230; works like a charm <img src='http://www.rhonabwy.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

