Re: [vchkpw] Error in checking password length

2006-03-21 Thread Rick Macdougall
Riccardo Bini wrote: Alle 05:58, martedì 21 marzo 2006, Tom Collins ha scritto: Actually, this patch is incorrect. vadduser() takes the plaintext password, regardless of whether CLEAR_PASS is defined. The current code behaves as it should. #define MAX_PW_PASS 40 #define MAX_PW_CLEAR_

Re: [vchkpw] Error in checking password length

2006-03-21 Thread Riccardo Bini
Alle 05:58, martedì 21 marzo 2006, Tom Collins ha scritto: > Actually, this patch is incorrect. vadduser() takes the plaintext > password, regardless of whether CLEAR_PASS is defined. > > The current code behaves as it should. > #define MAX_PW_PASS 40 #define MAX_PW_CLEAR_PASSWD 16 With C

Re: [vchkpw] Error in checking password length

2006-03-20 Thread Tom Collins
Actually, this patch is incorrect. vadduser() takes the plaintext password, regardless of whether CLEAR_PASS is defined. The current code behaves as it should. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ On Mar 17, 2006, at 6:2

[vchkpw] Error in checking password length

2006-03-17 Thread Riccardo Bini
Patch for checking password length. Bye Rick --- vpopmail.c 2005-05-23 18:12:36.0 +0200 +++ /home/rick/sorgenti/vpopmail-5.4.12/vpopmail.c 2006-03-17 14:52:01.0 +0100 @@ -457,7 +457,11 @@ if ( strlen(domain) > MAX_PW_DOMAIN ) return(VA_DOMAIN_NAME_TOO_LONG); if ( str