[horde] User name for applications

Jan Schneider jan at horde.org
Thu Feb 15 22:02:49 UTC 2018


Zitat von Nels Lindquist <nlindq at maei.ca>:

> On 2018/02/14 12:52 AM, Ralf Lang wrote:
> 2
>> Am 13.02.2018 um 22:32 schrieb Nels Lindquist:
>>>
>>> I'm trying to determine how the user's name is set for menus
>>> relating to applications within Horde, eg. "Address book of
>>> [name]", "Task list of [name]", "Calendar of [name]", etc.
>>>
>>> I have two different Horde installations, and in one the Full
>>> Name is displayed for the various menu links, and in the other
>>> the user's ID is displayed.
>>>
>>> I have a fullname hook defined which is working successfully, ie.
>>> the value in "Preferences->Global Preferences->Your full name:"
>>> on both installations is correct.
>>>
>>> I'm having trouble finding any configuration differences between
>>> them.
>>
>> The full name usually comes from preferences/identities. An
>> identity is linked to a username, multiple identities per user can
>> exist. The first identity is the default identity.
>
> My prefs.local.php on both installations (one working, one not) is as
> follows:
>
> <?php
> $_prefs['id']['value'] = 'Default Identity';
> $_prefs['id']['locked'] = true;
> $_prefs['fullname']['hook'] = true;
> $_prefs['from_addr']['hook'] = true;
> $_prefs['from_addr']['locked'] = true;
> $_prefs['default_identity']['locked'] = true;
> $_prefs['initial_application']['value'] = 'imp';
>
> So, users only get the "Default Identity"; their fullname and
> from_addr are (correctly) set by hooks (the hooks pull those values
> out of LDAP).
>> The login name you type into the login window can also be modified
>> by a hook. Then, all horde items refer to the modified login name.
>> The identity must also refer to the modified login name, otherwise
>> it is not used and the fallback display name is the username.
>
> I have a preauthentication hook which normalizes the username
> (hooks.php is also identical on both servers); looking at horde_prefs,
> all the "pref_uid" values are consistent.
>
> - ----
> Nels Lindquist
> <nlindq at maei.ca>

Those names are not generated each time on the fly, but once when the  
user logs in first. So on one server you might have logged in before  
those rules were in place.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the horde mailing list