[sork] vacation \U (full user name) not full

dev at stean.ch dev at stean.ch
Sat Jul 18 06:47:28 UTC 2009


Quoting Jan Schneider <jan at horde.org>:

> Zitat von dev at stean.ch:
>
>> 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 user1 at example.com 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.




More information about the sork mailing list