-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login error #42
Comments
Your configuration differs from the example in those two lines:
They should rather be:
You should also make sure that |
@ChristianBeer thaks for you quick reply. I modify as you sugget me but is impossibile to login.
|
One other thing that I can immediately think of is
Which was the default on Debian if I remember correctly. I'm running proftpd 1.3.5 maybe something changed in how authentication is handled in a newer version that you are using? |
version 1.3.5a on ubuntu 16.04.2 LTS. I check AuthOrder and is exact in this order |
If I try to login with real user it's work but if i try to create user via web gui and try to login not working sql.conf
proftpd.conf
|
I found the problem. In proftpd.conf I put
I remove it and leave only in sql.conf
And now I'm able to login. So now I see 2 other issue:
|
|
I install the lastest version but is impossible to login. I'm login only with real user.
`SQLBackend mysql
SQLEngine on
#SQLPasswordEngine on
#SQLAuthenticate users*
SQLPasswordEncoding hex
SQLAuthTypes SHA1
SQLConnectInfo proftpd_admin@localhost root pass
SQLUserInfo users userid passwd uid gid homedir shell
SQLGroupInfo groups groupname gid members
SQLUserWhereClause "disabled != 1"
SQLLog PASS updatecount
SQLNamedQuery updatecount UPDATE "login_count=login_count+1, last_login=now() WHERE userid='%u'" users
Used to track xfer traffic per user (without invoking a quota)
SQLLog RETR bytes-out-count
SQLNamedQuery bytes-out-count UPDATE "bytes_out_used=bytes_out_used+%b WHERE userid='%u'" users
SQLLog RETR files-out-count
SQLNamedQuery files-out-count UPDATE "files_out_used=files_out_used+1 WHERE userid='%u'" users
SQLLog STOR bytes-in-count
SQLNamedQuery bytes-in-count UPDATE "bytes_in_used=bytes_in_used+%b WHERE userid='%u'" users
SQLLog STOR files-in-count
SQLNamedQuery files-in-count UPDATE "files_in_used=files_in_used+1 WHERE userid='%u'" users
`
The text was updated successfully, but these errors were encountered: