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

suffixalias does not work on BDB backends (ITS#2117)



Full_Name: Rick van Rein
Version: 2.1.5 + 2.0.25
OS: MacOS X + FreeBSD
URL: 
Submission from: (NULL) (130.89.15.246)


Hello,

I am not certain if this is supposed to be a separate bug report, or that it is
already being worked on.

The suffixalias config that Howard Chu proposed on the openldap-software list
does not work, although it does circuimvent my original problem of a blocked
slapd thread.  I reproduced the now-remaining problem on 2.1.5 on MacOS X and
FreeBSD, as well as on 2.0.25 on FreeBSD.

Relevant slapd.conf lines are:
   access to * by * write
   database        bdb
   suffix          "dc=my-domain,dc=com"
   suffixalias     "o=MyDomain,c=nl" "dc=my-domain,dc=com"

It responds with a load of objects when I do
   ldapsearch -b 'dc=my-domain,dc=com'
but it does not work with
   ldapsearch -b 'o=MyDomain,c=nl'
namely, it reports
   # search result
   search: 2
   result: 32 No such object

This does not change when MyDomain is spelled in lowercase in config file and/or
query.

Clearly, I'm having a non-standard wish to support both naming schemes, but it
would seem that I make proper use of OpenLDAP features, so I suppose this is a
bug that could use a fix.

Thank you,
Rick van Rein.