On Nov 4, 2007 at 2:11am Josh wrote:
> Is there a way to store c2s passwords in the database as MD5 hashes?  More
> to the point, is it easy to use an existing database full of usernames and
> MD5-hashed passwords?

If you want to use an existing database full of usernames and MD5-hashed 
passwords you can use the pipe authreg module and write a small script that 
implements the CHECK-PASSWORD functionality.  It should accept the username, 
password and realm as input, md5 the password, and check that it is the same as 
the version in the database.

At stated earlier, this DOES mean you can't use the digest-md5 authentication 
mechanism--you'll have to use plain.  And so it might be wise to 
require-starttls.

-Mark
_______________________________________________
Jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com

Reply via email to