Login in Teampass an standart login/pass (admin/admin)
Hello! I am installed Teampass, but i have probles with authentication an standart login and password admin/admin. Help me please, ho tell me password ? Installed version 2.1.10 and master(2.1.19)
I think something get wrong during installation. And especially with the saltkey you have entered (it certainly contains a character that made a kind of corruption). A correction has been made in next release.
I suggest you to delete the file "includes/settings.php" and to reperform the installation.
When writting the saltkey, please use the string generator .
Question: did you generate your saltkey in another place and made a copy past inside Teampass?
I just tried a fresh install from the Master branch and got the same issue. I generated my salt key using the generator on the page and stored it in the root of the teampass installation, intending to move it and adjust settings.php after installation.
I was unable to login using admin/admin due to maintenance mode being enabled. I ran the suggested query found elsewhere to disable maintenance mode in the misc table, and now when I login with admin/admin I still get bounced back to the login page, but it says the generic "Your session has expired or you are not correctly identified!" message.
I just tried a fresh install with 2.1.19-PatchA and have the same issue.
Just tried with 2.1.20. Same issue.
Can you write here the path you indicated foot the sk.php file?
/var/www/teampass/sk.php
Anything else that might help you with troubleshooting this? I tried turning maintenance mode off and it didn't help. Again I'm on CentOS 6.5 with Percona MySQL. I'm thinking about just building an Ubuntu server because I think my company is switching from Red Hat to Ubuntu for production stuff shortly anyway.
mysql> select intitule,valeur from teampass_misc;
+-----------------------------------------+--------------------------------------------------------------------+
| intitule | valeur |
+-----------------------------------------+--------------------------------------------------------------------+
| max_latest_items | 10 |
| enable_favourites | 1 |
| show_last_items | 1 |
| enable_pf_feature | 0 |
| log_connections | 0 |
| log_accessed | 1 |
| time_format | H:i:s |
| date_format | d/m/Y |
| duplicate_folder | 0 |
| duplicate_item | 0 |
| number_of_used_pw | 3 |
| manager_edit | 1 |
| cpassman_dir | /var/www/teampass |
| cpassman_url | http://teampass.somedomain.com |
| favicon | http://teampass.somedomain.com/favico.ico |
| path_to_upload_folder | /var/www/teampass/upload |
| url_to_upload_folder | http://teampass.somedomain.com/upload |
| path_to_files_folder | /var/www/teampass/files |
| url_to_files_folder | http://teampass.somedomain.com/files |
| activate_expiration | 0 |
| pw_life_duration | 0 |
| maintenance_mode | 1 |
| enable_sts | 0 |
| encryptClientServer | 1 |
| cpassman_version | 2.1.20 |
| ldap_mode | 0 |
| richtext | 0 |
| allow_print | 0 |
| show_description | 1 |
| anyone_can_modify | 0 |
| anyone_can_modify_bydefault | 0 |
| nb_bad_authentication | 0 |
| utf8_enabled | 1 |
| restricted_to | 0 |
| restricted_to_roles | 0 |
| enable_send_email_on_user_login | 0 |
| enable_user_can_create_folders | 0 |
| insert_manual_entry_item_history | 0 |
| enable_kb | 0 |
| enable_email_notification_on_item_shown | 0 |
| custom_logo | |
| custom_login_text | |
| default_language | english |
| send_stats | |
| get_tp_info | 1 |
| send_mail_on_user_login | 0 |
| sending_emails | 0 |
| nb_items_by_query | auto |
| enable_delete_after_consultation | 0 |
| enable_personal_saltkey_cookie | 0 |
| personal_saltkey_cookie_duration | 31 |
| email_smtp_server | smtp.my_domain.com |
| email_smtp_auth | false |
| email_auth_username | |
| email_auth_pwd | |
| email_port | 25 |
| email_from | |
| email_from_name | |
| pwd_maximum_length | 40 |
| 2factors_authentication | 0 |
| delay_item_edition | 0 |
| allow_import | 0 |
| proxy_ip | |
| proxy_port | |
| upload_maxfilesize | 10mb |
| upload_docext | doc,docx,dotx,xls,xlsx,xltx,rtf,csv,txt,pdf,ppt,pptx,pot,dotx,xltx |
| upload_imagesext | jpg,jpeg,gif,png |
| upload_pkgext | 7z,rar,tar,zip |
| upload_otherext | sql,xml |
| upload_imageresize_options | 1 |
| upload_imageresize_width | 800 |
| upload_imageresize_height | 600 |
| upload_imageresize_quality | 90 |
| use_md5_password_as_salt | 0 |
| ga_website_name | TeamPass for ChangeMe |
+-----------------------------------------+--------------------------------------------------------------------+
75 rows in set (0.00 sec)
mysql> update teampass_misc set valeur = 0 where intitule = 'maintenance_mode';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> exit
Bye
[09:26:52 root@webapp1:/var/www/teampass]$ cat includes/settings.php
<?php
global $lang, $txt, $k, $pathTeampas, $urlTeampass, $pwComplexity, $mngPages;
global $server, $user, $pass, $database, $pre, $db;
### DATABASE connexion parameters ###
$server = "localhost";
$user = "teampass";
$pass = "*****";
$database = "teampass";
$pre = "teampass_";
@date_default_timezone_set($_SESSION['settings']['timezone']);
@define('SECUREPATH', '/var/www/teampass');
require_once "/var/www/teampass/sk.php";
?>
[09:26:55 root@webapp1:/var/www/teampass]$ ls -l | grep sk
-rw-r--r-- 1 apache apache 148 May 6 09:22 sk.php
[09:27:06 root@webapp1:/var/www/teampass]$
That was using the latest 2.1.20 commit.