<?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>Sebastian's blog</title>
	<atom:link href="http://tomcat.ranta.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomcat.ranta.info</link>
	<description></description>
	<lastBuildDate>Mon, 13 Jul 2009 16:55:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>This summer&#8217;s best place for ice cream in Stuttgart</title>
		<link>http://tomcat.ranta.info/2009/07/13/this-summers-best-place-for-ice-cream-in-stuttgart/</link>
		<comments>http://tomcat.ranta.info/2009/07/13/this-summers-best-place-for-ice-cream-in-stuttgart/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 16:55:43 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=697</guid>
		<description><![CDATA[Time for some cheap advertisement.  
Last weekend, my girlfriend and I discovered a new ice cream place in Stuttgart, and it has amazing ice cream that I suggest everyone here should try out.

Real Italian ice cream, self-made
Just like in old-school Italy, ice cream is served using a scraper, not a scoop
You get Your money&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Time for some cheap advertisement. <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Last weekend, my girlfriend and I discovered a new ice cream place in Stuttgart, and it has amazing ice cream that I suggest everyone here should try out.</p>
<ul>
<li>Real Italian ice cream, self-made</li>
<li>Just like in old-school Italy, ice cream is served using a scraper, not a scoop</li>
<li>You get Your money&#8217;s worth &#8211; a 2€ cup is easily more than 3 scoops in other places</li>
<li>It&#8217;s <strong>so</strong> good. Chocolate tastes like iced, self-made chocolate pudding</li>
</ul>
<p>If You haven&#8217;t been there, You should stop by immediately. I believe this picture is an appropriate representation of the location&#8230; <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div class="wp-caption aligncenter" style="width: 548px"><img title="Stuttgart ice cream shop location" src="/extra-img/StuttgartIceCream20090713.jpg" alt="Ice cream shop location" width="538" height="469" /><p class="wp-caption-text">Ice cream shop location</p></div>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2009/07/13/this-summers-best-place-for-ice-cream-in-stuttgart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Update</title>
		<link>http://tomcat.ranta.info/2009/06/28/update/</link>
		<comments>http://tomcat.ranta.info/2009/06/28/update/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 15:32:43 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=695</guid>
		<description><![CDATA[It&#8217;s been some time, but I&#8217;ll try to post more regularly from now on.
Work
The crisis isn&#8217;t over yet, but I have a good project now. Can&#8217;t tell You many details, but I&#8217;m in Augsburg four days of the week now where I&#8217;m doing Microsoft Access VBA coding. It&#8217;s a good team, the work is mostly [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been some time, but I&#8217;ll try to post more regularly from now on.</p>
<p><strong>Work<br />
</strong>The crisis isn&#8217;t over yet, but I have a good project now. Can&#8217;t tell You many details, but I&#8217;m in Augsburg four days of the week now where I&#8217;m doing Microsoft Access VBA coding. It&#8217;s a good team, the work is mostly fun.</p>
<p>At the moment I&#8217;m doing a big international task that&#8217;s really stressful and will go on for the next two weeks. Yet, it&#8217;s very rewarding, and comes with high responsibility and visibility.</p>
<p><strong>Personal Life<br />
</strong>That&#8217;s going well, too. I&#8217;m only at home on weekends, but I&#8217;m okay with it&#8230; at least I got work. At the hotel in Augsburg I got time to play PC games again (Monkey Island 2, Sim City 4, Commandos 2, &#8230;) and to code for p300. So my leisure time is indeed good.</p>
<p>I was at the Wave Gotik Treffen 2009 around the beginning on June, and that was really great fun, as it is always. Next bigger events are vacation in Sardinia, and maybe some short Stuttgart vacation when I leave the project in September (if it doesn&#8217;t get extended again).</p>
<p><strong>Politics<br />
</strong>Well, I&#8217;ve been pretty pissed off at the whole censorship thing that&#8217;s now in place in Germany. I was pleased that the Greens had such a huge success in the communal vote here in Stuttgart, and that the Pirate Party succeeded in getting one guy to the European parliament. The topic of personal and digital freedom is getting worse every day, but the war is heating up. We are fighting on every front.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2009/06/28/update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crisis</title>
		<link>http://tomcat.ranta.info/2009/03/14/crisis/</link>
		<comments>http://tomcat.ranta.info/2009/03/14/crisis/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 08:23:07 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=691</guid>
		<description><![CDATA[Well, looks as if the economic crisis finally came around to me.
There&#8217;s not much to do at work currently and I&#8217;m still in the probation phase, and that&#8217;s bad. If upper management ever decides to fire people, the probation people will probably be the first ones to go, out of legal reasons.
So together with my [...]]]></description>
			<content:encoded><![CDATA[<p>Well, looks as if the economic crisis finally came around to me.</p>
<p>There&#8217;s not much to do at work currently and I&#8217;m still in the probation phase, and that&#8217;s bad. If upper management ever decides to fire people, the probation people will probably be the first ones to go, out of legal reasons.</p>
<p>So together with my boss, I decided to take some vacation. From Friday next week (20.03.09) to the end of the month, I&#8217;ll use up 4 precious paid leave days and cover 4 days out of overtime. If there&#8217;s still no project on the horizon, I might have to repeat that in April.</p>
<p>This means I&#8217;ll have plenty of time for hobby activities, such as <a href="http://p300.eu/">p300</a>, gaming, movies and TV series. It also means I&#8217;ll have at least 4 days less for festivals, Sardinia, Oslo and christmas.</p>
<p>If that saves my job, I&#8217;m happy with it. I just hope it will.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2009/03/14/crisis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Alice DSL in Ubuntu 8.10 using NetworkManager</title>
		<link>http://tomcat.ranta.info/2009/02/01/howto-alice-dsl-in-ubuntu-810-using-networkmanager/</link>
		<comments>http://tomcat.ranta.info/2009/02/01/howto-alice-dsl-in-ubuntu-810-using-networkmanager/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 20:19:52 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=688</guid>
		<description><![CDATA[I recently moved to my own apartment, and just a couple of days ago, I got connected to the Internet. Here are instructions on how to install Alice DSL in Ubuntu 8.10 using NetworkManager.
I assume You already received username and password and your connection is ready to be used (i.e. connected to your PC and [...]]]></description>
			<content:encoded><![CDATA[<p>I recently moved to my own apartment, and just a couple of days ago, I got connected to the Internet. Here are instructions on how to install <a href="http://www.alice-dsl.de/">Alice DSL</a> in <a href="http://www.ubuntu.com/">Ubuntu</a> 8.10 using <a href="http://projects.gnome.org/NetworkManager/">NetworkManager</a>.</p>
<p>I assume You already received username and password and your connection is ready to be used (i.e. connected to your PC and to your house).</p>
<p>Sorry for the German translations, I only have a German Ubuntu system at my disposal. <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You&#8217;ll get the idea though, it&#8217;s quite simple.</p>
<p>First, right click on the NetworkManager icon (usually two computer screens, or signal bars if You&#8217;re on wireless LAN). Choose &#8220;Verbindungen bearbeiten&#8221;.</p>
<p><img class="alignnone" title="NetworkManager context menu" src="/extra-img/090201 Alice1.png" alt="" width="277" height="165" /></p>
<p>A new window will open showing your network connections, active and inactive. Choose DSL and &#8220;Hinzufügen&#8221;.</p>
<p><img class="alignnone" title="NetworkManager connection properties" src="/extra-img/090201 Alice2.png" alt="" width="568" height="354" /></p>
<p>Again, a new window will open. Set &#8220;Alice&#8221; as name of the new connection, and insert your username (phone number@alice2-dsl.de) and password into the appropriate boxes. It sounds right to put &#8220;alice2-dsl.de&#8221; into the &#8220;Service&#8221;/&#8221;Dienst&#8221; field, but it&#8217;s not.</p>
<p><img class="alignnone" title="NetworkManager add new connection" src="/extra-img/090201 Alice3.png" alt="" width="420" height="557" /></p>
<p>And it&#8217;s all set up! Click &#8220;OK&#8221; to get back to the connection list and close it all.</p>
<p>Now left click on the NetworkManager icon. A list of possible connections pops up, choose &#8220;Alice&#8221;.</p>
<p><img class="alignnone" title="NetworkManager connection list menu" src="/extra-img/090201 Alice4.png" alt="" width="243" height="171" /></p>
<p>This will make Ubuntu connect to Alice DSL. Not that when connecting, there will be a short moment where NetworkManager&#8217;s icon changes to &#8220;broken connection&#8221;, but that&#8217;s just the time between initiating the DSL connection and actually being connected. After seconds, You should get the following notification:</p>
<p><img class="alignnone" title="NetworkManager has successfully connected to Alice DSL" src="/extra-img/090201 Alice5.png" alt="" width="329" height="95" /></p>
<p>Congratulations! You have connected to the Alice DSL service using Ubuntu! (Is it even surprising?) <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I remember days when it was much more complicated getting DSL to work. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2009/02/01/howto-alice-dsl-in-ubuntu-810-using-networkmanager/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Disable &#8220;middle button&#8221; click when pressing left and right mouse button in X.Org 7.4</title>
		<link>http://tomcat.ranta.info/2008/11/30/howto-disable-middle-button-click-when-pressing-left-and-right-mouse-button-in-xorg-74/</link>
		<comments>http://tomcat.ranta.info/2008/11/30/howto-disable-middle-button-click-when-pressing-left-and-right-mouse-button-in-xorg-74/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 21:51:27 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=686</guid>
		<description><![CDATA[In the current X.Org 7.4 release that ships with Ubuntu 8.10, there is no xorg.conf anymore. Or at least, it shouldn&#8217;t be used any more, because configuration is now done dynamically via hal and dbus.
This means that by default, pressing the left and right mouse button at the same time will generate a &#8220;middle click&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>In the current <a href="http://www.x.org/wiki/">X.Org</a> 7.4 release that ships with <a href="http://www.ubuntu.com/">Ubuntu 8.10</a>, there is no xorg.conf anymore. Or at least, it shouldn&#8217;t be used any more, because configuration is now done dynamically via <a href="http://en.wikipedia.org/wiki/HAL_(software)">hal</a> and <a href="http://en.wikipedia.org/wiki/D-Bus">dbus</a>.</p>
<p>This means that by default, pressing the left and right mouse button at the same time will generate a &#8220;middle click&#8221; event, which will usually just paste the clipboard contents. It gets difficult when you play games like <a href="http://en.wikipedia.org/wiki/Quake_III_Arena">Quake 3 Arena</a> and for some reason like left + right mouse button to actually mean &#8220;left + right mouse button&#8221; instead of &#8220;middle mouse button&#8221;.</p>
<p>In earlier X.Org versions, it was enough to just disable the &#8220;Emulate3Buttons&#8221; setting. With X.Org configuration being dynamic, this doesn&#8217;t work anymore. But there&#8217;s a new solution that&#8217;s quite easy to set up.</p>
<p>First, locate your mouse product string, so you&#8217;ll set the option of the right device:</p>
<blockquote><p>lshal | less</p></blockquote>
<p>This will show a list of devices and their properties that hal (the hardware abstraction layer) knows about. Find the device that has &#8220;input.mouse&#8221; in the &#8220;info.capabilities&#8221; section. Write down the &#8220;info.product&#8221; identification of this device. It should be similar to your mouse, like &#8220;Logitech USB-PS/2 Optical Mouse&#8221;.</p>
<p>Next, open /etc/hal/fdi/policy/preferences.fdi in a administrative editor and add the following lines:</p>
<blockquote><p>&lt;device&gt;<br />
&lt;match key=&#8221;info.capabilities&#8221; contains=&#8221;input.mouse&#8221;&gt;<br />
&lt;match key=&#8221;info.product&#8221; string=&#8221;&lt;your mouse&#8217;s info.product&gt;&#8221;&gt;<br />
&lt;merge key=&#8221;input.x11_options.Emulate3Buttons&#8221; type=&#8221;string&#8221;&gt;false&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;</p></blockquote>
<p>Save, exit, reboot (there should be some way to only restart the appropriate subsystems, but I don&#8217;t know how; Restarting X.Org is not enough).</p>
<p>Now pressing the left and right mouse button at the same time should generate two events instead of one &#8220;middle mouse button click&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2008/11/30/howto-disable-middle-button-click-when-pressing-left-and-right-mouse-button-in-xorg-74/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo: Install OpenGroupware.org on Ubuntu 8.04 amd64 server with LDAP support (part 4 of 4)</title>
		<link>http://tomcat.ranta.info/2008/10/28/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-4-of-4/</link>
		<comments>http://tomcat.ranta.info/2008/10/28/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-4-of-4/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 15:31:36 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=679</guid>
		<description><![CDATA[
First part: Build OpenGroupware.org
Second part: Database
Third part: LDAP

We got the core OpenGroupware application.
We got a database backend (PostgreSQL).
We got centralized user management (LDAP).
Now it&#8217;s time to finish it all with a basic startup script for ogo.
Open up an editor:
sudo nano /etc/init.d/ogo
And put in the following:
#!/bin/bash
APP=ogo-webui-1.1
PIDFILE=/var/run/ogo
case &#8220;${1:-&#8221;}&#8221; in
&#8217;start&#8217;)
su -c &#8220;source /usr/GNUstep/System/Library/Makefiles/GNUstep.sh &#38;&#38; $APP&#8221; ogo &#62;&#62;/var/log/ogo/stdout 2&#62;&#62;/var/log/ogo/stderr [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://tomcat.ranta.info/2008/09/13/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-1-of-3/">First part: Build OpenGroupware.org</a></li>
<li><a href="http://tomcat.ranta.info/2008/10/24/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-2-of-4/">Second part: Database</a></li>
<li><a href="http://tomcat.ranta.info/2008/10/27/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-3-of-4/">Third part: LDAP</a></li>
</ul>
<p>We got the core OpenGroupware application.<br />
We got a database backend (PostgreSQL).<br />
We got centralized user management (LDAP).</p>
<p>Now it&#8217;s time to finish it all with a basic startup script for ogo.</p>
<p>Open up an editor:</p>
<blockquote><p>sudo nano /etc/init.d/ogo</p></blockquote>
<p>And put in the following:</p>
<blockquote><p>#!/bin/bash</p>
<p>APP=ogo-webui-1.1<br />
PIDFILE=/var/run/ogo</p>
<p>case &#8220;${1:-&#8221;}&#8221; in<br />
&#8217;start&#8217;)<br />
su -c &#8220;source /usr/GNUstep/System/Library/Makefiles/GNUstep.sh &amp;&amp; $APP&#8221; ogo &gt;&gt;/var/log/ogo/stdout 2&gt;&gt;/var/log/ogo/stderr &amp;<br />
echo $! &gt; $PIDFILE<br />
;;<br />
&#8217;stop&#8217;)<br />
cat $PIDFILE | xargs kill<br />
;;<br />
&#8216;restart&#8217;)<br />
/etc/init.d/ogo stop<br />
/etc/init.d/ogo start<br />
;;<br />
*)      # no parameter specified<br />
echo &#8220;Usage: $SELF start|stop|restart|reload|force-reload|status&#8221;<br />
exit 1<br />
;;<br />
esac</p></blockquote>
<p>(This is probably not the best startup script, but I have really no experience with this, and it does the job.)</p>
<p>You also need to create a directory for log files:</p>
<blockquote><p>sudo mkdir /var/log/ogo</p></blockquote>
<p>The init script will write stdout and stderr of the ogo webui process to appropriately named files.</p>
<p>Time to add the init script to the boot process:</p>
<blockquote><p>sudo update-rc.d ogo defaults</p></blockquote>
<p>Now it will start automatically on boot and stop on shutdown. <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://tomcat.ranta.info/extra-img/20081028_Bildschirmfoto-OpenGroupware.org - Mozilla Firefox.png"><img class="aligncenter" title="OpenGroupware startup screen" src="/extra-img/20081028_Bildschirmfoto-OpenGroupware.org - Mozilla Firefox.png" alt="" width="836" height="178" /></a></p>
<p>And that&#8217;s it for this HowTo series. If You have any questions, don&#8217;t hesitate to comment! Thanks for reading! <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2008/10/28/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-4-of-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Install OpenGroupware.org on Ubuntu 8.04 amd64 server with LDAP support (part 3 of 4)</title>
		<link>http://tomcat.ranta.info/2008/10/27/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-3-of-4/</link>
		<comments>http://tomcat.ranta.info/2008/10/27/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-3-of-4/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 15:47:37 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=669</guid>
		<description><![CDATA[
First part: Build OpenGroupware.org
Second part: Database
Fourth part: Finish

We got OpenGroupware and its database running, but we still want OpenGroupware integrated with our central user management in LDAP. Of course, this is optional, but it&#8217;s what we did at my last place of work. This HowTo is focused on OpenGroupware, so I won&#8217;t go into the [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://tomcat.ranta.info/2008/09/13/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-1-of-3/">First part: Build OpenGroupware.org</a></li>
<li><a href="http://tomcat.ranta.info/2008/10/24/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-2-of-4/">Second part: Database</a></li>
<li><a href="http://tomcat.ranta.info/2008/10/28/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-4-of-4/">Fourth part: Finish</a></li>
</ul>
<p>We got <a href="http://www.opengroupware.org/">OpenGroupware</a> and its database running, but we still want OpenGroupware integrated with our central user management in <a href="http://www.openldap.org/">LDAP</a>. Of course, this is optional, but it&#8217;s what we did at my last place of work. This HowTo is focused on OpenGroupware, so I won&#8217;t go into the details of correctly setting up your LDAP database; Only the basics.</p>
<p>Install the LDAP database server (slapd) and an <a href="http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page">administrative interface</a>:</p>
<blockquote><p>sudo apt-get install slapd phpldapadmin</p></blockquote>
<p>Choose a good administrator password. Anyone with admin access to your LDAP can easily take over control over big parts of your security/authentication. Note that if you forget the password, you can reset it using a new password in /etc/ldap/slapd.conf.</p>
<p>The default PHP installation on Ubuntu doesn&#8217;t provide enough memory for phpLDAPadmin, so we&#8217;ll have to increase that. Edit /etc/php5/apache2/php.ini and find the line</p>
<blockquote><p>memory_limit = 16M</p></blockquote>
<p>Change it to</p>
<blockquote><p>memory_limit = 32M</p></blockquote>
<p>Save and exit. Restart Apache.</p>
<p>Now open http://&lt;yourserver&gt;/phpldapadmin. It should show phpLDAPadmin. Press &#8220;Login&#8230;&#8221; and use the chosen password with the &#8220;cn=admin,dc=&lt;yourdomain&gt;,dc=&lt;yourtld&gt;&#8221; login DN.</p>
<p>We first need a group for all users. Open the LDAP tree on the left side and create a new entry. Use &#8220;Organisational Unit&#8221; as template. Name it &#8220;Groups&#8221;.</p>
<p>Now you have a repository for user groups. On the right side in the &#8220;Groups&#8221; detail page, create a new nested entry. Use &#8220;Posix Group&#8221; and name it &#8220;Users&#8221;. (<strong>Caution</strong>: If you use the LDAP for Posix auth/Unix user management, the new group will clash with system groups because of its ID.) Leave the &#8220;Users&#8221; entry empty.</p>
<p>Next, in the LDAP tree on the left side, create a new &#8220;Organisational Unit&#8221; named &#8220;Users&#8221;, just the way you did with the &#8220;Groups&#8221;.</p>
<p>Now, create a new nested entry. Template is &#8220;User Account&#8221;. Type in some details into the yellow fields. (<strong>Caution</strong> again: If you use the LDAP for Posix auth/Unix user management, these new users might clash with existing unix shadow users.) Type in a password for the user!</p>
<p>Now we have a new user in the LDAP database. You can create more, if you like. These will be used (with the passwords) for your OpenGroupware installation. You can close phpLDAPadmin now.</p>
<p>In the terminal, do</p>
<blockquote><p>sudo su ogo<br />
source /usr/GNUstep/System/Library/Makefiles/GNUstep.sh<br />
Defaults write NSGlobalDomain LSAuthLDAPServer localhost<br />
Defaults write NSGlobalDomain LSAuthLDAPServerRoot \&#8221;dc=&lt;yourdomain&gt;,dc=&lt;yourtld&gt;\&#8221;</p></blockquote>
<p>Make sure the quotation marks are properly escaped in the last line so that the &#8220;Defaults&#8221; tool will get the whole thing quoted. You can check with</p>
<blockquote><p>Defaults read</p></blockquote>
<p>if your settings came through.</p>
<p>Now do</p>
<blockquote><p>ogo-webui-1.1</p></blockquote>
<p>and browse to http://&lt;yourserver&gt;/OpenGroupware. You should get a login screen and should be able to log in using the LDAP username/password combinations.</p>
<p>Success! <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In the last part &#8212; following soon &#8212; we will create startup/shutdown scripts for your OpenGroupware installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2008/10/27/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-3-of-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo: Install OpenGroupware.org on Ubuntu 8.04 amd64 server with LDAP support (part 2 of 4)</title>
		<link>http://tomcat.ranta.info/2008/10/24/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-2-of-4/</link>
		<comments>http://tomcat.ranta.info/2008/10/24/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-2-of-4/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 10:57:23 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=660</guid>
		<description><![CDATA[
First part: Build OpenGroupware.org
Third part: LDAP

Fourth part: Finish

Having built the binaries for OpenGroupware.org, we now need a database. OpenGroupware.org uses PostgreSQL. Install that:
sudo apt-get install postgresql
Create the database:
sudo su &#8211; postgres
createdb OGo
createuser -A -D OGo
Reply to createuser that the new user will not be able to create new roles, as it&#8217;s unnecessary. &#8220;-A&#8221; creates a [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://tomcat.ranta.info/2008/09/13/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-1-of-3/">First part: Build OpenGroupware.org</a></li>
<li><a href="http://tomcat.ranta.info/2008/10/27/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-3-of-4/">Third part: LDAP<br />
</a></li>
<li><a href="http://tomcat.ranta.info/2008/10/28/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-4-of-4/">Fourth part: Finish</a></li>
</ul>
<p>Having built the binaries for <a href="http://www.opengroupware.org/">OpenGroupware.org</a>, we now need a database. OpenGroupware.org uses <a href="http://www.postgresql.org/">PostgreSQL</a>. Install that:</p>
<blockquote><p>sudo apt-get install postgresql</p></blockquote>
<p>Create the database:</p>
<blockquote><p>sudo su &#8211; postgres<br />
createdb OGo<br />
createuser -A -D OGo</p></blockquote>
<p>Reply to createuser that the new user will not be able to create new roles, as it&#8217;s unnecessary. &#8220;-A&#8221; creates a regular user (instead of a superuser). &#8220;-D&#8221; denies the new user the ability to create databases.</p>
<p>Quit from the postgres shell:</p>
<blockquote><p>exit</p></blockquote>
<p>Edit the file /etc/postgresql/8.3/main/pg_hba.conf:</p>
<blockquote><p>sudo nano /etc/postgresql/8.3/main/pg_hba.conf</p></blockquote>
<p>Add the following:</p>
<blockquote><p>host    OGo         OGo         127.0.0.1/32          trust</p></blockquote>
<p>before the line</p>
<blockquote><p>host    all         all         127.0.0.1/32          md5</p></blockquote>
<p>And then restart PostgreSQL:</p>
<blockquote><p>sudo invoke-rc.d postgresql-8.3 restart</p></blockquote>
<p>This way, anyone trying to connect to the database as user &#8220;OGo&#8221; will always get in. It works only from the local machine, so if you have control over your users, everything should be alright. (You should note though that any user logged into your machine can access the whole OGo database!)</p>
<p>Now we need to install the database schema:</p>
<blockquote><p>cd /usr/local/lib64/opengroupware.org-1.1/commands/OGo.model/Resources<br />
psql -h localhost OGo OGo<br />
\i pg-build-schema.psql<br />
\q</p></blockquote>
<p>Now we have to set up the database connection in OpenGroupware.org:</p>
<blockquote><p>sudo su &#8211; ogo<br />
source /usr/GNUstep/System/Library/Makefiles/GNUstep.sh<br />
Defaults write NSGlobalDomain LSConnectionDictionary &#8216;{databaseName = OGo; hostName = localhost; password = &#8220;&#8221;; port = 5432; userName = OGo}&#8217;<br />
Defaults write NSGlobalDomain LSAdaptor PostgreSQL<br />
/usr/local/sbin/ogo-webui-1.1</p></blockquote>
<p>You should now be able to access http://&lt;yourhost&gt;/OpenGroupware and be automatically logged in as root.</p>
<p>That&#8217;s it for the database setup!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2008/10/24/howto-install-opengroupwareorg-on-ubuntu-804-amd64-server-with-ldap-support-part-2-of-4/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Global search in p300 file-sharing tool</title>
		<link>http://tomcat.ranta.info/2008/10/03/global-search-in-p300-file-sharing-tool/</link>
		<comments>http://tomcat.ranta.info/2008/10/03/global-search-in-p300-file-sharing-tool/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 11:02:04 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[p300]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=652</guid>
		<description><![CDATA[As you can see on guruz&#8217; blog, our beloved file-sharing tool for private networks and VPNs &#8211; &#8220;p300&#8221; &#8211; now has global search and a couple other new features. As the backend code for global search is coded by me, this release is really important for me. The search has been implemented by using the [...]]]></description>
			<content:encoded><![CDATA[<p>As you can see on <a href="http://blog.guruz.de/2008/10/03/version-876-of-p300-has-been-released/">guruz&#8217; blog</a>, our beloved <strong>file-sharing tool for private networks and VPNs</strong> &#8211; &#8220;<strong>p300</strong>&#8221; &#8211; now has <a href="http://blog.guruz.de/2008/09/23/first-impressions-of-the-p300-global-search-result-window/">global search</a> and a couple other new features. As the <strong>backend code</strong> for global search is coded by <strong>me</strong>, this release is really important for me. The search has been <strong>implemented</strong> by using the <a href="http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html">WebDAV SEARCH Standard (draft)</a>.</p>
<p><strong>Download now</strong>: <a href="http://p300.eu">p300.eu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2008/10/03/global-search-in-p300-file-sharing-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Clone your Ubuntu 8.04 installation for easy 8.10-upgrade tests</title>
		<link>http://tomcat.ranta.info/2008/10/03/howto-clone-your-ubuntu-804-installation-for-easy-810-upgrade-tests/</link>
		<comments>http://tomcat.ranta.info/2008/10/03/howto-clone-your-ubuntu-804-installation-for-easy-810-upgrade-tests/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 10:36:00 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tomcat.ranta.info/?p=650</guid>
		<description><![CDATA[In about 27 days, the new Ubuntu 8.10 will be released. The beta has been released yesterday. I have some spare time, so I&#8217;m using it to do an upgrade test for my installation. I don&#8217;t want my main system to be changed (or destroyed), so I&#8217;m first cloning the Ubuntu 8.04 installation on my [...]]]></description>
			<content:encoded><![CDATA[<p>In about <strong>27 days</strong>, the new <strong><a href="http://www.ubuntu.com/">Ubuntu</a> </strong><strong>8.10</strong> will be <strong>released</strong>. The <a href="http://www.ubuntu.com/testing/intrepid/beta">beta</a> has been released yesterday. I have some spare time, so I&#8217;m using it to do an <strong>upgrade test</strong> for my installation. I don&#8217;t want my <strong>main system</strong> to be <strong>changed</strong> (or <strong>destroyed</strong>), so I&#8217;m first <strong>cloning</strong> the <a href="http://www.ubuntu.com/getubuntu">Ubuntu 8.04</a> installation on my laptop, then <strong>upgrading</strong> <strong>that</strong> <strong>clone</strong> to Ubuntu 8.10 beta.</p>
<p>There are <strong>two reasons</strong> why you&#8217;d want to do that:</p>
<ul>
<li><strong>Check</strong> for yourself if the upgrade will <strong>work out alright</strong> when 8.10 is released, by <strong>testing without much risk</strong>.</li>
<li><strong>Test</strong> the <strong>upgrade path</strong> on your system, <a href="https://launchpad.net/">filing bugs</a> if things don&#8217;t work out well, to <strong>improve Ubuntu</strong>. Which is what <strong>I want to do</strong>.</li>
</ul>
<p>I have used this <strong>clone/upgrade path</strong> in <strong>older releases</strong>, I&#8217;m pretty sure it will also work in the <strong>future</strong>. It should also work in <strong>other distributions</strong>.</p>
<p><strong>Disclaimer</strong>: I cannot be held responsible for <strong>any damage</strong> this HowTo may cause. You are <strong>on your own</strong>. Only follow the steps if you know the <strong>implications</strong> of following them. This is <strong>dangerous stuff</strong> and can <strong>destroy your data!</strong></p>
<p>First, <strong>backup all your data</strong> on your installation. If anything <strong>goes wrong</strong>, you need to have a <strong>safe place</strong> for your data! There are <strong>many ways</strong> to do that, I usually <a href="http://tomcat.ranta.info/2008/01/30/rsync-for-backups/">rsync to an external disk</a>.</p>
<p>I now <strong>delete everything</strong> that I don&#8217;t need for the test, but <strong>you don&#8217;t need to do that</strong>. It will make the process take <strong>less time</strong> though, because there&#8217;s <strong>less data</strong> to clone. <strong>DO NOT DELETE IMPORTANT DATA!</strong> I only delete music, photos, videos and documents, which are only <strong>1:1 copies</strong> of my workstation&#8217;s data anyway.</p>
<p><strong>Boot</strong> your system from an <strong>Ubuntu LiveCD</strong>. We&#8217;re going to <strong>partition</strong> and <strong>copy the partitions</strong> from there.</p>
<p>Now it gets a bit <strong>difficult</strong>. You need to <strong>create new partitions</strong> that can take at least the used amount of space in your old partitions. <strong>For example</strong>, my setup is:</p>
<ul>
<li>/dev/sda1: <strong>5 GB on /, 2.67 GB used</strong></li>
<li>/dev/sda2: <strong>2 GB swap</strong></li>
<li>/dev/sda3: <strong>142 GB on /home, 8.17 GB used</strong></li>
</ul>
<p><strong>Swap can be re-used</strong> in the new installation, but the other two have to be <strong>cloned</strong>. So in this case I <strong>resized sda3</strong> to have 15 GB of free space. Then I created (in the free space) a <strong>new extended partition</strong> (disks can only take 4 partitions, so I need this &#8220;<strong>partition container</strong>&#8220;) sda4. In this container, I created <strong>sda5 (5 GB, my new /)</strong> and <strong>sda6 (10 GB, my new /home)</strong>. If you are going to use the upgraded installation for more than just <strong>playing around</strong>, reserve more space. If you have only one partition, only create one clone partition. It really <strong>depends on your setup</strong>.</p>
<p>All of this can be done in <strong>Partition Editor</strong> which comes with every <strong>Ubuntu LiveCD</strong>.</p>
<p>After some time, the <strong>new partitions</strong> will be there. Don&#8217;t forget to <strong>write down your disk partitioning</strong>, or leave the Partition Editor open.</p>
<p>Open a <strong>terminal</strong>. <strong>Create directories</strong> for your partitions, but name them to resemble their function. It&#8217;s more foolproof like that. <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<blockquote><p>mkdir old_root old_home new_root new_home</p></blockquote>
<p>Now, <strong>mount</strong> all the partitions:</p>
<blockquote><p>sudo mount /dev/sda1 old_root/<br />
sudo mount /dev/sda3 old_home/<br />
sudo mount /dev/sda5 new_root/<br />
sudo mount /dev/sda6 new_home/</p></blockquote>
<p>That&#8217;s about it. Now we need to <strong>copy the stuff over</strong>, bascially <strong>cloning</strong> your installation:</p>
<blockquote><p>sudo cp -av old_root/* new_root/<br />
sudo cp -av old_home/* new_home/</p></blockquote>
<p>&#8220;-a&#8221; means it will <strong>preserve links</strong>, file <strong>mode/ownership/timestamps</strong>, and copy <strong>recursively</strong>. Make sure the partitions you copy this way don&#8217;t have any files like &#8220;<strong>.file</strong>&#8221; in them, or copy them over manually, because the &#8220;*&#8221; <strong>won&#8217;t match</strong> those.</p>
<p>Of course, the last 3 steps really <strong>depend on your setup</strong>. If you have more or less partitions, you need to adjust the commands, but you should <strong>get the idea</strong>.</p>
<p>Depending on the amount of data and speed of your disks/machine, this can take some time. <strong>Grab a coffee!</strong></p>
<p>When this is finished, you can <strong>unmount</strong> your <strong>old partitions</strong>, just to be safe:</p>
<blockquote><p>sudo umount old_root old_home</p></blockquote>
<p>First, we need to change the <strong>partition identifiers</strong> in the <strong>new installation</strong>:</p>
<blockquote><p>sudo chroot new_root<br />
nano /etc/fstab</p></blockquote>
<p>Here, you need to set the <strong>UUIDs</strong> of your <strong>new partitions</strong> instead of the <strong>old ones</strong>. <strong>Swap</strong> stays the same. You can find the UUIDs through</p>
<blockquote><p>sudo blkid</p></blockquote>
<p><strong>Save &amp; exit</strong> from nano.</p>
<p>We want to <strong>upgrade</strong> the new installation, so <strong>grub</strong> (the boot loader) needs to be configured to run from the <strong>new installation</strong>:</p>
<blockquote><p>nano /boot/grub/menu.lst</p></blockquote>
<p><strong>Copy and paste</strong> the list of boot options (title, root, kernel, initrd, quiet) &#8211; there should be <strong>3</strong>, depening on your setup &#8211; below the line &#8220;<strong>END OF DEBIAN AUTOMAGIC KERNELS LIST</strong>&#8220;. Add something like &#8220;<strong>(old installation)</strong>&#8221; to the end of the &#8220;title&#8221; lines, so they <strong>differ</strong> from the new installation. Now, find a <strong>line</strong> that says:</p>
<blockquote><p># kopt=root=UUID=&lt;text&gt; ro</p></blockquote>
<p>And set the UUID to be the <strong>UUID of your new root</strong> partition (found through blkid).</p>
<p>Find the line:</p>
<blockquote><p># groot=(hd0,0)</p></blockquote>
<p>and change it to</p>
<blockquote><p># groot=(hd0,4)</p></blockquote>
<p>(or whatever your new root partition is).</p>
<p>Now we need to <strong>regenerate</strong> the <strong>boot options</strong> list:</p>
<blockquote><p>update-grub</p></blockquote>
<p><strong>Ignore the errors</strong>. They are caused by the fact that the <strong>environment</strong> is <strong>mixed</strong> between the <strong>LiveCD</strong> and your <strong>installation root</strong>. Yet, the <strong>/boot/grub/menu.lst</strong> should now contain both your <strong>new</strong> as well as your <strong>old kernels</strong>. <strong>Exit</strong> from the chroot shell:</p>
<blockquote><p>exit</p></blockquote>
<p>In the regular <strong>LiveCD shell</strong>, we now need to <strong>install the new boot loader</strong>:</p>
<blockquote><p>sudo grub-install &#8211;root-directory=new_root/ /dev/sda</p></blockquote>
<p>(<strong>Depends on your setup</strong>, /dev/sda might be another disk.)</p>
<p>And <strong>that&#8217;s it</strong>. We should now be able to boot into the new or the old installation. <strong>Try it out</strong>! (Press <strong>Esc</strong> before Linux boot to open the <strong>grub boot loader option screen</strong>.) <strong>Verify</strong> by typing</p>
<blockquote><p>mount</p></blockquote>
<p>in a terminal that you are indeed using the <strong>correct partitions</strong> in each case (because of the <em>fstab</em> change).</p>
<p>You now have <strong>two</strong> <strong>identical copies</strong> of the same installation. They could also be used as a <strong>failover</strong> over something, in case you hack the wrong file in the original installation. <img src='http://tomcat.ranta.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>What I want to do is <strong>upgrade</strong> the installation to the current <strong>development version</strong>: <strong>Boot</strong> into the new installation. Open a <strong>terminal</strong>. Type:</p>
<blockquote><p>gksudo &#8212; update-manager -d</p></blockquote>
<p>(&#8221;&#8211;&#8221; is necessary so the &#8220;-d&#8221; won&#8217;t be mistaken for gksudo&#8217;s &#8220;debug&#8221; option.) You should now get a <strong>notification</strong> that there is a <strong>new version</strong> available. By pressing the button you <strong>start the upgrade</strong> process. Realize that this is really what you want and that you are <strong>mostly safe</strong> because you are running a <strong>cloned install</strong>, and press it.</p>
<p>And that&#8217;s it for this HowTo. <strong>Upgrade</strong>, <strong>file bugs</strong>, <strong>test</strong> the installation however you like. Your old system is <strong>safe</strong>. In a couple of days/weeks I&#8217;ll write a HowTo on how to <strong>remove the clone</strong> and get back to the <strong>old setup</strong> (basically, it&#8217;s &#8220;remove new partitions&#8221; and &#8220;grub-install &#8211;root-directory=old_root /dev/sda&#8221;).</p>
<p>If you have <strong>questions</strong>/<strong>suggestions</strong>/<strong>thanks</strong>, don&#8217;t hesitate to <strong>comment</strong>.</p>
<p><strong>Update:<br />
</strong>I often have the problem that &#8212; when resuming my 8.04/8.10 dualboot laptop from hibernation &#8212; I choose the wrong Ubuntu version in grub. It can&#8217;t resume and wipes out the hibernation image from the swap drive. This is bad. Here&#8217;s a small workaround:</p>
<p>Before doing &#8220;update-grub&#8221;, open /boot/grub/menu.lst and change the lines</p>
<blockquote><p>default 0<br />
savedefault=false</p></blockquote>
<p>to</p>
<blockquote><p>default saved<br />
savedefault=true</p></blockquote>
<p>(They are not really next to each other, this is only to shorten the text.)</p>
<p>Also, add &#8220;savedefault&#8221; to the regular boot option of your <em>old</em> installation, before or after &#8220;quiet&#8221;. With these options, grub will recognize which was the last Ubuntu version booted, and will automatically load it the next time, unless changed manually. When resuming from hibernation, it will always load the appropriate Ubuntu version.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcat.ranta.info/2008/10/03/howto-clone-your-ubuntu-804-installation-for-easy-810-upgrade-tests/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
