[horde] How to fix ActiveSync GAL names showing as "No Name"
Jan Schneider
jan at horde.org
Wed Dec 19 11:59:19 UTC 2012
Zitat von Oscar del Rio <delrio at mie.utoronto.ca>:
> (I found the answer before I finished posting, so for anyone with
> the same issue...)
>
> I have a LDAP read-only addressbook configured as GAL for ActiveSync devices.
> The device (iphone) was getting the email addresses from the GAL,
> but without names (showing as "No Name").
>
> The fix was to add mapping for firstname and lastname to the
> localldap addressbook.
> It seems the iphone uses firstname + lastname as display name.
>
> In turba's backends.local.php:
>
> // Add firstname and lastname mapping
> $cfgSources['localldap']['map']['firstname'] = 'givenName';
> $cfgSources['localldap']['map']['lastname'] = 'sn';
>
> Hope that helps someone.
>
> Oscar del Rio
> Univ. of Toronto
That shouldn't be necessary. If the lastname attribute doesn't exist,
the lastname and firstname attributes are guessed from the name
attribute.
--
Jan Schneider
The Horde Project
http://www.horde.org/
More information about the horde
mailing list