Re: [vchkpw] Who can tell me exactly how dir_control works?
If your only problem is the user count (lucky you) you can manualy reset the cur_users and it will begin wirking again. Ok now you make me worried... What other things have you run in to because that was my fear anyways: I don't understand why this doesn't work (well it just seems unimplemented in vconvert), so what else will i run into ? I thought the mysql support was pretty stable in vpopmail ? This list is not maintained by any developers that can shed some light on this subject ? Thanx, Mark. On Thursday 05 August 2004 14:59, Dave Goodrich wrote: I found little on the subject in Google, and fewer answers anywhere else. I have resorted to reading source code ( I don't program C ). The closest thing I have found is this, http://www.mail-archive.com/[EMAIL PROTECTED]/msg18607.html Though that URL is not responding for me right now. In a nutshell, try changing the numbers, adding deleting, domains, and see what happens. I am currently counting the conf-splits in my domains and trying to understand what values I need to insert into dir_control. If your only problem is the user count (lucky you) you can manualy reset the cur_users and it will begin wirking again. DAve Mark Richardson wrote: Dave have you already found some more info on this subject ? I have the same problem here (see my post) Mark. On Wednesday 04 August 2004 18:21, Dave Goodrich wrote: qmail 1.03 vpopmail 5.4.0 mysql 3.23.58 We had been using cdb and switched to using mysql auth when we moved our users to a new server. We ran vconvert on the domains and everything appeared to work fine. vpopmail.curr_users loaded with enormous numbers, level_curr loaded as zero. Adding new domains, users changes nothing in the dir_control table. I can manually update the curr_users value and it will then begin to increment properly. I would be willing to manually update the other values, if I knew what they should be and what they did. I can whoop up a quick script to insert the proper values, but how do I determine what they should be? Is there any documentation that explains how this works? At this point I am thinking moving a vpopmail installation is a very bad idea. Thanks, DAve -- Dutch Web Services b.v. James Wattstraat 5 2809 PA Gouda Tel. +31 (0)182-69 40 00 (maandag t/m vrijdag van 09.00 uur t/m 17.30 uur) Fax. +31 (0)182-69 40 51
Re: [vchkpw] Who can tell me exactly how dir_control works?
Dave have you already found some more info on this subject ? I have the same problem here (see my post) Mark. On Wednesday 04 August 2004 18:21, Dave Goodrich wrote: qmail 1.03 vpopmail 5.4.0 mysql 3.23.58 We had been using cdb and switched to using mysql auth when we moved our users to a new server. We ran vconvert on the domains and everything appeared to work fine. vpopmail.curr_users loaded with enormous numbers, level_curr loaded as zero. Adding new domains, users changes nothing in the dir_control table. I can manually update the curr_users value and it will then begin to increment properly. I would be willing to manually update the other values, if I knew what they should be and what they did. I can whoop up a quick script to insert the proper values, but how do I determine what they should be? Is there any documentation that explains how this works? At this point I am thinking moving a vpopmail installation is a very bad idea. Thanks, DAve -- Dutch Web Services b.v. James Wattstraat 5 2809 PA Gouda Tel. +31 (0)182-69 40 00 (maandag t/m vrijdag van 09.00 uur t/m 17.30 uur) Fax. +31 (0)182-69 40 51
Re: [vchkpw] Problems migrating servers
Ok i was trying some things and now i really don't understand what's the problem here: I took a random domain and reset the password with ./vpasswd [EMAIL PROTECTED] test123 The pw_passwd and the pw_clear_passwd fields in the database get updated normally and vuserinfo gives the correct info. Yet still not able to authenticate via qmailadmin or via pop3 next i created a new domain vadddomain test.com test123 database fields are filled and vuserinfo reflects this, now i try to authenticate and it works! But it still won't authenticate the other domains :-( How is this possible as the data layout is exactly the same for both users/domains in the database, even the encrypted password fields are the same.. Please tell me where the hidden setting is, Mark. On Monday 14 June 2004 18:04, Mark Richardson wrote: Hi, I am trying to migrate and old qmail/vpopmail server to a newer version on a different machine with mysql authentication, the old one is compiled without cleartext passwords.. What i did: Make a tarball of the old domains and untar in the new ~vpopmail/domains [EMAIL PROTECTED] # scp /var/qmail/users/{assign,cdb} new-qmail:/var/qmail/users/ [EMAIL PROTECTED] # scp ~vpopmail/users/vpasswd* new-qmail:/home/vpopmail/users/ on new-qmail i fixed ownerships and permissions of the abovementioned files and ran: qmail-newu ~vpopmail/bin/vconvert -c -m -d All the conversions were done successfully according to vconvert, but when i try too authenticate using credentials that _do_ work on the old one i get an authentication failure ? Could someone explain what i am doing wrong, looking at the database layout there is a encrypted _and_ an cleartext password so i assumed that authentication is still done against the encrypted one.. ? It would be a big problem if i had to give all the users a new password just because i need an hardware/software upgrade .. Thanks in advance, i hope u can enlighten me on the matter. Mark. -- Dutch Web Services b.v. James Wattstraat 5 2809 PA Gouda Tel. +31 (0)182-69 40 00 (maandag t/m vrijdag van 09.00 uur t/m 17.30 uur) Fax. +31 (0)182-69 40 51