Showing posts with label intrepid. Show all posts
Showing posts with label intrepid. Show all posts

Thursday, October 9, 2008

Winbind in Intrepid

We use winbind at work to auth our Ubuntu desktops to Active Directory. I am the first to upgrade to Intrepid, in which winbind seems to be broken. It fails at random intervals (or so it seems). The way I found easiest to get it back up is to run wbinfo -u. If you don't do this, you can't use sudo, pwd won't work (a lot of stuff breaks, essentially). So, to hack around it, I wrote a script called keepActiveDirectoryAlive and put it in $HOME/bin.

keepActiveDirectoryAlive:


#!/bin/bash

while true
do
sleep 30s; wbinfo -u;
done


Easy! This probably isn't the best or most efficient way to do this, so if you have a better idea, I am more than welcome to suggestions.

I set this to start with GNOME in my Sessions. I also had to set wbinfo -u to run in /etc/rc.local (though I seem to remember Ubuntu/Debian ignoring this file) so that I can login through GDM. It seems to be working as expected.

VMware 6.5 Workstation, Vista guest, Intrepid host

Weird. In my Vista VM, Vista thinks my down-arrow key is right-super, the enter key is the down arrow, left-arrow is right-alt, right-arrow is right-ctrl, etc...

Keyboard map on Vista is Standard 101/102 key and on Intrepid, the map is us pc105.

Any thoughts on this? It is really annoying...