Cyberdevil
Verified User
- Joined
- Sep 16, 2007
- Messages
- 40
I'm stuck with the implementation of a way to have single sign on working for phpmyadmin.
The skinfile that lists all the databases is: /usr/local/directadmin/data/skins/enhanced/user/db/db.html but the table with all the databases is hardcoded and replaces |DATABASES| in that file.
Another way is to create one user that has access to all the databases and change this line: <a target="_blank" href="|HTTP|://|HOSTNAME|/phpmyadmin">|LANG_PMA|</a> with a form that has login and password in hidden fields in the form.
Although it would even be better if SSO could be implemented inside directadmin as it only requires following sessions:
$_SESSION['PMA_single_signon_user']
$_SESSION['PMA_single_signon_password']
$_SESSION['PMA_single_signon_host']
$_SESSION['PMA_single_signon_port']
Anyone tried this already or could we launch this as a feature request? Would be nice to finally allow the SSO to phpmyadmin to work.
The skinfile that lists all the databases is: /usr/local/directadmin/data/skins/enhanced/user/db/db.html but the table with all the databases is hardcoded and replaces |DATABASES| in that file.
Another way is to create one user that has access to all the databases and change this line: <a target="_blank" href="|HTTP|://|HOSTNAME|/phpmyadmin">|LANG_PMA|</a> with a form that has login and password in hidden fields in the form.
Although it would even be better if SSO could be implemented inside directadmin as it only requires following sessions:
$_SESSION['PMA_single_signon_user']
$_SESSION['PMA_single_signon_password']
$_SESSION['PMA_single_signon_host']
$_SESSION['PMA_single_signon_port']
Anyone tried this already or could we launch this as a feature request? Would be nice to finally allow the SSO to phpmyadmin to work.