Re: [vchkpw] Strange error messages

2007-05-20 Thread Rick Widmer
I'm not sure what version you are trying this with.  I just tested it 
with the unreleased version in CVS and it is working.  I don't know that 
I fixed anything, but in the process I updated some of the error 
reporting, including the fact that vdeluser checked for the user before 
the domain.  Now if you try to attempt to delete a user from a 
non-existent domain it reports that the domain doesn't exist rather than 
the user.



#vadddomain test.domain password
ONCHANGE add_domain - test.domain

#vadddomain test.domain password
Error: Domain already exists

#vadduser [EMAIL PROTECTED] password
ONCHANGE add_user - [EMAIL PROTECTED]

#vadduser [EMAIL PROTECTED] password
Error: Username exists

#vdeluser [EMAIL PROTECTED] password
ONCHANGE del_user - [EMAIL PROTECTED]

#vdeluser [EMAIL PROTECTED] password
Error: User does not exist

#vdeldomain test.domain
ONCHANGE del_domain - test.domain

#vdeldomain test.domain
Error: Domain does not exist

#vdeluser [EMAIL PROTECTED] password
Error: Domain does not exist


This DOES NOT mean CVS is ready for use, or release, only that I don't 
see this bug in CVS.


What version are you using?

Rick



Jonathan wrote:
That's the strange thing. They're both removed from the vpopmail 
directory and the MySQL db.


16 maj 2007 kl. 02.32 skrev Remo Mattei:



Jonathan wrote:

This is the exact procedure:

# vadddomain test.domain
Please enter password for postmaster:
enter password again:
# vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
# vdeluser [EMAIL PROTECTED]
Failed to delete user from auth backend
Error: Illegal username
# vdeldomain test.domain
Warning: Failed while attempting to delete domain from auth backend




Re: [vchkpw] Strange error messages

2007-05-16 Thread Jonathan
That's the strange thing. They're both removed from the vpopmail  
directory and the MySQL db.


16 maj 2007 kl. 02.32 skrev Remo Mattei:



Jonathan wrote:

This is the exact procedure:

# vadddomain test.domain
Please enter password for postmaster:
enter password again:
# vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
# vdeluser [EMAIL PROTECTED]
Failed to delete user from auth backend
Error: Illegal username
# vdeldomain test.domain
Warning: Failed while attempting to delete domain from auth backend


16 maj 2007 kl. 00.51 skrev Remo Mattei:


you need to use the [EMAIL PROTECTED] otherwise it fails unless the user
is part of
the default domain.

Remo

Jonathan wrote:

Hi,

When i try to vdeluser i get

"Failed to delete user from auth backend
Error: Illegal username"

and when i try to vdeldomain i get

"Warning: Failed while attempting to delete domain from auth  
backend"


However, both the user and the domain seem to be removed, and  
can be

readded without trouble.

Should i care about these errors or can i let them be?







--
Remo Mattei


!DSPAM:464af030215971336712104!




did you check your MYSQL if the user still exist or if it's  
created? By just
checking this I would guess you may not have the right permission  
on MYSQL for

the user settings.


--
Remo Mattei


Re: [vchkpw] Strange error messages

2007-05-16 Thread Remo Mattei

Jonathan wrote:
> This is the exact procedure:
>
> # vadddomain test.domain
> Please enter password for postmaster:
> enter password again:
> # vadduser [EMAIL PROTECTED]
> Please enter password for [EMAIL PROTECTED]:
> enter password again:
> # vdeluser [EMAIL PROTECTED]
> Failed to delete user from auth backend
> Error: Illegal username
> # vdeldomain test.domain
> Warning: Failed while attempting to delete domain from auth backend
>
>
> 16 maj 2007 kl. 00.51 skrev Remo Mattei:
>
>> you need to use the [EMAIL PROTECTED] otherwise it fails unless the user
>> is part of
>> the default domain.
>>
>> Remo
>>
>> Jonathan wrote:
>>> Hi,
>>>
>>> When i try to vdeluser i get
>>>
>>> "Failed to delete user from auth backend
>>> Error: Illegal username"
>>>
>>> and when i try to vdeldomain i get
>>>
>>> "Warning: Failed while attempting to delete domain from auth backend"
>>>
>>> However, both the user and the domain seem to be removed, and can be
>>> readded without trouble.
>>>
>>> Should i care about these errors or can i let them be?
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Remo Mattei
>
> !DSPAM:464af030215971336712104!
>
>

did you check your MYSQL if the user still exist or if it's created? By just
checking this I would guess you may not have the right permission on MYSQL for
the user settings.


-- 
Remo Mattei


Re: [vchkpw] Strange error messages

2007-05-16 Thread Jonathan

This is the exact procedure:

# vadddomain test.domain
Please enter password for postmaster:
enter password again:
# vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
# vdeluser [EMAIL PROTECTED]
Failed to delete user from auth backend
Error: Illegal username
# vdeldomain test.domain
Warning: Failed while attempting to delete domain from auth backend


16 maj 2007 kl. 00.51 skrev Remo Mattei:

you need to use the [EMAIL PROTECTED] otherwise it fails unless the user  
is part of

the default domain.

Remo

Jonathan wrote:

Hi,

When i try to vdeluser i get

"Failed to delete user from auth backend
Error: Illegal username"

and when i try to vdeldomain i get

"Warning: Failed while attempting to delete domain from auth backend"

However, both the user and the domain seem to be removed, and can be
readded without trouble.

Should i care about these errors or can i let them be?

!DSPAM:464adf3b88131740420799!





--
Remo Mattei


Re: [vchkpw] Strange error messages

2007-05-16 Thread Remo Mattei
you need to use the [EMAIL PROTECTED] otherwise it fails unless the user is 
part of
the default domain.

Remo

Jonathan wrote:
> Hi,
>
> When i try to vdeluser i get
>
> "Failed to delete user from auth backend
> Error: Illegal username"
>
> and when i try to vdeldomain i get
>
> "Warning: Failed while attempting to delete domain from auth backend"
>
> However, both the user and the domain seem to be removed, and can be
> readded without trouble.
>
> Should i care about these errors or can i let them be?
>
> !DSPAM:464adf3b88131740420799!
>
>


-- 
Remo Mattei