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

Re: (ITS#5491) slapd crashes with ldappasswd



--On Wednesday, April 30, 2008 10:34 PM +0000 Deepak.Cheema@emerson.com 
wrote:

> Full_Name: Deepak Cheema
> Version: 2.4.8
> OS: Red Hat Linux 3.0
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (144.189.5.201)
>
>
> Just built, installed openldap 2.4.8 and slapd starts up fine using the
> following
>
> slapd -f slapd.conf -u root
>
> as root user on default port 389
>
> [root@dl2k245 libexec]# ps -ef|grep slapd
> root     15065     1  0 15:31 ?        00:00:00 ./slapd -f
> /dbapps/informatica/l
> dap/etc/openldap/slapd.conf -u root
>
> The process stays up as long as I don't type the ldappasswd command to
> get the encrypted password a new user...
>
> once I type in ldappasswd... this is what happens..
>
> [root@dl2k245 bin]# ldappasswd
> SASL/DIGEST-MD5 authentication started
> Please enter your password:
> ldap_sasl_interactive_bind_s: Can't contact LDAP server
>         additional info: SASL(0): successful result: security flags do not
> match
>  required
> [root@dl2k245 bin]# ps -ef|grep lapd
> root     15077 14561  0 15:32 pts/3    00:00:00 grep lapd
>
> and the slapd process is no longer there...
>
> Any ideas why it might be happening or how to debug this?
> I tried dbg but it did not tell me much.. maybe I did not use it
> correctly...
>
> Any help is appreciated !

gdb the slapd process, let it run, and then run your ldappasswd command and 
see where it is segfaulting.  Provide a backtrace, etc.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration