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

crash slapd with back-ldap (ITS#2923)



Full_Name: Thierry Le Signor
Version: 2.1.22
OS: Red Hat 7.2
URL: 
Submission from: (NULL) (193.51.114.238)


We have an openldap server with a suffix equal to "o=cirad,c=fr". We want to
migrate to the new suffix "dc=cirad,dc=fr". Our e-mail client (Netscape or
Outlook) have in their configuration file the suffix "o=cirad,c=fr". So we
decide to add a proxy server with back-ldap directive to answer to the incoming
requests from an old e-mail client with the old suffix and from a new one with
the new suffix.

extract of the slapd.conf file

#######################################################################
# ldbm database definitions
#######################################################################

defaultsearchbase       "dc=cirad,dc=fr"

#######################################################################
# old database (proxy)
#######################################################################

database        ldap
lastmod         off
uri             ldap://localhost/
suffix          "o=cirad,c=fr"
suffixmassage   "o=cirad,c=fr" "dc=cirad,dc=fr"
rebind-as-user
map             objectclass * *
map             attribute * *

#######################################################################
# new database
#######################################################################
database        ldbm

suffix          "dc=cirad,dc=fr"
include         /opt/openldap/etc/openldap/access.conf
...

It works, except when the e-mail client has case in the suffix in its
configuration file. If the incoming request is for "o=cirad,c=FR", slapd
crashes.

If we change the slapd.conf and replace for the proxy 
suffix  "o=cirad,c=fr"
by
suffix  "o=cirad,c=FR"

incoming requests for "o=cirad,c=FR" work but incoming requests for
"o=cirad,c=fr" get slapd crashed.

Thank you for you help
Thierry Le Signor