Hi,

After installing vadmin 1.9.2 in a fresh SM 1.4.2 I've encountered a little problem.  
When I attempt to log in to the admin interface for the first time it asks me for the 
domain password which it will encrypt and store.  After I enter the correct password I 
get:

Error: The password you provided did not validate for the domain. Please return to the 
previous page and try to correct your input. If you need assistance or believe this is 
a software error, please contact your system administrator. 

Here is the output from vadmin-debug.txt.  
---------------------------------------------------------------------------
09:14:21> dbastor_get: I was asked to get 'pic' from db 'amazon.com'
09:14:21> vadmin_crypto: encrypted successfully
09:14:21> dbastor_get_dbfile: dbfile for 'amazon.com' is 
'/var/lib/vadmin/amazon.com.db'
09:14:21> dbastor_get: flavor is gdbm
09:14:21> dbastor_get: key 'pic' (+wXL78za4DCOvove27FPX4UPb+ZaNJzTx6kYPGCtohg=) not 
found, or dbopen failed!
09:14:21> vadmin_get_pref: fetching the preference 'imgmd5'
09:14:21> dbastor_get_prefs: prefs_file not found in session
09:14:21> dbastor_get: I was asked to get 'prefs' from db 'amazon.com'
09:14:21> vadmin_crypto: encrypted successfully
09:14:21> dbastor_get_dbfile: dbfile for 'amazon.com' is 
'/var/lib/vadmin/amazon.com.db'
09:14:21> dbastor_get: flavor is gdbm
09:14:21> dbastor_get: key 'prefs' (7BnkU4+sy2DCQEBqT2JIy7r4ExMQFqO2OZHI0IhNGJc=) not 
found, or dbopen failed!
09:14:21> dbastor_get_prefs: putting prefs into session
09:14:21> vadmin_putvar: Received putvar request of type 'SESSION'
09:14:21> vadmin_putvar: varname: 'prefs', varvalue: ''
09:14:21> dbastor_get_prefs: size of prefs is: 1
09:14:21> vadmin_get_pref: prefval is ''
09:14:21> vadmin_get_pic: checking md5s
09:14:21> vadmin_get_pic: ewww, no match. Returning false.
09:14:21> vadmin_get_pref: fetching the preference 'title'
09:14:21> dbastor_get_prefs: prefs_file not found in session
09:14:21> dbastor_get: I was asked to get 'prefs' from db 'amazon.com'
09:14:21> vadmin_crypto: encrypted successfully
09:14:21> dbastor_get_dbfile: dbfile for 'amazon.com' is 
'/var/lib/vadmin/amazon.com.db'
09:14:21> dbastor_get: flavor is gdbm
09:14:21> dbastor_get: key 'prefs' (7BnkU4+sy2DCQEBqT2JIy7r4ExMQFqO2OZHI0IhNGJc=) not 
found, or dbopen failed!
09:14:21> dbastor_get_prefs: putting prefs into session
09:14:21> vadmin_putvar: Received putvar request of type 'SESSION'
09:14:21> vadmin_putvar: varname: 'prefs', varvalue: ''
09:14:21> dbastor_get_prefs: size of prefs is: 1
09:14:21> vadmin_get_pref: prefval is ''
---------------------------------------------------------------------------

and here is [EMAIL PROTECTED]
---------------------------------------------------------------------------
09:28:13> vadmin_get_user_unamedomain: analyzing '[EMAIL PROTECTED]'
09:28:13> vadmin_get_user_unamedomain: domain 'amazon.com' found with separator '@'
09:28:13> vadmin_get_user_unamedomain: username: elvis, domain: amazon.com
09:28:13> vadmin_getdomain: returning amazon.com
09:28:13> vadmin_get_pref: fetching the preference 'autoresponder'
09:28:13> dbastor_get_prefs: prefs_file not found in session
09:28:13> dbastor_get: I was asked to get 'prefs' from db 'amazon.com'
09:28:13> vadmin_crypto: encrypted successfully
09:28:13> dbastor_get_dbfile: dbfile for 'amazon.com' is 
'/var/lib/vadmin/amazon.com.db'
09:28:13> dbastor_get: flavor is gdbm
09:28:13> dbastor_get: key 'prefs' (7BnkU4+sy2DCQEBqT2JIy7r4ExMQFqO2OZHI0IhNGJc=) not 
found, or dbopen failed!
09:28:13> dbastor_get_prefs: putting prefs into session
09:28:13> vadmin_putvar: Received putvar request of type 'SESSION'
09:28:13> vadmin_putvar: varname: 'prefs', varvalue: ''
09:28:13> dbastor_get_prefs: size of prefs is: 1
09:28:13> vadmin_get_pref: prefval is ''
09:28:45> vadmin_get_user_unamedomain: analyzing '[EMAIL PROTECTED]'
09:28:45> vadmin_get_user_unamedomain: domain 'amazon.com' found with separator '@'
09:28:45> vadmin_get_user_unamedomain: username: elvis, domain: amazon.com
09:28:45> vadmin_getdomain: returning amazon.com
09:28:45> vadmin_get_pref: fetching the preference 'autoresponder'
09:28:45> dbastor_get_prefs: prefs_file not found in session
09:28:45> dbastor_get: I was asked to get 'prefs' from db 'amazon.com'
09:28:45> vadmin_crypto: encrypted successfully
09:28:45> dbastor_get_dbfile: dbfile for 'amazon.com' is 
'/var/lib/vadmin/amazon.com.db'
09:28:45> dbastor_get: flavor is gdbm
09:28:45> dbastor_get: key 'prefs' (7BnkU4+sy2DCQEBqT2JIy7r4ExMQFqO2OZHI0IhNGJc=) not 
found, or dbopen failed!
09:28:45> dbastor_get_prefs: putting prefs into session
09:28:45> vadmin_putvar: Received putvar request of type 'SESSION'
09:28:45> vadmin_putvar: varname: 'prefs', varvalue: ''
09:28:45> dbastor_get_prefs: size of prefs is: 1
09:28:45> vadmin_get_pref: prefval is ''
---------------------------------------------------------------------------

/var/log/vmailmgrd/current:
---------------------------------------------------------------------------
[6284] Accepted connection
[6284] Request: listdomain amazon.com <adminpass>
[6284] Completed: ERROR: Invalid or incorrect password
---------------------------------------------------------------------------


I tried temporarily harcoding the domain name and password in 
/usr/share/vadmin/modules/admin/login.mod (line 345) and was able to validate the 
domain password successfully.

/var/log/vmailmgrd/current:
---------------------------------------------------------------------------
[19798] Request: listdomain amazon.com <adminpass>
[19798] Completed: OK: 
[19816] Accepted connection
---------------------------------------------------------------------------

So this rules out an incorrect password and vmailmgr issues... I've tried various 
libmcrypt algorithms with no success.  I've tried using different hashes too.  I've 
deleted /var/lib/vadmin/amazon.com.db, and let it recreate itself.  I'm out of ideas 
for now, can anyone help?

Thanks,

Sherman Boyd


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to