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

slapd dumps core - with 32 ou's on seperate back end ldbm db




Hi,
         Here we are trying to use openldap for authentication of users .

The version on openldap used is "2.0.x" taken from root of CVS
Installed on sun os
configured with option "./configure --enable-meta --enable-rewrite
--enable-ldap"


The schema has been designed in such a way that we have multiple ou's on
individiual
ldbm databse( purpose of seperate backend ldbm database is for selective
replication) . I have given below  a portion of slapd.conf. Here the ou 's being
"tamilnadu" and "maharashtra".We have around 32 similar ou's defined in
slapd.conf file

database     ldbm
suffix              "ou=tamilnadu,o=xyz"
rootdn           "cn=Manager,o=xyz"
rootpw           bumbum
directory       /mail/chennai
index default pres,eq
index uid

database     ldbm
suffix              "ou=tamilnadu,o=xyz"
rootdn           "cn=Manager,o=xyz"
rootpw            bumbum
directory        /mail/maharashtra
index default pres,eq
index uid

database      ldbm
suffix               "o=xyz"
rootdn           "cn=Manager,o=xyz"
rootpw            bumbum
directory        /mail/ldbm
index default pres,eq
index objectClass

When i do an ldapadd for all the 32 ou's . slapd terminiates with a core dump
exaclty after adding the 12th "ou". Which is shown below.

     sh-2.02# ldapadd -x -D "cn=Manager,o=xyz" -w password -f enter1.ldif
     adding new entry "ou=unknown,o=xyz"

     adding new entry "ou=tamilnadu,o=xyz"

     adding new entry "ou=maharashtra,o=xyz"

     adding new entry "ou=gujarat,o=xyz"

     adding new entry "ou=delhi,o=xyz"

     adding new entry "ou=punjab,o=xyz"

     adding new entry "ou=bengal,o=xyz"

     adding new entry "ou=karnataka,o=xyz"

     adding new entry "ou=andhra,o=xyz"

     adding new entry "ou=kerala,o=xyz"

     adding new entry "ou=uttar,o=xyz"

     adding new entry "ou=madhya,o=xyz"

     adding new entry "ou=pondicherry,o=xyz"
     ldap_add: Unknown error


gdb of slapd with the core dumped gives

     (gdb) where
     #0  0xef554d1c in __sigprocmask () from /usr/lib/libthread.so.1
     #1  0xef54ba44 in _resetsig () from /usr/lib/libthread.so.1
     #2  0xef54b18c in _sigon () from /usr/lib/libthread.so.1
     #3  0xef54dfe0 in _thrp_kill () from /usr/lib/libthread.so.1
     #4  0xef5ba5d8 in abort () from /usr/lib/libc.so.1
     #5  0xea254 in __eprintf ()
     #6  0x2c1f0 in entry_free ()
     #7  0x2af10 in do_add ()
     #8  0x27570 in connection_done ()
     #9  0x6b6e0 in ldap_pvt_thread_pool_destroy ()

Can somebody help us on this.. Thanks in advance

Regards
Susanth
Satyam Infoway Ltd