Samba shares on NFS mounted filesystem - bad idea

Today I implemented a strage server at a customer… the result wasn’t satisfying. I shared the files with NFS to the other servers. Samba shares of NFS mounted filesystems are NOT recommendable! It makes Outlook fuck up if you have your pst files on a samba share and the finacial system C5 can only have one user logged in because NFS make some locks on files (at least I think that is the reason).

Anyways… just wanted to tell you all to test twice (or some more) before you do something like that. I have’t looked further into it, to see if it is possible to optimize on some settings.

Attention you english speaking (and Java coding) people... FriFinans is calling

Yesterday I translated the danish “getting started coding” guide into english. One less excuse for not contributing to FriFinans. It is all pretty straight forward but if you should get stuck you are more than welcome to contact me.

For those how don know what FriFinans is… It’s an open source multiuser accounting system soon to take over the world ;-) We have put alot of thoughts in the design fase until now and I’m really proud of the outcome… Frank has been great. I really think FriFinans has a solid and thought through base for the application.

Right now Frank is working on the foundation af advanced history logging, and through that the ability to roll back changes made to objects (ie. a debtor).

Migration from old 8-bit locales to UTF-8 locales

Several times I have had “great fun” converting filenames from the old 8-bit locales to use the new UTF-8 locales. Everytime, I used some time to find find a tool for it because everytime I forget the name of the tool convmv. The fuckup usually shows itself on the file server (Samba) where the users happily uses æøå for filenames.

Now I’ll blog about so hopefully next time I can remember the name of the tool or atleast just make a search on my blog.

Debian has packages in their repository bu for SLES you need to download the tool manually. I found the tool on

Logging software installation/removal on Debian based systems

At work we have several servers running Debian anb because we are multiple persones maintaining them we end up having software (packages) installed that no one remember the reason for. I thought I would be of great if apt/dpkg had some build-in preference you could enable so people had to ad a comment why they install the software which they are about to, and the comment would be saved along with a list of the packages installed. Perhapes if using sudo you could also log who is installing what. You cannot trust that people always will leave a name for a number of reasons. I think the two greatest reasons would be:

  • pure laziness
  • hiding that they are about to fuck something up

I have to google around some more, to see if something like this have actually been implemented.

A colleague pointed out that ‘rpm’ have the ability to roll back you system to a specific day… though havn’t tried it so sadly I don’t know how well it works. But that would be a great thing to have in ‘dpkg’ also.

My first patch to FriFinans in the longest time

After alot of tutoring by my great colleague Frank Bille I have wrote a small, yet good patch for FriFinans. It saves you from a key stroke every time you enter data a field in the lists.

Before when you wrote a date in a field you and pressed Enter the date would be validated and the field state would change from editable to just showing you the inserted value (if ofcourse the value was valid). Then you had to press Enter again for the focus to move to the next field.

Now when you hit Enter and if the value in the edited field is valid, the focus will automatically shift to the next field. This new funcionality isn’t ofcourse limited to the date field but to all fields in tables.