<?xml version="1.0"?>
<rss xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:blog="http://bitflux.org/doctypes/blog" xmlns:php="http://php.net/xsl" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:georss="http://www.georss.org/georss" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>Placeholder title</title><link>https://blog.venefyxatu.be/blog/</link><description>This space intentionally left blank.</description><generator>Flux CMS - http://www.flux-cms.org</generator><creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/</creativeCommons:license><lastBuildDate>Thu, 01 Jan 1970 01:00:00 +0100</lastBuildDate><item><title>Creating a new report in OpenERP with the OpenOffice.org report designer</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2011/08/02/creating-a-new-report-in-openerp-with-the-openoffice-org-report-designer.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/610/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;Creating a new OpenERP&#xA0;report with the OpenOffice.org (OOo) report designer isn't very hard, provided you know the right steps to get started. I'm assuming you have the base_report_designer module installed in your OpenERP&#xA0;setup.&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;In OOo, open a new document.&lt;/li&gt;
    &lt;li&gt;Connect to your OpenERP&#xA0;server:&#xA0;
    &lt;ol&gt;
        &lt;li&gt;OpenERP&#xA0;Report Designer -&amp;gt;&#xA0;Server Parameters&lt;/li&gt;
        &lt;li&gt;Use the 'Change' button to enter the Server URL&#xA0;parameters&lt;/li&gt;
        &lt;li&gt;Enter your database, login and password&lt;/li&gt;
        &lt;li&gt;Click Connect&lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;In the OpenERP&#xA0;Report Designer menu, choose "Open a new report"&lt;/li&gt;
    &lt;li&gt;You'll be given a list of objects to choose from - choose the one you want your report to be about&lt;/li&gt;
    &lt;li&gt;Add a loop (either via the menu or via the toolbar, which can be enabled via View -&amp;gt;&#xA0;Toolbars -&amp;gt;&#xA0;Add-On 1). If all is well, you'll have a single object to choose from. This loop needs to be in your document to ensure that you can add the sub-fields of your chosen object to the report.&lt;/li&gt;
    &lt;li&gt;You can now add fields, layout, everything you like to your report. Don't forget to save your work every now and then. Use the "Send to the server"&#xA0;option in the OpenERP&#xA0;Report Designer menu to upload your report to your OpenERP&#xA0;server. It will be available immediately.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This procedure was tested on OpenERP&#xA0;v.6.0.2&lt;/p&gt;</content:encoded><dc:subject>Computers</dc:subject><dc:subject>OpenERP</dc:subject><dc:creator>Erik</dc:creator><dc:date>2011-08-02T10:41:23Z</dc:date></item><item><title>Conky with Awesome3</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2011/05/27/conky-with-awesome3.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/602/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;I've managed to get Conky configured as a bar at the bottom of my screen in Awesome3, while keeping windows from overlapping with it. In Awesome2 it was possible to pipe Conky's output into awesome-wm, in Awesome3 this isn't the case any more.&lt;/p&gt;
&lt;p&gt;The solution is to create a very horizontal Conky configuration and combine that with a one-pixel-wide wibox at the place where you place your Conky bar. The wibox will prevent windows from hiding your conky, and with the right colour configurations it will look like part of your AwesomeWM.&lt;/p&gt;
&lt;p&gt;The Awesome configuration ( ~/.config/awesome/rc.lua&#xA0;) looks like this:&lt;/p&gt;
&lt;pre&gt;
mystatusbar = awful.wibox({ position = "bottom", screen = 1, ontop = false, width = 1, height = 16 })
&lt;/pre&gt;
&lt;ul&gt;
    &lt;li&gt;position = "bottom"&#xA0;puts the wibox at the bottom of the screen&lt;/li&gt;
    &lt;li&gt;screen = 1 places the wibox on screen 1&lt;/li&gt;
    &lt;li&gt;ontop = false means it doesn't have to be on top of other windows (it'll be empty anyway)&lt;/li&gt;
    &lt;li&gt;width = 1: one pixel wide is enough&lt;/li&gt;
    &lt;li&gt;height = 16:&#xA0;in my case, this is exactly the height of my Conky, so windows will touch it without overlapping&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And the Conky configuration( ~/.conkyrc&#xA0;).&lt;/p&gt;
&lt;p&gt;In the TEXT&#xA0;block, notice the \ at the end of every line - this is equivalent to putting the whole thing on one line, only it's easier to read and maintain. There should be &lt;strong&gt;no&lt;/strong&gt; blank lines after the last configuration line, because Conky &lt;em&gt;will&lt;/em&gt; draw them.&lt;/p&gt;
&lt;p&gt;Of course, if you want {n} lines, you can. Just make sure to adjust the height of your wibox accordingly.&lt;/p&gt;
&lt;pre&gt;
alignment bottom_middle
background yes
border_width 1
cpu_avg_samples 2
default_color 222222
default_outline_color 222222
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
#xftfont DejaVu Sans Mono:size=12
xftfont Sans Mono:size=8
gap_x 5
gap_y 0
minimum_size 1260 6
maximum_width 1260
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window no
own_window_class Conky
own_window_type desktop
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer left
show_graph_scale no
show_graph_range no
format_human_readable yes

color1 666666
color2 888888
color3 444444

mpd_host 127.0.0.1

TEXT
${if_mpd_playing} [${mpd_status} - ${mpd_elapsed}/${mpd_length}] ${scroll 35 5 ${mpd_smart}} ${else} \
${color1}Activity on /dev/sda:${color} ${diskiograph 10,50 000000 ff0000 -t}${endif} \
${alignr}${color1}br0 [${color3}${addr br0}${color}]: ${color1}Up:${color} ${upspeed br0} ${color1} - Down:${color} ${downspeed br0}     \
${alignr}${color1}Battery: [${color3}${acpiacadapter}${color1}] ${color}${battery_percent BAT1}% ${battery_bar 5,50 BAT1} | \
${color1}CPU: ${color} ${cpu}% ${cpubar cpu0 5,50} ${color2}CPU1: ${cpubar cpu1 5,50} CPU2: ${cpubar cpu2 5,50} ${color}| \
${color1}RAM:${color} ${memperc}% ${membar 5,50}
&lt;/pre&gt;
&lt;p&gt;And, obviously, some screenshots to show off the goodies (click for full size):&lt;/p&gt;
&lt;table align="center"
     width="200"
     cellspacing="1"
     cellpadding="1"
     border="0"
    &gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="https://blog.venefyxatu.be//files/images/Screenshots/AwesomeConky.png"
     target="_blank"
    &gt;&lt;img width="200"
     height="125"
     src="https://blog.venefyxatu.be//files/images/Screenshots/AwesomeConkyTHUMB.png"
     alt=""
    /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href="https://blog.venefyxatu.be//files/images/Screenshots/AwesomeConkyMusic.png"
     target="_blank"
    &gt;&lt;img width="200"
     height="125"
     src="https://blog.venefyxatu.be//files/images/Screenshots/AwesomeConkyMusicTHUMB.png"
     alt=""
    /&gt;&lt;/a&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p/&gt;
&lt;p/&gt;</content:encoded><dc:subject>Computers</dc:subject><dc:subject>Linux</dc:subject><dc:subject>AwesomeWM</dc:subject><dc:subject>Conky</dc:subject><dc:creator>Erik</dc:creator><dc:date>2011-05-27T07:09:28Z</dc:date></item><item><title>SNMP trap forwarding to multiple destinations</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2011/05/11/snmp-trap-forwarding-to-multiple-destinations.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/597/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;It's quite simple, really... I'm not sure why it didn't work sooner. All that's needed in /etc/snmp/snmptrapd.conf is this:&lt;/p&gt;
&lt;pre&gt;
disableAuthorization yes

forward default &amp;lt;ipaddr&amp;gt;:162
forward default &amp;lt;ipaddr2&amp;gt;:2162

&lt;/pre&gt;</content:encoded><dc:subject>Computers</dc:subject><dc:subject>Linux</dc:subject><dc:creator>Erik</dc:creator><dc:date>2011-05-11T13:28:15Z</dc:date></item><item><title>Ubuntu frustrations</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2011/05/10/ubuntu-frustrations.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/592/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;I'm installing an Ubuntu 10.04 server at work. Because of proxy and internet configurations I'm installing packages from the CD instead of using the online repo's. No problem, I've done this before on virtual test machines without internet connectivity, it worked flawlessly.&#xA0;&lt;/p&gt;
&lt;p&gt;Only those machines were 8.04. Not 10.04.&lt;/p&gt;
&lt;p&gt;First problem:&#xA0;apt-cdrom add. For some reason it&#xA0;&lt;strong&gt;insists&lt;/strong&gt;&#xA0;that the cd-rom can be found on /dev/sr1. Why it ignores /dev/sr0, which is where the cd-rom&#xA0;&lt;strong&gt;actually&lt;/strong&gt;&#xA0;lives, is beyond me. The solution to this one is to configure a mountpoint in /etc/fstab (to /mnt/cdrom or so), and use&#xA0;&lt;/p&gt;
&lt;pre&gt;
apt-cdrom -d /mnt/cdrom add&lt;/pre&gt;
&lt;p&gt;If you're lucky, apt will mount the cd-rom in /media/apt. If not, try a few more times until it works. If it's going to ignore the mountpoint anyway, shouldn't I be able to just tell apt-cdrom what &lt;strong&gt;device&lt;/strong&gt;&#xA0;to use instead of what mountpoint?&lt;/p&gt;
&lt;p&gt;Of course, after commenting out the online repos in /etc/apt/sources.list and running apt-get update, installing packages still doesn't work. No sirree, that would be too easy.&lt;/p&gt;
&lt;pre&gt;
Failed to fetch cdrom:[Ubuntu-Server 10.04.2 LTS _Lucid Lynx_ - Release amd64(20110211.1)]/pool/main/p/patchutils/patchutils_0.3.1-2build1_amd64.deb File not found&lt;/pre&gt;
&lt;p&gt;And so on and so forth... not a single file can be cound, even though they do exist under /media/apt/pool/main/blablablablabla. You know, the point where&#xA0;&lt;em&gt;apt actually mounted the cd-rom while ignoring my mountpoint?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The solution turns out to be really simple:&lt;/p&gt;
&lt;pre&gt;
ln -s /media/apt /cdrom&lt;/pre&gt;
&lt;p&gt;Yes, you need a /cdrom directory or symlink in which the files on the cd-rom can be found, because the configured mountpoint in /etc/fstab&#xA0;&lt;strong&gt;and&lt;/strong&gt;&#xA0;the one apt chose all by itself aren't enough.&lt;/p&gt;
&lt;p&gt;User-friendly distro my ass...&lt;/p&gt;
&lt;p/&gt;</content:encoded><dc:subject>Computers</dc:subject><dc:subject>Issues</dc:subject><dc:subject>Linux</dc:subject><dc:creator>Erik</dc:creator><dc:date>2011-05-10T06:50:02Z</dc:date></item><item><title>Internet connection upgrade</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2010/12/18/internet-connection-upgrade.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/588/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;I finally got around to picking up my new modem... downtime is imminent as I hope to have my internet connection upgraded soon.
 
 Your patience is appreciated :-)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[ Update ]&#xA0;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Everything's back to normal: internet is stable again, fixed IP&#xA0;has been activated (seriously, "this can take up to 10 days"???) and DNS&#xA0;has been reconfigured. Whoo!&lt;/p&gt;
&lt;p/&gt;</content:encoded><dc:creator>Erik</dc:creator><dc:date>2010-12-18T12:49:26Z</dc:date></item><item><title>apache issues</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2010/11/29/apache-issues.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/585/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;I'm experiencing some issues with my apache server at the moment... the blog seems unaffected for now - I hope it'll stay that way.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: upgrading to python-2.6.6-r1 seems to have solved the issues. w00t!&lt;/p&gt;</content:encoded><dc:subject>Issues</dc:subject><dc:creator>Erik</dc:creator><dc:date>2010-11-29T15:11:06Z</dc:date></item><item><title>pear behind a proxy server</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2010/11/24/pear-behind-a-proxy-server.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/583/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;&lt;style type="text/css"
    &gt;
div.code {
   border-style: solid;
   border-width: 1px;
   font-family: Courier;
}
&lt;/style&gt;&lt;/p&gt;
&lt;p&gt;So it turns out that pear (PHP&#xA0;Extention and Application Repository - http://pear.php.net ) completely ignores the $http_proxy environment variable:&lt;/p&gt;
&lt;div class="code"
    &gt;hostname:~ # &lt;strong&gt;pear install html_Template_IT&lt;/strong&gt;&lt;br/&gt;
No releases available for package "pear.php.net/html_Template_IT"&lt;br/&gt;
Cannot initialize 'channel://pear.php.net/html_Template_IT', invalid or missing package file&lt;br/&gt;
Package "channel://pear.php.net/html_Template_IT" is not valid&lt;br/&gt;
install failed&lt;/div&gt;
&lt;p&gt;Pear has its own configuration, complete with proxy server setting:&lt;/p&gt;
&lt;div class="code"
    &gt;&lt;br/&gt;
hostname:~ # &lt;strong&gt;pear config-show&lt;/strong&gt;&lt;br/&gt;
Configuration (channel pear.php.net):&lt;br/&gt;
=====================================&lt;br/&gt;
Auto-discover new Channels&#xA0;&#xA0;&#xA0;&#xA0; auto_discover&#xA0;&#xA0;&#xA0; &amp;lt;not set&amp;gt;&lt;br/&gt;
Default Channel&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; default_channel&#xA0; pear.php.net&lt;br/&gt;
HTTP Proxy Server Address&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; http_proxy&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &amp;lt;not set&amp;gt;&lt;br/&gt;
&amp;lt;snip&amp;gt;&lt;/div&gt;
&lt;p&gt;So once that is updated with the system proxy server, everything works just fine:&lt;/p&gt;
&lt;div class="code"
    &gt;hostname:~ # &lt;strong&gt;pear config-set http_proxy $http_proxy&lt;/strong&gt;&lt;br/&gt;
config-set succeeded &lt;br/&gt;
hostname:~ # &lt;strong&gt;pear install html_Template_IT&lt;/strong&gt;&lt;br/&gt;
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update&lt;br/&gt;
downloading html_Template_IT-1.3.0.tgz ...&lt;br/&gt;
Starting to download html_Template_IT-1.3.0.tgz (23,309 bytes)&lt;br/&gt;
........done: 23,309 bytes&lt;br/&gt;
install ok: channel://pear.php.net/html_Template_IT-1.3.0&lt;/div&gt;</content:encoded><dc:creator>Erik</dc:creator><dc:date>2010-11-24T15:49:39Z</dc:date></item><item><title>Grub not loading after upgrade from Vista to Windows 7</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2010/09/11/grub-not-loading-after-upgrade-from-vista-to-windows-7.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/571/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;&#xA0;On my work laptop, I dual-boot Windows Vista Enterprise (in case it's necessary at a customer site) and Gentoo (if I get to do things my way ;-) ). I recently decided to upgrade Vista to Windows 7, which worked just fine (after installing a meeljon updates - it had been a while).&lt;/p&gt;
&lt;p&gt;As expected, Windows 7 obliterated my MBR. Bye-bye GRUB, Gentoo LiveCD to the rescue!&lt;/p&gt;
&lt;p&gt;In the livecd I mounted my / (on /dev/sda3), /proc and /dev to /mnt/gentoo and chrooted in:&lt;/p&gt;
&lt;p&gt;#&#xA0;mount /dev/sda3 /mnt/gentoo&lt;/p&gt;
&lt;p&gt;# mount -t proc none /mnt/gentoo/proc&lt;/p&gt;
&lt;p&gt;# mount -o bind /dev /mnt/gentoo/dev&lt;/p&gt;
&lt;p&gt;# chroot /mnt/gentoo /bin/bash&lt;/p&gt;
&lt;p&gt;Now run grub, let it re-write itself to the MBR and everything's happyhappy-joyjoy again, right?&lt;/p&gt;
&lt;p&gt;# grub&lt;/p&gt;
&lt;p&gt;grub&amp;gt; root (hd0,2)&lt;/p&gt;
&lt;p&gt;grub&amp;gt; setup (hd0)&lt;/p&gt;
&lt;p&gt;grub&amp;gt; quit&lt;/p&gt;
&lt;p&gt;# reboot&lt;/p&gt;
&lt;p&gt;Right after POST, I get greeted by a blinking cursor, and that's it. No GRUB, no message, nothing. Just that blinking cursor, mocking me. Back to the livecd, and chrooting into my gentoo installation once again. I used to use grub-install, so I decided to try that again (&lt;strong&gt;important: after chrooting - it's not necessary but the command is different&lt;/strong&gt;!)&lt;/p&gt;
&lt;p&gt;# grub-install /dev/sda&lt;/p&gt;
&lt;p&gt;/dev/sda does not have any corresponding BIOS drive&lt;/p&gt;
&lt;p&gt;Apparently GRUB doesn't have a proper device map. Time to refresh it:&lt;/p&gt;
&lt;p&gt;# grub-install --recheck /dev/sda&lt;/p&gt;
&lt;p&gt;/dev/root: not found or not a block device&lt;/p&gt;
&lt;p&gt;This one is new ... df -h reveals that / is mounted as /dev/root, instead of the expected /dev/sda3 and that /dev/root does not exist (of course - that bind command I used right before chrooting? /dev/root didn't exist in the livecd environment). A symlink ought to fix this:&lt;/p&gt;
&lt;p&gt;# ln -s /dev/sda3 /dev/root&lt;/p&gt;
&lt;p&gt;# grub-install /dev/sda&lt;/p&gt;
&lt;p&gt;One reboot later my grub is back where it's always been, offering me the choice between Gentoo and Windows 7.&lt;/p&gt;</content:encoded><dc:subject>Windows</dc:subject><dc:subject>Gentoo</dc:subject><dc:subject>Issues</dc:subject><dc:subject>Computers</dc:subject><dc:creator>Erik</dc:creator><dc:date>2010-09-11T16:14:39Z</dc:date></item><item><title>Shutting down Windows from Linux</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2010/08/31/shutting-down-windows-from-linux.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/565/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;I had to do some research on how to remotely shut down a Windows computer from a Linux host and decided to share :-)&lt;/p&gt;
&lt;p&gt;My test environment:&#xA0;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Gentoo linux running on my laptop&lt;/li&gt;
    &lt;li&gt;Windows XP SP3 running in a VirtualBox guest&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The command (you need Samba installed on your Linux machine):&lt;/p&gt;
&lt;p&gt;net rpc shutdown -t 10 -f -C&#xA0;"Remote shutdown initiated" -I&#xA0;192.168.56.2 -U&#xA0;Erik&lt;/p&gt;
&lt;p&gt;Broken down, that becomes:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;-t 10 to give users 10 seconds to hit Ctrl-S&lt;/li&gt;
    &lt;li&gt;-f to force applications to quit without asking the user to save (so they can't get in the way of the shutdown)&lt;/li&gt;
    &lt;li&gt;-C&#xA0;"Remote shutdown initiated" is the message that should be displayed to any logged-in users&lt;/li&gt;
    &lt;li&gt;-I&#xA0;192.168.56.2 the IP address at which the machine to shut down is located. In my case, the host-only network adapter&lt;/li&gt;
    &lt;li&gt;-U&#xA0;Erik is my username on the Windows machine. Works also as &amp;lt;hostname&amp;gt;\&amp;lt;username&amp;gt; (don't forget to escape the backslash if your shell requires it!) or as &amp;lt;workgroup&amp;gt;\&amp;lt;username&amp;gt;&lt;/li&gt;
    &lt;li&gt;If you like, you can add -r to reboot the machine instead of shutting it down.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you don't want to be asked for your password, append it to your username with a % sign, like so:&#xA0;-U&#xA0;&amp;lt;username&amp;gt;%&amp;lt;password&amp;gt;&lt;/p&gt;
&lt;p&gt;Of course, with Windows being involved, this doesn't work right out of the box ;-) In my case, after being asked for the password the net rpc command reported "Shutdown of remote machine succeeded". The Windows XP machine didn't shut down. It didn't even show me a message. A little Wireshark magic ended up revealing the error code "WERR_ACCESS_DENIED" being sent across the wire. (note to self:&#xA0;maybe a newer version of samba will actually do something with this error?)&lt;/p&gt;
&lt;p&gt;Long story short:&#xA0;the solution is to have file sharing enabled, but to &lt;strong&gt;disable simple file sharing&lt;/strong&gt;. To do so, open Explorer, go to Tools -&amp;gt;&#xA0;Folder options -&amp;gt;&#xA0;View (yes, it's the most logical place to put this &amp;lt;/sarcasm&amp;gt;) and uncheck "Use simple file sharing"&#xA0;(all the way at the bottom of the list).&lt;/p&gt;</content:encoded><dc:subject>Computers</dc:subject><dc:subject>Linux</dc:subject><dc:subject>Windows</dc:subject><dc:creator>Erik</dc:creator><dc:date>2010-08-31T12:25:24Z</dc:date></item><item><title>E-mail alerts now work</title><link>https://blog.venefyxatu.be/blog/archive/https://blog.venefyxatu.be/blog/archive/2010/08/20/e-mail-alerts-now-work.html</link><guid isPermaLink="false">https://blog.venefyxatu.be/blog/archive/id/562/</guid><content:encoded xmlns="http://www.w3.org/1999/xhtml">&lt;p&gt;I finally got around to fixing e-mail alerts. This means that the contact form now actually works, and I'll get notified of comments on posts so I'll &lt;strong&gt;know &lt;/strong&gt;about them and can react to them :-)&lt;/p&gt;
&lt;p&gt;Go me!&lt;/p&gt;</content:encoded><dc:creator>Erik</dc:creator><dc:date>2010-08-20T09:10:38Z</dc:date></item></channel></rss>

