Archive for October, 2009

RSS and mercurial

October 27th, 2009 | Category: Programming

In a surprisingly well-kept secret, HgWeb and HgWebDir support RSS. Details below.
Read more

1 comment

LDAP, PAM, SSHA, and CRYPT on RHEL 5

October 25th, 2009 | Category: Networking

I’m putting this here because it took me two days to figure this out. RHEL 5 (or CentOS 5) has openLDAP broken out of the box. It does not handle SSHA password encryption (the default for openLDAP) properly. If you want openLDAP authentication to work with PAM on CentOs 5.3 you MUST edit the /etc/openldap/slapd.conf to contain:

password-hash    {CRYPT}

If you do not then as soon as you use ldappasswd to change a password your user will no longer be able to log in. That is all.

Comments are off for this post