Dear list,

I am trying to get aprox. 200 Users into web-cyradm using a mysql db.

I'd like to use md5 for the password encryption.

The users old passwords are stored in /etc/shadow. They are md5 encrypted, but 
it seems, that it is not compatible with the md5 in the mysql table.

I am running web-cyradm on a Debian Sarge Server.

Everything Authentication, TLS, ... works fine, at the moment I am using 
$CRYPT = "crypt". But it rather like to use md5.

I just really would like to bulk import the users into mysql along with their 
current password.

I can generate a textfile with username and password (If necessary even new 
ones in plain text). Is there a script which can do this? I mean insert them 
into the mysql db and if needed (in case of plain text passwords) convert them 
into md5.

That should be enough, as the users inbox can be created when they receive 
their first email, shouldn't it? I'd just have to set the right parameter in 
imapd.conf, which I can't remember right now. BTW I am running cyrus 2.1.18.

I have tried to generate a test md5 like this: echo "test" | md5sum.

But the result differed from the md5 in the password field when I created it 
via the web interface.

Any help or hints will be appreciated.

Regards,

Claus Grill
_______________________________________________
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