I'm trying to set up LDAP to track the last login of users via the slapo-lastbind overlay. I'm using the the OpenLDAP package supplied with Ubuntu 10.04 LTS. I've cloned the git repository referenced on openldap.org, switched to the lastbind directory in contrib and then ran make and make install. Then I've copied the lastbind.so* and lastbind.la files to /usr/lib/ldap and adjusted the permissions accordingly. Afterwards, I've added lastbind to cn=module to load the module. However, slapd does not start anymore and I get the following error in syslog:

kernel: [2716850.919891] slapd[15422]: segfault at 6 ip 00007f0e1555ba36 sp 00007fff70b26118 error 4 in libc-2.11.1.so[7f0e15435000+17a000]

Am I doing something wrong?

Best regards,