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

Re: registeredAddress, postalAddress and homePostalAddress trouble

Dave Horsfall <daveh@ci.com.au> a écrit :

On Thu, 10 Feb 2005 pascal@linuxorable.net wrote:

I tried this: (slapd.conf:)

index      postalAddress           sub
index      homePostalAddress       sub
index      registeredAddress       sub

but I get:

# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd - failed:
/etc/ldap/slapd.conf: line 379: substr index of attribute "postalAddress"

This is just a guess, but did you physically rebuild the indexes with "slapindex"?

Ok, let's go: # slapindex /etc/ldap/slapd.conf: line 379: substr index of attribute "postalAddress" disallowed slapindex: bad configuration file!

and I get this message for the three attributes.

Pascal -- FRANCE

Dave Horsfall DTM VK2KFU daveh@ci.com.au Ph: +61 2 8425-5508 (d) -5500 (sw)
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia

---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.