Creating a password protected YUM repository

Setup http authentication in httpd.conf file (encouraged rather than using .htaccess):

<Directory /var/www/repo>
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/apache2/passwords/repo
Require valid-user
</Directory>

Create auth user password file:

htpasswd -c /etc/apache2/passwords/repo repouser

Restart apache.
Create repo:

yum install createrepo # or equivalent
mkdir /var/www/repo
cp *.rpm /var/www/repo
createrepo /var/www/repo

To use the repo, on the [...]

LDAP – Setting up an address book that Evolution likes

The goal of this exercise was to create an LDAP address book that the Gnome Evolution mail client would read and write. It tooks 3 days to get to the bottom of this. Getting some trivial functionality working was easy. Getting (nearly) all the Evo contact fields to work, with security enabled on [...]