saslpasswd2+flat file

Andreas Winkelmann ml at awinkelmann.de
Fri Jun 23 16:07:40 EDT 2006


Am Friday 23 June 2006 20:36 schrieb Yadavenedra Awasthi:

> If I am having a flat file of 30-40 thousand username and password, so
> is there a way i can convert whole file at once in sasldb format. I mean
> can file be hashed at once instead of running saslpasswd2 test at test.com
> test everytime through a script as it can be highly  resource intensive
> if it is running every 15 minutes as cron job.

Which DB-Backend do you use? If it is Berkeley, maybe dp_load(/db_dump) is on 
option?

http://www.sleepycat.com/docs/ref/dumpload/utility.html

Hmm, maybe changing Auxprop from sasldb to (pg/my)sql(ite) or ldap is better?

-- 
	Andreas


More information about the Cyrus-sasl mailing list