<?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 for Debug blog</title>
	<atom:link href="http://blog.debug.cz/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.debug.cz</link>
	<description>Just another nerd gets his blog...</description>
	<lastBuildDate>Mon, 10 May 2010 08:11:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by procaccia</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-57</link>
		<dc:creator>procaccia</dc:creator>
		<pubDate>Mon, 10 May 2010 08:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-57</guid>
		<description>It&#039;s not a bug , neither a mis-configuration of the ACL.
It&#039;s just a silly Carriage Return left at the end of the file pointed by  $conf[&#039;auth&#039;][&#039;shib&#039;][&#039;customgroups_file&#039;] that added a CR at the begening of every media :-( 
(0a FF D8 ....) instead of (FF D8 ....) 
I removed the CR at the end of my custom_group file, and now it works fine.</description>
		<content:encoded><![CDATA[<p>It&#8217;s not a bug , neither a mis-configuration of the ACL.<br />
It&#8217;s just a silly Carriage Return left at the end of the file pointed by  $conf['auth']['shib']['customgroups_file'] that added a CR at the begening of every media <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
(0a FF D8 &#8230;.) instead of (FF D8 &#8230;.)<br />
I removed the CR at the end of my custom_group file, and now it works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by procaccia</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-56</link>
		<dc:creator>procaccia</dc:creator>
		<pubDate>Sun, 09 May 2010 10:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-56</guid>
		<description>When shib plugin is enabled and you restrict acces to namespace with ACL, media files/images aren&#039;t anymore visible :-( 
I double check my ACL and file permissions, no way . is this a bug ?

example
user:*          @shibusers         1

for example, when accessing doku.php?id=user:shibusers:dsi page which contains images, before installing shib plugins (with @user acl 1 access at that time !) images were visible to a logged in user (plain), as soon as I enable shib auth, page and group access works fine, but not for images :-( .

please help.
thanks .</description>
		<content:encoded><![CDATA[<p>When shib plugin is enabled and you restrict acces to namespace with ACL, media files/images aren&#8217;t anymore visible <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
I double check my ACL and file permissions, no way . is this a bug ?</p>
<p>example<br />
user:*          @shibusers         1</p>
<p>for example, when accessing doku.php?id=user:shibusers:dsi page which contains images, before installing shib plugins (with @user acl 1 access at that time !) images were visible to a logged in user (plain), as soon as I enable shib auth, page and group access works fine, but not for images <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  .</p>
<p>please help.<br />
thanks .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by micro</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-52</link>
		<dc:creator>micro</dc:creator>
		<pubDate>Tue, 09 Mar 2010 19:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-52</guid>
		<description>you should put that part of the configuration in local.protected.php.

When you save the settings in the admin panel, only local.php is modified.

Thanks for the plugin!

Regards,
micro</description>
		<content:encoded><![CDATA[<p>you should put that part of the configuration in local.protected.php.</p>
<p>When you save the settings in the admin panel, only local.php is modified.</p>
<p>Thanks for the plugin!</p>
<p>Regards,<br />
micro</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by procaccia</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-50</link>
		<dc:creator>procaccia</dc:creator>
		<pubDate>Sun, 24 Jan 2010 09:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-50</guid>
		<description>Sorry, I finally found the problem
enable debug helped a lot, thanks for that fonctionnality
The problem comes from the admin page (id=start&amp;do=admin&amp;page=config), when I edit config from the admin web interface of dokuwiki, it rewrites the config, but wrongly for entitlement_groups :-(

original:
$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;entitlement_groups&#039;] = array(
&#039;student&#039; =&gt; &#039;student&#039;,
&#039;member&#039; =&gt; &#039;member&#039;,
&#039;invite&#039; =&gt; &#039;invite&#039;,
&#039;employee&#039; =&gt; &#039;employee&#039;
);

had been rewriten to

#$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;entitlement_groups&#039;] = &#039;array( \&#039;student\&#039; =&gt; \&#039;student\&#039;, \&#039;invite\&#039; =&gt; \&#039;invite\&#039;, \&#039;member\&#039; =&gt; \&#039;member\&#039; \&#039;employee\&#039; =&gt; \&#039;employee\&#039; )&#039;;
which seems to be syntaxly wrong regarding debug message:

[Thu Jan 07 22:23:38 2010] [error] [client 82.230.31.137] entitlement groups not configured
[Thu Jan 07 22:23:38 2010] [error] [client 82.230.31.137] Array\n(\n [uid] =&gt; Procaccia\n [name] =&gt; Procaccia\n [mail] =&gt; procacci@enst.fr\n [grps] =&gt; Array\n (\n [0] =&gt; shibusers\n [1] =&gt; intraIT\n )\n\n)\n

now I have that I reset the [&#039;entitlement_groups&#039;] = array(... in multiple lines manually in local.php, I have no more the &quot;entitlement groups not configured&quot; error in apache error_log, and &quot;invite&quot; shib group is now set :-):
[Thu Jan 07 22:28:36 2010] [error] [client 82.230.31.137] Array\n(\n [uid] =&gt; Procaccia\n [name] =&gt; Procaccia\n [mail] =&gt; procacci@enst.fr\n [grps] =&gt; Array\n (\n [0] =&gt; shibusers\n [1] =&gt; intraIT\n [2] =&gt; invite\n )\n\n)\n

I&#039;ve checked ACL based on those shib group (?do=check also confirm that it is set), everything seems fine, I&#039;ll post that positive experience on your blog when all my test will be concluant.

Thanks again for that wonderfull and powerfull plugin !</description>
		<content:encoded><![CDATA[<p>Sorry, I finally found the problem<br />
enable debug helped a lot, thanks for that fonctionnality<br />
The problem comes from the admin page (id=start&amp;do=admin&amp;page=config), when I edit config from the admin web interface of dokuwiki, it rewrites the config, but wrongly for entitlement_groups <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>original:<br />
$conf['auth']['shib']['entitlement_groups'] = array(<br />
&#8217;student&#8217; =&gt; &#8217;student&#8217;,<br />
&#8216;member&#8217; =&gt; &#8216;member&#8217;,<br />
&#8216;invite&#8217; =&gt; &#8216;invite&#8217;,<br />
&#8216;employee&#8217; =&gt; &#8216;employee&#8217;<br />
);</p>
<p>had been rewriten to</p>
<p>#$conf['auth']['shib']['entitlement_groups'] = &#8216;array( \&#8217;student\&#8217; =&gt; \&#8217;student\&#8217;, \&#8217;invite\&#8217; =&gt; \&#8217;invite\&#8217;, \&#8217;member\&#8217; =&gt; \&#8217;member\&#8217; \&#8217;employee\&#8217; =&gt; \&#8217;employee\&#8217; )&#8217;;<br />
which seems to be syntaxly wrong regarding debug message:</p>
<p>[Thu Jan 07 22:23:38 2010] [error] [client 82.230.31.137] entitlement groups not configured<br />
[Thu Jan 07 22:23:38 2010] [error] [client 82.230.31.137] Array\n(\n [uid] =&gt; Procaccia\n [name] =&gt; Procaccia\n [mail] =&gt; <a href="mailto:procacci@enst.fr">procacci@enst.fr</a>\n [grps] =&gt; Array\n (\n [0] =&gt; shibusers\n [1] =&gt; intraIT\n )\n\n)\n</p>
<p>now I have that I reset the ['entitlement_groups'] = array(&#8230; in multiple lines manually in local.php, I have no more the &#8220;entitlement groups not configured&#8221; error in apache error_log, and &#8220;invite&#8221; shib group is now set <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> :<br />
[Thu Jan 07 22:28:36 2010] [error] [client 82.230.31.137] Array\n(\n [uid] =&gt; Procaccia\n [name] =&gt; Procaccia\n [mail] =&gt; <a href="mailto:procacci@enst.fr">procacci@enst.fr</a>\n [grps] =&gt; Array\n (\n [0] =&gt; shibusers\n [1] =&gt; intraIT\n [2] =&gt; invite\n )\n\n)\n</p>
<p>I&#8217;ve checked ACL based on those shib group (?do=check also confirm that it is set), everything seems fine, I&#8217;ll post that positive experience on your blog when all my test will be concluant.</p>
<p>Thanks again for that wonderfull and powerfull plugin !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by entitlement_groups</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-49</link>
		<dc:creator>entitlement_groups</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-49</guid>
		<description>finally, allocating dynamically groups based on shib attributes value does&#039;nt seem to work :-( 
I did  a wrong test with too much open ACL in my previous post.
Now I checked again with a better test, and it doesn&#039;t work as expected.
I use the ?do=check option on the page I want to check ACL, and now I can clearly see that I am not in the expected groups .
?do=check on the start page after logged in with shib and a username that has &quot;employee&quot; for var_entitlement value only gives me:
&quot;You are part of the groups allusers&quot;
not the expected additional group &quot;employee&quot; :-( 
as programmed in 
$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;entitlement_groups&#039;] = array(
’student’ =&gt; ’student’,
‘employee’ =&gt; ‘employee’,
‘member’ =&gt; ‘member’
);

did I missed something ? 
I also read that all users not connected with &#039;plain&#039; auth aren&#039;t in @user group which is supposed to group all connected users
it&#039;s quite ambarasing, any help greatly appreciated .

Regards .</description>
		<content:encoded><![CDATA[<p>finally, allocating dynamically groups based on shib attributes value does&#8217;nt seem to work <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
I did  a wrong test with too much open ACL in my previous post.<br />
Now I checked again with a better test, and it doesn&#8217;t work as expected.<br />
I use the ?do=check option on the page I want to check ACL, and now I can clearly see that I am not in the expected groups .<br />
?do=check on the start page after logged in with shib and a username that has &#8220;employee&#8221; for var_entitlement value only gives me:<br />
&#8220;You are part of the groups allusers&#8221;<br />
not the expected additional group &#8220;employee&#8221; <img src='http://blog.debug.cz/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
as programmed in<br />
$conf['auth']['shib']['entitlement_groups'] = array(<br />
’student’ =&gt; ’student’,<br />
‘employee’ =&gt; ‘employee’,<br />
‘member’ =&gt; ‘member’<br />
);</p>
<p>did I missed something ?<br />
I also read that all users not connected with &#8216;plain&#8217; auth aren&#8217;t in @user group which is supposed to group all connected users<br />
it&#8217;s quite ambarasing, any help greatly appreciated .</p>
<p>Regards .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by procaccia</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-48</link>
		<dc:creator>procaccia</dc:creator>
		<pubDate>Thu, 26 Nov 2009 16:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-48</guid>
		<description>forget my request about howto allocate dynamic groups with shib
I found it myself, the example with URL mislead me ...
here&#039;s how I use it now with success: 
# &#039;var_entitlement&#039; - The name of the attribute containing the user entitlement (eduPersonEntitlement)
$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;var_entitlement&#039;] = &#039;unscoped-affiliation&#039;;

# &#039;entitlement_groups&#039; - maps entitlements to user groups, &#039;var_entitlement&#039; must be set
$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;entitlement_groups&#039;] = array(
    &#039;student&#039; =&gt; &#039;student&#039;,
    &#039;employee&#039; =&gt; &#039;employee&#039;,
    &#039;member&#039; =&gt; &#039;member&#039;
);

in my use case with edupersonAffiliation, when shibboleth retrieve user&#039;s edupersonnAffiliation attribute (rewrote to unscoped-affiliation here)
if he is a student he gets affected in the &quot;student&quot; dokuwiki group .
That works like a charm, very clever !
thanks again for your contribution to dokuwiki &amp; shibboleth .

regards .</description>
		<content:encoded><![CDATA[<p>forget my request about howto allocate dynamic groups with shib<br />
I found it myself, the example with URL mislead me &#8230;<br />
here&#8217;s how I use it now with success:<br />
# &#8216;var_entitlement&#8217; &#8211; The name of the attribute containing the user entitlement (eduPersonEntitlement)<br />
$conf['auth']['shib']['var_entitlement'] = &#8216;unscoped-affiliation&#8217;;</p>
<p># &#8216;entitlement_groups&#8217; &#8211; maps entitlements to user groups, &#8216;var_entitlement&#8217; must be set<br />
$conf['auth']['shib']['entitlement_groups'] = array(<br />
    &#8217;student&#8217; =&gt; &#8217;student&#8217;,<br />
    &#8216;employee&#8217; =&gt; &#8216;employee&#8217;,<br />
    &#8216;member&#8217; =&gt; &#8216;member&#8217;<br />
);</p>
<p>in my use case with edupersonAffiliation, when shibboleth retrieve user&#8217;s edupersonnAffiliation attribute (rewrote to unscoped-affiliation here)<br />
if he is a student he gets affected in the &#8220;student&#8221; dokuwiki group .<br />
That works like a charm, very clever !<br />
thanks again for your contribution to dokuwiki &amp; shibboleth .</p>
<p>regards .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by Robert Kelly</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-47</link>
		<dc:creator>Robert Kelly</dc:creator>
		<pubDate>Wed, 25 Nov 2009 18:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-47</guid>
		<description>Hello Ivan,
I just wanted to say thanks for your Shibboleth plugins for Dokuwiki.
Great work!
I&#039;m using both the auth and login plugins and I only had one issue which I thought I&#039;d let you know about.
Clicking the logout button did not work for me.
I&#039;m new to Dokuwiki, especially its internals, but I managed to get it working by adding an exit() at the end of the logOff() function. (Saw it used in another auth plugin)
I&#039;m not sure if that is the correct way of making it work, but, it worked for me.
It seems to prevent Dokuwiki from sending its own redirect.

Thanks again,
Rob</description>
		<content:encoded><![CDATA[<p>Hello Ivan,<br />
I just wanted to say thanks for your Shibboleth plugins for Dokuwiki.<br />
Great work!<br />
I&#8217;m using both the auth and login plugins and I only had one issue which I thought I&#8217;d let you know about.<br />
Clicking the logout button did not work for me.<br />
I&#8217;m new to Dokuwiki, especially its internals, but I managed to get it working by adding an exit() at the end of the logOff() function. (Saw it used in another auth plugin)<br />
I&#8217;m not sure if that is the correct way of making it work, but, it worked for me.<br />
It seems to prevent Dokuwiki from sending its own redirect.</p>
<p>Thanks again,<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dokuwiki Shibboleth authentication backend by procaccia</title>
		<link>http://blog.debug.cz/shibboleth/dokuwiki-shibboleth-authentication-backend/comment-page-1#comment-46</link>
		<dc:creator>procaccia</dc:creator>
		<pubDate>Wed, 25 Nov 2009 15:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.debug.cz/?p=76#comment-46</guid>
		<description>hello,
thank you for this great shibboleth-dikuwiki plugin.
It works fine for me for authenticating.
For autorisation I have doubt on how to use var_entitlement to map dokuwiki groups !?
here&#039;s what I did in local.php

# &#039;var_entitlement&#039; - The name of the attribute containing the user entitlement (eduPersonEntitlement)
$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;var_entitlement&#039;] = &#039;unscoped-affiliation&#039;;

But I can&#039;t figure out how to use entitlement_groups
# &#039;entitlement_groups&#039; - maps entitlements to user groups, &#039;var_entitlement&#039; must be set
#$conf[&#039;auth&#039;][&#039;shib&#039;][&#039;entitlement_groups&#039;] = array(
#    &#039;https://www.example.org/special&#039; =&gt; &#039;special_group&#039;,
#    &#039;https://www.example.org/internal&#039; =&gt; &#039;internal_group&#039;
#);

here my unscoped-affiliation attributes conains values from edupersonAffiliation (faculty, member, employee, student ...) , how can I generate associated dokuwiki groups ?

Thanks .</description>
		<content:encoded><![CDATA[<p>hello,<br />
thank you for this great shibboleth-dikuwiki plugin.<br />
It works fine for me for authenticating.<br />
For autorisation I have doubt on how to use var_entitlement to map dokuwiki groups !?<br />
here&#8217;s what I did in local.php</p>
<p># &#8216;var_entitlement&#8217; &#8211; The name of the attribute containing the user entitlement (eduPersonEntitlement)<br />
$conf['auth']['shib']['var_entitlement'] = &#8216;unscoped-affiliation&#8217;;</p>
<p>But I can&#8217;t figure out how to use entitlement_groups<br />
# &#8216;entitlement_groups&#8217; &#8211; maps entitlements to user groups, &#8216;var_entitlement&#8217; must be set<br />
#$conf['auth']['shib']['entitlement_groups'] = array(<br />
#    &#8216;https://www.example.org/special&#8217; =&gt; &#8217;special_group&#8217;,<br />
#    &#8216;https://www.example.org/internal&#8217; =&gt; &#8216;internal_group&#8217;<br />
#);</p>
<p>here my unscoped-affiliation attributes conains values from edupersonAffiliation (faculty, member, employee, student &#8230;) , how can I generate associated dokuwiki groups ?</p>
<p>Thanks .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
