[horde] passwd does not substitute placeholder in backend.conf

Franz Georg Köhler an7ilb$bk0f4$5 at openunix.de
Wed Dec 21 06:22:31 PST 2005


Kevin M. Myer <kevin_myer at iu13.org> wrote:
> Quoting Franz Georg Köhler <an7ilb$bk0f4 at openunix.de>:
>> Hello averyone,
>>
>> I recently set up horde with passwd.
>>
>> Passwd is supposed to use a mySQL backend.
>>
>>
>> Unfortunately, passwd does not replace the placeholder in backend.conf
>> (%u):
>>
>> Dec 17 19:55:17 HORDE [debug] [passwd] SQL Query by 
>> Passwd_Driver_sql::_lookup(): SELECT clearpw FROM testpop WHERE 
>> domain_name = SUBSTRING_INDEX(?, @, -1) AND  local_part = 
>> SUBSTRING_INDEX(?, @, 1) [on line 110 of 
>> "horde/passwd/lib/Driver/sql.php"]
>>
>> Actually, passwd should replace %u with the user's name and %p with the
>> user's password.
>>
>> Instead, we see just a ?.
>>
>> Could this be related to the fact that authentification is handled by
>> IMP via IMAP?
> 
> The SQL statement doesn't have the actual values that are passed.  The 
> '?' are just placeholders.  You would need to enable logging on your 
> database and check the logs there for the actual values being passed.

Hello,


this is correct.
But isn't horde/passwd supposed to replace the placeholders with the
actual values?

SQL logging won't help here since it will just show that the values are
missing - as does the horde log...


So my question is:
What could cause horde/passwd not to expand the %u and %p placeholders
in backend.conf?




More information about the horde mailing list