HOWTO install smbldap-tools on SLES10

You can download smbldap-tools from their homepagedon’t!

If have searched yast for smbldap-tools, you will probably (like me) have found nothing. I tried to install the platform independent RPM package. Only to find that I was missing:

perl(Unicode::MapUTF8) is needed by smbldap-tools

Well there is not specific package for smbldap-tools for SLES 10… but I found that the perl scrips is included in the samba-doc package. After you have installed the samba-doc package, you will be able to find somewhere like this:

/usr/share/doc/packages/samba/examples/LDAP/smbldap-tools-0.9.1

The version might vary when new service packs arrive.

Now copy the the following files to /usr/local/sbin/:

smbldap-groupadd
smbldap-groupmod
smbldap-passwd
smbldap-tools.spec
smbldap-userdel
smbldap-usermod
smbldap_tools.pm
smbldap-groupdel
smbldap-groupshow
smbldap-populate
smbldap-useradd
smbldap-userinfo
smbldap-usershow

And copy the following configuration files to /etc/smbldap-tools:

smbldap.conf
smbldap_bind.conf

From here you are on your own :)

Ubuntu (and Linux in general) proving its worth

Yesterday I updated my kernel on my laptop after a record uptime (for me on my laptop anyways ;)):

16:26:58 up 42 days,  7:21,  3 users,  load average: 1.12, 1.46, 1.04

42 days without an update to the kernel in Ubuntu… I dunno if thats good or bad. But one thing that is really cool is that in all this time I used my suspend to ram function, and the laptop haven’t died on me once. It occasionally did in all the previous versions of Ubuntu. So I just wanna send a kudos to the developers.

Whenever the update manager notifies me about upgrades I usually just install it, though with a kernel update I try to push it to avoid rebooting. But this time I was excited because I noticed that the kernel apparently had a fix for the bug reading large SD cards I mentioned in an earlier post.

I can confirm that this is now fixed… YAY!

Anyways… im now gonna put an encrypted file system on the SD card for my gpg key, ssh key, VPN keys etc. I hope I can give it another label as well.

Howto enable Unix Attributes in Windows 2003 R2

With the latest version of Windows Server 2003 R2 it is no longer needed to install Windows Services for UNIX, since this is now a part of Windows Server 2003, though not enabled by default.

To enable it open Control Panel -> Add or Remove Programs. Now click on Add/Remove Windows Components. Double click on Active Directory Services and select Identity Management for Unix.

After this… surprise… you have to restart the Windows Server :-D

Now you should be able to see the “Unix Attributes”-tab when looking on properties for a user.

Free VMware server on SLES10 minimum install

First install a minimum SLES10 (only using selectiong Server Base).

I have a few issues with the minimum install thing in SLES10 (I had kind of the same feeling with SLES9):

  1. Why do I have to use CD2 to install a 76 kilobyte Zenwork Managemnet Daemon. Why not put it on CD1? It seems really lame that you cannot make a minimum install with CD1.
  2. No I really don’t want the Network Mmanager to manage my ethernet interface on my server… I want to give it a static ip. Ahhh I can disabled it. But why do SLES10 still want to install the network-manager package?… and worse all its dependencies is the reason why I choose the minimum install in the first place. Luckily after the install you can choose to use the old way of configuring network from within YAST.

Besides from that SLES10 have so far made a good impression on me.

I usually turn off the services slpd and portmap.

Preparing server for VMware

Extra packages needed:

xorg-x11-libs
gcc
kernel-source

Now install the the free VMware Server from www.vmware.com:

Large SD card hangs Ubuntu Edgy

Damn… never brag about uptime :-(

Today I received a 2GB SD card which I’m going to use to store ssh and gpg keys on. Of cause I’m going to encrypt it like I wrote about some days ago. When I inserted the SD card into my laptop everything just froze… it guess I’m hit by bug #61758. Ubuntu Edgy uses kernel 2.6.17 which seems to be affected by this bug. It should be fixed in 2.6.18 though.

I’ll try to patch my kernel module… god I hoped those days where over. Exciting to see if I can even remember how to do it. I hope this gets fixed soon, life is to short to compile kernel modules. My laptop should just work.