[horde] username always null in prefs_init hooks with LDAP auth

Guenter Bartsch guenter.bartsch at gmail.com
Fri Oct 11 16:31:31 UTC 2013


Jan,

On Tue, Oct 8, 2013 at 10:54 AM, Jan Schneider <jan at horde.org> wrote:

>> > The hooks is only called if the preference or identities are not set yet,
>> > i.e. for guests or new users.
>>
>> hmm - actuall my log output clearly shows the hook is being called
>> each time I log in so this is (for whatever reason) not the problem in
>> our case.
>>
>> the real issue is no username is passed
>
> Because it is called for the guest (unauthenticated) user, which has
> never a preference stored.

ah - that explains the behavior :)

ist there any way I could 'reset' an account back to a state before
the first login so the hook would get called? would be useful for
testing purposes as well.

thanks,

   guenter


More information about the horde mailing list