RE: [vchkpw] MySQL going down results in 5xx error

2006-02-09 Thread Jennifer Abel
-Original Message- From: Tonix [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 3:48 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] MySQL going down results in 5xx error Hello, I have recently inherited a qmail server. This server is utilizing vpopmail version

RE: [vchkpw] MySQL going down results in 5xx error

2006-02-09 Thread Ed McLain
] Sent: Wednesday, January 25, 2006 3:48 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] MySQL going down results in 5xx error Hello, I have recently inherited a qmail server. This server is utilizing vpopmail version: 5.4.6 and MySQL Ver 4.0.25. We are currently suffering

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-29 Thread Rick Widmer
Joshua Megerman wrote: Yes, here are changes. I've already tried them and it works. Just FYI - with MySQL it's vauth_open_read not vauth_open. I'm thinking of submitting a patch to vpopmail to unify the call, so that it can be published globally. It would be nice if vauth_open would work no

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-28 Thread tonix (Antonio Nati)
At 21.30 27/01/2006, you wrote: #if defined CHKUSER_ENABLE_VAUTH_OPEN if (db_already_open != 1) { if (CHKUSER_VAUTH_OPEN_CALL () == 0) { db_already_open == 1; } else { retstat = CHKUSER_ERR_AUTH_RESOURCE; } }; #endif Minor Bug: you nead a break; on the line after retstat = ...,

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-28 Thread tonix (Antonio Nati)
At 20.18 27/01/2006, you wrote: Yes, here are changes. I've already tried them and it works. Just studying the name of calls it may be adapted to Postgres also (it should be enough to use vauth_open() ). In chkuser_settings.h enable #define CHKUSER_ENABLE_VAUTH_OPEN and add one of the

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-27 Thread tonix (Antonio Nati)
At 15.15 25/01/2006, you wrote: If you are using chkuser, there is a small change you can do (I'm going to publish nextly this change with next version of chkuser). If you are interested I'll anticipate this small change so it may help people to handle this error. Can you post the change

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-27 Thread Joshua Megerman
Yes, here are changes. I've already tried them and it works. Just studying the name of calls it may be adapted to Postgres also (it should be enough to use vauth_open() ). In chkuser_settings.h enable #define CHKUSER_ENABLE_VAUTH_OPEN and add one of the following lines: /* use this if you

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-27 Thread Joshua Megerman
#if defined CHKUSER_ENABLE_VAUTH_OPEN if (db_already_open != 1) { if (CHKUSER_VAUTH_OPEN_CALL () == 0) { db_already_open == 1; } else { retstat =

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-25 Thread Tonix
Hello, I have recently inherited a qmail server. This server is utilizing vpopmail version: 5.4.6 and MySQL Ver 4.0.25. We are currently suffering from the problem mentioned here: http://marc.theaimsgroup.com/?l=vchkpwm=108925077224259w=2 and

Re: [vchkpw] MySQL going down results in 5xx error

2006-01-25 Thread Joshua Megerman
If you are using chkuser, there is a small change you can do (I'm going to publish nextly this change with next version of chkuser). If you are interested I'll anticipate this small change so it may help people to handle this error. Can you post the change here so that those of us who want