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

Re: registeredAddress, postalAddress and homePostalAddress trouble





--On Thursday, February 10, 2005 4:08 AM +0100 pascal@linuxorable.net wrote:

ldapsearch -h localhost -x -b "dc=linuxorable,dc=net"
'(postalAddress=*<something>*)'
and
ldapsearch -h localhost -x -b "dc=linuxorable,dc=net"
'(homePostalAddress=*<something>*)'
and
ldapsearch -h localhost -x -b "dc=linuxorable,dc=net"
'(registeredAddress=*<something>*)'

don't work !
(all other attributes work perfectly)

The only index I can define for these attributes is "pres" (other index
are not allowed => error message when restarting slapd)

The non-working ones are substring searches. You need to add a substring index for them.


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin