<?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: phpLDAPadmin and Kerberos</title>
	<atom:link href="http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/feed/" rel="self" type="application/rss+xml" />
	<link>http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/</link>
	<description>A sourceful of secrets</description>
	<pubDate>Tue, 06 Jan 2009 01:23:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mazsi</title>
		<link>http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/comment-page-1/#comment-1234</link>
		<dc:creator>mazsi</dc:creator>
		<pubDate>Sat, 05 Jan 2008 08:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/#comment-1234</guid>
		<description>as of phpldapadmin v1.1.0.3: if you set login_dn or login_pass to empty string, and anything other than anonymous bind is being used (as it is in our case) LDAPserver::connect() will refuse to login (it will always return false).

so instead of 

$ldapservers-&#62;SetValue($i,'login','dn','');
$ldapservers-&#62;SetValue($i,'login','pass','');

use for example this:

$ldapservers-&#62;SetValue($i,'login','dn','cn=noone');
$ldapservers-&#62;SetValue($i,'login','pass','passwd');

(you can set any value here, since you are using GSSAPI they will not be used.)</description>
		<content:encoded><![CDATA[<p>as of phpldapadmin v1.1.0.3: if you set login_dn or login_pass to empty string, and anything other than anonymous bind is being used (as it is in our case) LDAPserver::connect() will refuse to login (it will always return false).</p>
<p>so instead of </p>
<p>$ldapservers-&gt;SetValue($i,'login','dn','');<br />
$ldapservers-&gt;SetValue($i,'login','pass','');</p>
<p>use for example this:</p>
<p>$ldapservers-&gt;SetValue($i,'login','dn','cn=noone');<br />
$ldapservers-&gt;SetValue($i,'login','pass','passwd');</p>
<p>(you can set any value here, since you are using GSSAPI they will not be used.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aeb</title>
		<link>http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/comment-page-1/#comment-1126</link>
		<dc:creator>aeb</dc:creator>
		<pubDate>Mon, 01 Oct 2007 13:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/#comment-1126</guid>
		<description>Hi Ezra, No this will not allow you to create/change Kerberos passwords. This setup just uses Kerberos to authenticate users accessing phpladpadmin. Hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi Ezra, No this will not allow you to create/change Kerberos passwords. This setup just uses Kerberos to authenticate users accessing phpladpadmin. Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ezra Taylor</title>
		<link>http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/comment-page-1/#comment-1124</link>
		<dc:creator>Ezra Taylor</dc:creator>
		<pubDate>Sat, 29 Sep 2007 20:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/#comment-1124</guid>
		<description>Hello:
          Will this feature allow me to create/change users Kerberos passwords in phpldapadmin?</description>
		<content:encoded><![CDATA[<p>Hello:<br />
          Will this feature allow me to create/change users Kerberos passwords in phpldapadmin?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jag</title>
		<link>http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/comment-page-1/#comment-828</link>
		<dc:creator>jag</dc:creator>
		<pubDate>Wed, 08 Aug 2007 11:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://left.subtree.org/2007/06/26/phpldapadmin-and-kerberos/#comment-828</guid>
		<description>It almost works, except for the last change. Putting the "putenv(KRB5..." line at the top, or anywhere else, in the common.php file did not work, in the phpldapadmin log I could see that GSSAPI still assumed to find the ticket in "/tmp/krb5cc_80" and not in /tmp/krb5cc_apache_XXXXXX where mod_auth_kerb saved it.
What does work for me is a changed mod_auth_kerb.c source where you can replace the line:

ccname = apr_psprintf(r-&#62;pool, "FILE:%s/krb5cc_apache_XXXXXX", P_tmpdir);

with:

ccname = apr_psprintf(r-&#62;pool, "FILE:/tmp/krb5cc_80") ;

mod_auth_kerb should offer this as a configurable option I think.</description>
		<content:encoded><![CDATA[<p>It almost works, except for the last change. Putting the "putenv(KRB5..." line at the top, or anywhere else, in the common.php file did not work, in the phpldapadmin log I could see that GSSAPI still assumed to find the ticket in "/tmp/krb5cc_80" and not in /tmp/krb5cc_apache_XXXXXX where mod_auth_kerb saved it.<br />
What does work for me is a changed mod_auth_kerb.c source where you can replace the line:</p>
<p>ccname = apr_psprintf(r-&gt;pool, "FILE:%s/krb5cc_apache_XXXXXX", P_tmpdir);</p>
<p>with:</p>
<p>ccname = apr_psprintf(r-&gt;pool, "FILE:/tmp/krb5cc_80") ;</p>
<p>mod_auth_kerb should offer this as a configurable option I think.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
