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

Re: registeredAddress, postalAddress and homePostalAddress trouble



"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> a écrit :

Various list matching rules are not implemented, hence any
assertion of these rules will evaluate to Undefined.

So, you think that postalAddress is not implemented ?
I found that curious, because it is commonly used.

And it can't explain I can't define sub index (for example) for postalAddress
while this index is defined within core.schema

Don't you think so ?

Ragards

Pascal -- FRANCE
Kurt


At 07:08 PM 2/9/2005, pascal@linuxorable.net wrote:
Hi,

I am using OpenLDAP 2.1.30-3 on Debian/Sid

I have this trouble but I don't why:

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


work fine (return all entries which contain such attributes) but

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)


Part of my slapd.conf:

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/nis.schema
[...]
index       objectClass             eq
index       cn,sn,mail,uid          pres,eq,sub
index       departmentNumber        eq
index       postalAddress           pres

One LDAP entry:

# BOYER Pascal, carnet adresses, linuxorable.net
dn: cn=BOYER Pascal,ou=adresses,dc=linuxorable,dc=net
cn: BOYER Pascal
departmentNumber: Informatique
givenName: Pascal
homePhone: 0478 486 732
homePhone: 0887 630 741
l: Valence
mail: pascal@linuxorable.net
mobile: 0676 009 007
objectClass: top
objectClass: inetOrgPerson
postOfficeBox: 26000
postalAddress: 4 rue du rien
postalCode: 26330
registeredAddress: Les Granges
sn: BOYER
telephoneNumber: 0478 400 352
homePostalAddress: 17 rue de bien


Thank you for your help

Pascal -- FRANCE

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






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