Can't ldap search InternetAddress attribute

Hi allI wonder if anyone seen this problem. When I do a ldap search for a value of the InternetAddress attribute it will not return any results! When I use the mail attribute it does show results. This used to work well on 6.5.1. After upgrading it seems to work differently. I upgraded the address book to 6.5.4.

example:

ldapsearch -h x.x.x.x -D “user” -w “pass” InternetAddress=a.valid.entry@mydomain.com

I use this search to check if a specific email address exists.

The weird thing is that when I edit a person doc and save it, that entry does return results on the search for the Internetaddress field.

the command

ldapsearch -h x.x.x.x -D “user” -w “pass” objectClass=person InternetAddress

does return internet addresses

I rebuilt the FT and did compact, updall, fixup on the names.nsf but it does not make any difference. Also the DN to log on makes no difference.

Any help greatly appreciated!

Subject: Can’t ldap search InternetAddress attribute

Joris,

Hmmmm… well that’s not the greatest news. =\ If you have a support contract with IBM, would you please submit a problem report for this issue?

Thanks a bunch! =)

+Josh Burchard+

Subject: Can’t ldap search InternetAddress attribute

Did you register these people via the Domino Admin client… or did you add them to the Domino Directory via LDAP? I’ve seen this “things work differently when the document is opened and saved” behavior before when adding entries via LDAP and then subsequently playing with those entries using a Notes client.

+Josh+

Subject: RE: Can’t ldap search InternetAddress attribute

Josh, these people were created using the Admin client, not via ldap

Subject: Can’t ldap search InternetAddress attribute

With regards to LDAPv3 compliance this is actually correct behaviour. Searching for the “mail” attribute in Domino’s schema database returns:

LDAP name: mail; rfc822Mailbox

OID: 0.9.2342.19200300.100.1.3

Notes mapping: InternetAddress

Schema: IETF RFC 1274; X.500 Directory Pilots

“InternetAddress” is the Notes/Domino field name, whereas “mail” is the attribute you want to use for testing the existence of an entry with mail address in question:

ldapsearch -h x.x.x.x -D “user” -w “pass” “mail=a.valid.entry@mydomain.com” “1.1”

HTH,

Uli

Subject: RE: Can’t ldap search InternetAddress attribute

Ulrich,Thanks! That seems to be clear now, it’s just not supported in ldap then. The Mail attribute does work consistently.

Cheers,

Joris