Control Web Panel

WebPanel => FTP => Topic started by: rs on March 07, 2019, 09:29:22 PM

Title: FTP Authentication Failed - Troubles with Pure-ftpd
Post by: rs on March 07, 2019, 09:29:22 PM
I am getting errors like that:


Code: [Select]
Mar 7 16:14:29 brigit pure-ftpd: pam_unix(pure-ftpd:auth): check pass; user unknown
Mar 7 16:14:29 brigit pure-ftpd: pam_unix(pure-ftpd:auth): authentication failure; logname= uid=0 euid=0 tty=pure-ftpd ruser=oseadmin rhost=
Mar 7 16:14:29 brigit pure-ftpd: pam_succeed_if(pure-ftpd:auth): error retrieving information about user xxxxxx
Mar 7 16:18:11 brigit pure-ftpd: pam_unix(pure-ftpd:auth): check pass; user unknown
Mar 7 16:18:11 brigit pure-ftpd: pam_unix(pure-ftpd:auth): authentication failure; logname= uid=0 euid=0 tty=pure-ftpd ruser=oseadmin rhost=
Mar 7 16:18:11 brigit pure-ftpd: pam_succeed_if(pure-ftpd:auth): error retrieving information about user xxxxxx

I don't what is the reason. I already tried to add sql root password to pureftpd-mysql.conf but it doesn't change anything.
Please help me.
Title: Re: FTP Authentication Failed - Troubles with Pure-ftpd
Post by: Netino on March 09, 2019, 03:00:34 AM
Your user 'oseadmin' is unknown.
Simply that.
The message showing is:
"error retrieving information about user xxxxxx"

Regards,
Netino
Title: Re: FTP Authentication Failed - Troubles with Pure-ftpd
Post by: rs on March 09, 2019, 10:48:54 AM
Your user 'xxxxxx' is unknown.
Simply that.
The message showing is:
"error retrieving information about user xxxxxx"
Not so simple. the problem that this ftp user exists in FTP Manager 2 and password is correct. I am sure something wrong with pureftp because, the normal users that have been added by User Accounts - > Add Account working without any troubles. But If I am adding additional ftp user through the File Management - > FTP Manager 2 I am getting troubles like that.
I am under CentOs 6.1
Title: Re: FTP Authentication Failed - Troubles with Pure-ftpd
Post by: Netino on March 10, 2019, 10:19:05 PM
This user have the same identical id as shell user.
But you must login with a '@' and with domain associated (p.ex.: user@domain.com)

If you still can not login, check if this user exists in '/etc/pure-ftpd/pureftpd.passwd' file, and if its home directory really exists, and if the file was created at the exact same datetime that the file '/etc/pure-ftpd/pureftpd.pdb'.