Allow Address Book to display City from Open Directory

Jun 17, '04 12:31:00PM

Contributed by: Anonymous

I found that when using Apple's Address Book to access their Open Directory that it wouldn't show the city. The LDAP standard for the city is the "l" attribute or "localityName". You have to add the "l" attribute via LDAP as when you try to add the city attribute in the Workgroup Manager, it will give you an error when saving. I noticed article on Apple's support site regarding a similar error in Workgroup Manager, and they mention remapping the Open Directory attributes.

If you change the LDAP Directory Mappings from Open Directory to Custom and edit them, you will find that the User -> City attribute is mapped to 'locality,' which is not a valid LDAP attribute. Changing the value to 'l' allowed my Address Book to see the City.

This didn't have any effect on Workgroup Manager, however, but changing the value on the server itself might.

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040616213457578