Re: [vchkpw] vpopmail 5.4.22 breaks qmailadmin 1.2.X

2007-09-17 Thread Quey

Rick Widmer wrote:

Allie Daneman wrote:

I have no issues with building this version BUT it breaks qmailadmin
1.2.11. I get the following when trying to make qmailadmin on vpopmail
5.4.22:


Thanks for testing!  Can you please tell me the ./configure options 
you are using?  I want to get an idea which ones are being used.
Rick, I don't use qmailadmin, but I had it installed and rebuilt it 
anyway just for test, also fails with OP's reason.

Opts used here (from when we use to use it) are...

./configure --enable-htmldir=/usr/local/apache/htdocs 
--enable-imagedir=/usr/local/apache/icons --disable-ezmlm-mysql 
--enable-maxusersperpage=25 --disable-ipauth --enable-ezmlmdir=n



Cheers



Re: [vchkpw] vpopmail 5.4.22 breaks qmailadmin 1.2.X

2007-09-17 Thread John Simpson

On 2007-09-16, at 2302, Rick Widmer wrote:


I posted a patch on qmailadmin's SourceForge site.  The tracker  
number is [ 1795973 ].  It should allow qmailadmin to work with  
5.4.22.  On the other hand, I think I am going to revert the part  
of the patch that caused this problem, and apply it later.  I plan  
to review all the buffer size definitions in the next development  
effort, and that is probably a better time for things that change  
the library interface. Look for another release with this change  
reverted next weekend.


which reminds me... how about a patch to change the maximum password  
length to a more realistic limit? i've been doing this for several  
years, after applying patches but before running "./configure"...


sed -ie '/^#define MAX_PW_PASS/s/40/128/' vpopmail.h
sed -ie '/^#define MAX_PW_CLEAR_PASSWD/s/16/128/' vpopmail.h

i don't know about you, but my mailbox password is 23 characters  
long, and i encourage my users to use long passwords. (i use the  
standard vpasswd.cdb files for authentication, no SQL, i suspect that  
SQL users will need schema changes needed to support this- basically  
make the password fields longer.) i'm not familiar enough with the  
SQL end of things to know if this is the only change you would need,  
but i'm guessing so.



| John M. Simpson---   KG4ZOW   ---Programmer At Large |
| http://www.jms1.net/ <[EMAIL PROTECTED]> |

| http://video.google.com/videoplay?docid=-1656880303867390173 |





PGP.sig
Description: This is a digitally signed message part


Re: [vchkpw] vpopmail 5.4.22 breaks qmailadmin 1.2.X

2007-09-17 Thread Jeremy Kister

On 9/17/2007 5:28 PM, John Simpson wrote:
which reminds me... how about a patch to change the maximum password  
length to a more realistic limit? i've been doing this for several  
years, after applying patches but before running "./configure"...


Also, since only the first eight characters of a password matter on 
Solaris < 10 (or any DES vs MD5), perhaps there should be a maximum 
limit of 8 when using --disable-md5-passwords.  This way, users who 
think [EMAIL PROTECTED]:: is a secure password are enlightened.



--

Jeremy Kister
http://jeremy.kister.net./