[sork] PASSWD with MySQL, Postfix, VirtualDomains/Users

Jan Schneider jan at horde.org
Fri Dec 7 10:28:50 UTC 2007


Zitat von Gustavo Verduzco Vazquez <info at gustavoverduzco.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> No. Check the log files. Make sure your backend setting are correct,
>> i.e. switch back the "regular" sql backend etc.
>
> Thanks again Jan, I am not sure exactly what do you mean by "regular"
> sql backend. On my backends.php file I only have one backend, and it
> kinda looks like this:

>          'query_lookup' => 'SELECT password FROM users WHERE email = %u',
>          'query_modify' => 'UPDATE users SET password =
> ENCRYPT(\'%p\') WHERE email = \'%u\''

Do *not* use custom queries anymore. You used them because you tried  
to circumvent Passwd not supporting the ENCRYPT function.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sork mailing list