Current time: 12-23-2024, 08:31 PM Hello There, Guest! (LoginRegister)


Post Reply 
Autologin for PMA in trunk #1521 doesn´t work ?
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: Autologin for PMA in trunk #1521 doesn´t work ?
Thank you for that detailed info, sci2tech!

So lets talk about the non-ssl case to get a more default ispCP situation.
The MySQL Users in the ispCP table "sql_user" are there and the passwords are crypted. Here is an example:
Code:
sqlu_id     sqld_id     sqlu_name     sqlu_pass
12              11              v126XXX     dOGgYRoKXAtmeXXXXXXXXX
The Password has no special chars. The PhpMyAdmin Link is also Ok with the ID=12
Code:
http://admin.domain.tld/client/sql_auth.php?id=12
Username and dbName are also v126XXX.
After a click on this PMA Link the URL is:
Code:
http://admin.domain.tld/pma/index.php?lang=de-utf-8&convcharset=utf-8&collation_connection=utf8_general_ci&token=a39395b51c7241e541edd0b04XXXXXX&phpMyAdmin=xzFfmqN57pXiRpzLKIAL-XXXXXX
and i´m on the PMA Loginsite but not in PMA.
The Username is directly in the Form "v126XXX" - correct!
The Password is empty! Of course i can now type the password into the field and Login.
[Image: unbenannt3nb1.th.jpg]
This happend with _every_ Login, so the problem can´t be any special chars in the Password/Username/DBName

Here is the access.log
Code:
62.75.XX.XX - - [18/Feb/2009:10:46:58 +0000] "POST /pma/ HTTP/1.1" 302 -
88.79.1.XX.XX - - [18/Feb/2009:10:46:58 +0000] "GET /client/sql_auth.php?id=12 HTTP/1.1" 302 126
88.79.1.XX.XX - - [18/Feb/2009:10:46:58 +0000] "GET /pma/index.php?lang=de-utf-8&convcharset=utf-8&collation_connection=utf8_general_ci&token=a39395b51c7241e541edd0b04XXXXXX&phpMyAdmin=xzFfmqN57pXiRpzLKIAL-xBw3nb HTTP/1.1" 200 2500
88.79.1.XX.XX - - [18/Feb/2009:10:46:58 +0000] "GET /pma/phpmyadmin.css.php?token=dfd79635efa4ef27e7fc3d9cbbcXXXXX&js_frame=right&nocache=3704755039 HTTP/1.1" 200 23181

Greez BeNe
02-18-2009 09:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Autologin for PMA in trunk #1521 doesn´t work ? - BeNe - 02-18-2009 09:00 PM

Forum Jump:


User(s) browsing this thread: 7 Guest(s)