<?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>van Ginderachter &#187; open source</title>
	<atom:link href="http://vanginderachter.be/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://vanginderachter.be</link>
	<description>van achtere naer vorene</description>
	<lastBuildDate>Fri, 04 Nov 2011 12:59:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ldap pam authentication exclusively for openvpn only</title>
		<link>http://vanginderachter.be/2010/ldap-pam-authentication-exclusively-only-for-openvpn/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vanginderachter.be/2010/ldap-pam-authentication-exclusively-only-for-openvpn/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 15:10:59 +0000</pubDate>
		<dc:creator>Serge van Ginderachter</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://www.vanginderachter.be/?p=1155</guid>
		<description><![CDATA[I needed to implement ldap authentication and authorsiation for an openvpn setup which until now used a simple password file. Lots of howto&#8217;s tell you to update the standard PAM login service to use ldap, and to have openvpn use that login service for authentication. I expect in most cases you&#8217;ll probably just want to [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to implement ldap authentication and authorsiation for an openvpn setup which until now used a simple password file.</p>
<p>Lots of howto&#8217;s tell you to update the standard PAM login service to use ldap, and to have openvpn use that login service for authentication. I expect in most cases you&#8217;ll probably just want to have a dedicated vpn server, and not having users logging in on the system wide login. At least, that&#8217;s what I needed today to migrate away from that password file based config.</p>
<p>That turned out to be quite easy once you get the pam config right, though I&#8217;m still not 100% positive this particular pam config is the most optimal. In the end I just defined a new openvpn pam service by creating <code>/etc/pam.d/openvpn</code> with a very short and simple config.</p>
<p>Here&#8217;s the configuration notes which reflect this config update. All users with an ldap account, and member of the remoteaccess group are granted access to openvpn.</p>
<p><code>--- openvpn_installation_howto.txt	31 Mar 2010 12:37:42 -0000	1.16<br />
+++ openvpn_installation_howto.txt	23 Apr 2010 14:53:23 -0000<br />
@@ -167,6 +167,25 @@<br />
 # Server configuration<br />
 ######################</p>
<p>+## config update to authenticate &amp; authorise through ldap<br />
+aptitude install libpam-ldap<br />
+<br />
+- edit /etc/pam_ldap.conf<br />
+	uri ldaps://ldap.server<br />
+	base dc=division,dc=corp,dc=be<br />
+	ldap_version 3<br />
+	pam_groupdn cn=remoteaccess,ou=groups,dc=division,dc=corp,dc=be<br />
+	pam_member_attribute memberUid<br />
+	pam_password crypt<br />
+	tls_checkpeer no<br />
+- create /etc/pam.d/openvpn<br />
+	auth            required        pam_ldap.so<br />
+	account         required        pam_ldap.so<br />
+- edit server-udp.conf and server-tcp.conf<br />
+	#auth-user-pass-verify /etc/openvpn/fileauth.pl via-file<br />
+	plugin /usr/lib/openvpn/openvpn-auth-pam.so openvpn<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://vanginderachter.be/2010/ldap-pam-authentication-exclusively-only-for-openvpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnome evolution suxorz</title>
		<link>http://vanginderachter.be/2009/gnome-evolution-suxorz/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vanginderachter.be/2009/gnome-evolution-suxorz/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 14:22:42 +0000</pubDate>
		<dc:creator>Serge van Ginderachter</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[unstable]]></category>

		<guid isPermaLink="false">http://www.vanginderachter.be/?p=1128</guid>
		<description><![CDATA[Gnome evolution: Actually, this was triggered by clicking a mailto: link, whilst I hadn&#8217;t fixed Gnome&#8217;s default behaviour of launching evolution, so I just closed the mail dialog Window, but evolution seems to insist on staying running persistently. But I don&#8217;t even use this freaky program. I only configure my Google Calendar to have it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://projects.gnome.org/evolution/">Gnome evolution</a>:</p>
<p><img src="http://vanginderachter.be/files/2009/12/20091226150815.png" alt="" width="639" height="66" class="aligncenter size-full wp-image-1129" /></p>
<p>Actually, this was triggered by clicking a mailto: link, whilst I hadn&#8217;t fixed Gnome&#8217;s default behaviour of launching evolution, so I just closed the mail dialog Window, but evolution seems to insist on staying running persistently.</p>
<p>But I don&#8217;t even use this freaky program. I only configure my Google Calendar to have it show up in the date app in gnome-panel. I may have an IMAP account configured too, but I don&#8217;t really use that.</p>
<p>I can understand that having an IMAP account with several gigs of data on the server end might trigger some indexing magic, but why evolution insists on permanantly using half of my physicical memory is beyond me.</p>
<p>This behaviour has actually been very persistent since several years/releases. Even deleting al <code>.evolution</code> related data in $HOME doesn&#8217;t fix that, so it&#8217;s not some left over garbage from an old installation.</p>
<p>How to reproduce? Clean install. Configure a calendar. Configure an imap account. Rince &amp; repeat.</p>
<p>How such a piece of junk manages to stay the default client of choice in Gnome, and hence lots of distributions, is beyond me.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanginderachter.be/2009/gnome-evolution-suxorz/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

