[horde] Issues with Ingo and Dovecot-Managesieved
Stuart C. Naifeh
scnaifeh at hotmail.com
Wed Nov 14 21:29:01 UTC 2012
You are right on both counts. I didn't realize I could set euser in hooks,
but I see it checks for a value before setting it, so it should work.
On Wed, Nov 14, 2012 at 4:08 PM, Michael M Slusarz <slusarz at horde.org>wrote:
> Quoting "Stuart C. Naifeh" <scnaifeh at hotmail.com>:
>
> Second, the implementation of the "effective user" concept doesn't seem to
>> work with Dovecot-managesieved. Ingo prepends the username to the
>> authentication credentials sent to the server (again only the bare
>> username, but it wouldn't make a deference), which doesn't seem to work
>> with Dovecot-managesieved. I removed the code from the
>> ingo/lib/Factory/Transport.php file that sets the "euser" auth parameter,
>> and everything works fine.
>>
>
> Why aren't you setting the 'euser' value in transport_auth hook? That
> value is never munged.
>
>
> Also, I think there's a bug in ingo/lib/Factory/Transport.**php.
>>
>> if (!is_array($auth)) {
>> $auth = array();
>> }
>>
>> should be
>>
>> if (!is_array($auth)) {
>> $auth = array($auth);
>> }
>>
>
> Why do you think this? If the transport_auth hook doesn't return an
> array, we discard its value as per the documentation in
> config/hooks.php.dist.
>
> michael
>
> ______________________________**_____
> Michael Slusarz [slusarz at horde.org]
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.**org<horde-unsubscribe at lists.horde.org>
>
>
More information about the horde
mailing list