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

pb with subordinate (ITS#2214)

Full_Name: Vincent MATHIEU
Version: 2.1.8
OS: linux redhat 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I'd like to use the 'subordinate' directive like that :

database	ldbm
suffix		"ou=etudiants,dc=univ-nancy2,dc=fr" 

database	ldbm
suffix		"ou=pers,dc=univ-nancy2,dc=fr" 

database	ldbm
suffix		"dc=univ-nancy2,dc=fr"

If I ask with base ou=etudiants,dc=... or base ou=pers,dc=... , it works

If I ask with base dc=... or base dc=..., it works for a few requests (4 - 5),
and I rapidely have a segmentation fault.

Here is my configure :

 env CPPFLAGS="-I/usr/local/BerkeleyDB/include -I/usr/local/OpenSSL/include"\
LDFLAGS="-Wl,-rpath,/usr/local/BerkeleyDB/lib,-rpath, \
/usr/local/OpenSSL/lib,-rpath,/lib,-rpath,/usr/lib -L/usr/local/BerkeleyDB/lib\
-L/usr/local/OpenSSL/lib" ./configure --prefix=/usr/local/openldap-2.1.8 \
--disable-ipv6 --with-cyrus-sasl=no --with-tls \
--enable-slurpd  --enable-shared --enable-ldbm --with-ldbm-api=berkeley \
--with-threads --enable-crypt 

Here is a debug 1023, for the request (uid=cyrus)

ss<= acl_get: [1] acl ou=People,ou=ETUDIANTS,dc=univ-nancy2,dc=fr attr:
ss=> acl_mask: access to entry "ou=People,ou=ETUDIANTS,dc=univ-nancy2,dc=fr",
attr "objectClass" requested
ss=> acl_mask: to all values by
"uid=vmathieu,ou=people,ou=pers,dc=univ-nancy2,dc=fr", (=n)
ss<= check a_dn_pat: *
ss<= acl_mask: [1] applying read(=rscx) (stop)
ss<= acl_mask: [1] mask: read(=rscx)
ss=> access_allowed: read access granted by read(=rscx)
ssconn=0 op=2 ENTRY dn="ou=People,ou=ETUDIANTS,dc=univ-nancy2,dc=fr"
ss<= send_search_entry
ss====> cache_return_entry_r( 21933 ): created (0)
sssend_search_result: err=0 matched="Àß^RBÀß^RBnancy2,dc=fr" text=""
sssend_ldap_response: msgid=3 tag=101 err=0
ssconn=0 op=2 SEARCH RESULT tag=101 err=0 nentries=6 text=
ssdaemon: activity on 1 descriptors
ssdaemon: activity on:
ss 9r
ssdaemon: read activity on 9
ssconnection_get(9): got connid=0
ssconnection_read(9): checking for input on id=0
ssber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
ss>>> dnPrettyNormal: <uid=cyrus, ou=ETUDIANTS, dc=univ-nancy2,dc=fr> 

and segmentation fault