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

Re: registeredAddress, postalAddress and homePostalAddress trouble

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


At 07:08 PM 2/9/2005, pascal@linuxorable.net wrote:
>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=*)'
>ldapsearch -h localhost -x -b "dc=linuxorable,dc=net" '(homePostalAddress=*)'
>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"
>ldapsearch -h localhost -x -b "dc=linuxorable,dc=net"
>ldapsearch -h localhost -x -b "dc=linuxorable,dc=net"
>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.