Re: vacation \U (full user name) not full

[email protected] Sat, 18 Jul 2009 08:47:28 +0200
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Quoting Jan Schneider <[email protected]>:

> Zitat von [email protected]:
>
>> hello all,
>>
>> installed vacation h3-3.1, using the sql driver with custom queries.
>> the configuration help says that \U will be substituted with the
>> full user name, but it is not. for [email protected] i get user1.
>>
>> had also installed forwards, with the same settings where i get
>> the full user name as expected, again with an sql backend.
>>
>> do i missunderstand the configuration or is this an error in the
>> vacation module ?
>
> Sounds like a bug.
>
> Jan.
>

Hello Jan,

vacation its Driver.php::Vacation_Driver($user, $params) function
looks like a possible source of the problem. it checks if hordeauth
property is set to full, if not sets the user to the name only, without
domain. however that hordeauth parameter has 3 possible values:
false,true,full.

as far as i understand, only true should strip domain.

so setting hordeauth to full, i have vacation running properly, and
the user is not requested to enter a password that is not checked
anyway by horde.

problem solved for me.


--
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]