How to enforce samba-like policy upon file or directory creation at the filesystem level thanks to linux ACL.
inconsistent duplicate attribute mailhost
Adding a new schema in LDAP can give you headache. I've the cure for this one: Inconsistent duplicate attributeType: "mailHost" This is due to a new misc.schema that is now default in Ubuntu Lucid at least (and maybe other distribution) …
simple gnome-terminal bomb
In the need of an (other) argument against gnome-terminal (as of version 2.30.2-0ubuntu1 in lucid) ? Run this command in a more than 200+ column wide terminal: for _c in $(seq 1 512); do for i in $(seq 1 $(stty …
Inheriting from a builtin strangeness
In python, when inheriting from a builtin, you must be carefull as your object won't follow common rules.
Enabling Ctrl-S for forward-history-search in bash
Ctrl-R and Ctrl-S are advertised in every readline command-line to do backward and forward search in your command history (as emacs does on text with the same shortcuts). And you've probably come to the fact that if Ctrl-R is working …
Postfix from scratch – episode 2 – mail delivery
In previous blog entry, we have seen that postfix (on debian systems) can be installed with an empty (but existent) configuration file. This is only possible because all values have defaults. postconf (called with no arguments) is a tool to …
Postfix from scratch – episode 1 – open relay
Let's play a little with installation of postfix along the setup of complete solution. Before we start I'll be illustrating what is directly possible through the use of netcat on SMTP/25 port. So you might concider installing it. # sudo …
Import / Export ldap database
Importing data to LDAP server didn't sound obvious for me, so here's how to import / export ldap database. This is usefull if you want to migrate your LDAP database from one server to another. Export Export seems quite easy …
How to add a schema in OpenLDAP 2.4
In version prior to 2.4, administrators were used to configure slapd through its /etc/ldap/slapd.conf. That was good ol' time. Since version 2.4, slapd configuration is stored right in itself !. This may sound as a good idea, but is really …
Import Contacts with Gammu
After syncing my contacts between Thunderbird / Google / iPhone I realized that all my contacts were stuck in my old phone (Nokia 6230). I'll explain here how I managed to extract all the contact info from Nokia phone to …