Here's the corresponding config-lines from my config.php

$lookup_password_query = 'SELECT count(*) FROM accountuser WHERE username
= "%2" AND password = %4';

$password_update_queries = array('UPDATE accountuser SET password = %4
WHERE username = "%2"',)

> What type of encryption should be match with web-cyradm "crypt" option.

It's PHPCRYPT

> And i m lack of knowledge on this part to integrate with web-cyradm....

$csp_salt_static = '';
$csp_salt_query = 'SELECT password as salt FROM accountuser WHERE username
= "%2"';

With these options I got mine working, hope you do too. I searched
web-cyradmin sources for the encryption-portion and figured the encrypted
password should be used as salt. I'm not familiar with encryption
techniques, please correct me if you know better.

  Mikko


_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to