You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ! Here I am again :( I had to install a vSTFPD server with pam-mysq, but this time on debian. I had a bit of trouble, with several errors, but I got there.
Except that here, I checked the connection, as well as the MySQL identifier (maybe not as it should be), and all the information entered in the pam_mysql configuration, allows me to connect with PMA or even in command line.
But there, pam_sm_authenticate returns the number 3. I dont know why, i search, but i dont find.
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option verbose is set to "1"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option user is set to "datahosting"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option passwd is set to "secret_password "
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option host is set to "localhost"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option db is set to "dh"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option table is set to "ftpusers"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option usercolumn is set to "username"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - option passwdcolumn is set to "password"
Sep 5 15:46:30 datahosting vsftpd: pam_mysql - pam_sm_authenticate() returning 3.
Sep 5 15:46:30 datahosting vsftpd: pam_unix(vsftpd:auth): check pass; user unknown
Sep 5 15:46:30 datahosting vsftpd: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=datahosting_minecraft rhost=90.30.212.74
Sep 5 15:46:32 datahosting sshd[526]: Connection closed by 71.6.232.6 port 55904 [preauth]
Sep 5 15:46:32 datahosting vsftpd: pam_mysql - pam_mysql_release_ctx() called.
Sep 5 15:46:32 datahosting vsftpd: pam_mysql - pam_mysql_destroy_ctx() called.
Sep 5 15:46:32 datahosting vsftpd: pam_mysql - pam_mysql_close_db() called.
My database structure:
I see "check pass; user unknown" in the log, but in my database, user exist. Where does the problem come from? Thank for help me!
Edit:
After enable all mysqllog, i see when I connect from my phpmyadmin, the log file has fill by log of connection, but when a try to connect on ftp (with valid user and password) no log appears, idk if this will help you with my worries
And i try edit pam_mysql.c for add syslog, but that doest work :( Idk how to update this file for more log :/
Edit 2: if i reinstall with make and make isntall, and not remove and reinstall libpam-mysql i get this error:
Might want to try rebuilding against the updated patched code being discussed in issue 65 as this sounds like it's related to that error. No idea how you managed to get it working as far as this tbh.
Hello ! Here I am again :( I had to install a vSTFPD server with pam-mysq, but this time on debian. I had a bit of trouble, with several errors, but I got there.
Except that here, I checked the connection, as well as the MySQL identifier (maybe not as it should be), and all the information entered in the pam_mysql configuration, allows me to connect with PMA or even in command line.
But there, pam_sm_authenticate returns the number 3. I dont know why, i search, but i dont find.
My config:
My log (from auth.log):
My database structure:
I see "check pass; user unknown" in the log, but in my database, user exist. Where does the problem come from? Thank for help me!
Edit:
After enable all mysqllog, i see when I connect from my phpmyadmin, the log file has fill by log of connection, but when a try to connect on ftp (with valid user and password) no log appears, idk if this will help you with my worries
And i try edit pam_mysql.c for add syslog, but that doest work :( Idk how to update this file for more log :/
Edit 2: if i reinstall with make and make isntall, and not remove and reinstall libpam-mysql i get this error:
The text was updated successfully, but these errors were encountered: