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

Search for mail attribute fails



Hi,

mysteriously I can search for attributes like gecos:

  ldapsearch -x -b "dc=office-b,dc=jamba,dc=net" "(gecos=Marc*)"

But looking for mail addresses (simplified form of a Mozilla LDAP query) fails:

  ldapsearch -x -b "dc=office-b,dc=jamba,dc=net" "(mail=j*)"

The entry at the end of the mail should show up as answer to the mail query. The only reference to the mail attribute in my slapd.conf is

  index           mail eq

Any idea what precondition has to be fulfilled to get an answer to the query for a mail address (debian woody, openldap 2.0.23)?


Thanks in advance,

Andreas


dn: cn=JAMBA Template v3,ou=People,dc=office-b,dc=jamba,dc=net objectClass: top objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: krb5Principal objectClass: person objectClass: account objectClass: posixAccount objectClass: shadowAccount objectClass: sambaAccount sn: Surname givenName: Givenname cn: JAMBA Template v3 ou: People displayName: Surname Givenname telephoneNumber: JambaTelephone mail: jamba-template@jamba.net mobile: MobilePhone uid: jamba-template uidNumber: 4711 gidNumber: 4712 gecos: Surname Givenname homeDirectory: /home/jamba-template loginShell: /bin/bash description: Optional description shadowLastChange: 10877 shadowMin: 0 shadowMax: 999999 shadowWarning: 7 shadowInactive: -1 shadowExpire: -1 shadowFlag: 0 krb5PrincipalName: jamba-template@OFFICE-B.JAMBA.NET userPassword:: e0tFUkJFUk9TfWphbWJhLXRlbXBsYXRlQE9GRklDRS1CLkpBTUJBLk5FVA== rid: 42 lmPassword: fromPwdump ntPassword: fromPwdump smbHome: WindowsHomeDirectory homeDrive: H: scriptPath: WindowsLoginScriptDirectory profilePath: PfadForRoamingProfiles domain: WindowsDomain creatorsName: cn=admin,dc=office-b,dc=jamba,dc=net createTimestamp: 20030508071411Z modifiersName: cn=admin,dc=office-b,dc=jamba,dc=net modifyTimestamp: 20030508071411Z