[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problem with slapo-lastbind => segfault



Thanks for your answer! That's probably it... problem is though that there is no lastbind module for 2.4.21 (Ubuntu 10.04 package), so I'll need to upgrade openldap first.


On Sun, Jun 17, 2012 at 3:52 AM, Philip Guenther <guenther+ldaptech@sendmail.com> wrote:
On Sun, 17 Jun 2012, Mark Goldenstein wrote:
> 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?

The OpenLDAP project doesn't guarantee a stable module ABI, so you must
build modules in the build tree of the server that you're running.


Philip Guenther