For our special situation I needed to have separate attributes for a
given contacts multiple email addresses. So I subclassed inetOrgPerson
and added two new attributes, mail2 and mail3, identical to the mail
attribute of inetOrgPerson. If I do an ldapsearch like so
ldapsearch -x -b 'ou=people,dc=neotool,dc=com'
'mail=mike.stockemer@neotool.com'
The search is successfule and returns all attributes, even mail2 and
mail3 for contacts who have this information. If I do the same search
with email2 I get an error :80 unknown error.