Today while mingling with Brian's users we realized that vconvert doesnt
convert the cleartext passwords from mysql to cdb...
So I attached a patch which adds cleartext support to vconvert
This patch is made from 5.3.24 version
Evren
--- vconvert.c.orig Fri Aug 8 17:19:21 2003
+++ vconvert.c Fri Aug 8 17:22:44 2003
@@ -256,6 +256,17 @@
}
pw = vauth_getall(domain, 1, 0);
while( pw != NULL ) {
+#ifdef CLEAR_PASS
+ fprintf(fs, "%s:%s:%d:%d:%s:%s:%s:%s\n",
+ pw->pw_name,
+ pw->pw_passwd,
+ pw->pw_uid,
+ pw->pw_gid,
+ pw->pw_gecos,
+ pw->pw_dir,
+ pw->pw_shell,
+ pw->pw_clear_passwd);
+#else
fprintf(fs, "%s:%s:%d:%d:%s:%s:%s\n",
pw->pw_name,
pw->pw_passwd,
@@ -264,6 +275,7 @@
pw->pw_gecos,
pw->pw_dir,
pw->pw_shell);
+#endif
pw = vauth_getall(domain, 0, 0);
}
fclose(fs);