On Thu, 2001-09-06 at 02:12, lao nightwolf wrote:
> Hello,
> 
> We've installed vpopmail 5.0pre1 so that we have the possibility to add no 
> password.
> 
> However, adding a record with an empty password field returned an error 
> since the table definition doesn't allow null values by default. We have 
> changed this so that nulls for the password field can be added, so that we 
> could succesfully add a new record. However we now receive the following 
> error during logon: 'ERR aack, child crashed'. Do we need to specify a 
> specific value for the password field, since it doesn't allow nulls by 
> default?

Please do not modify the table definition.

> 
> Normally, it should ask for a password when first authenticating via pop3 
> right?

Set the password field to a blank string "", not a NULL. 
with vpopmail-5.0pre3, use the --enable-learn-passwords=y
option.

With this option, vchkpw will accept any password for an
account with a blank password. Then it will update the
authentication data to have this new password. It only
does this if the password field is blank. Once the password
field is not blank it won't do this. So it only does it
the first time. 

Also, the vadduser command takes a -n option to set the
users password to blank. 

Please download and test the vpopmail-5.0pre3 version
and test it to see if you can cause it to crash. Please
try it with your modified table (allow NULL), and then
try it with the orignal table definition. I want to
see if you can still crash vchkpw.

Ken Jones



Reply via email to