BlueNoteWeb
Verified User
Good evening folks. I've scoured all over the forums trying to solve this problem. I've found several people with similar problems, but nobody with the same problem (at least not one with a solution).
Under the "admin" user on this server there are lots of domains (15 or so). On one of the domains, I have an ftp sub-account in the format user@domain. When that sub-account is created or the password modified, the file /etc/proftpd.passwd IS updated but the user cannot log in.
I have been over and over the proftpd.conf file(posted below). I have compared that file to the same file on a different directadmin server that I know is working properly and found nothing out of the ordinary.
I have re-installed proftp using both custombuild and the instructions found here:
http://help.directadmin.com/item.php?id=82
In following those instructions, I DID change the --prefix parameter as instructed.
I have checked, double-checked and triple-checked the permissions on the various files against a second (working) DirectAdmin box. I have copied the proftpd.conf from that other box and run a diff (nothing different but whitespace and the server's IP address). I have copied the template from /usr/local/directadmin/something (changing the IP address, of course). No luck there.
Through all of this, I STILL cannot log in using user@domain. Sometimes I get errors in /var/log/messages that say "no such user," sometimes I don't get anything. Always the message to the FTP client is "530 login incorrect."
Through all of this, if I log in as a regular user, I can log in without problem. However, if I take that user's entry out of /etc/proftpd.passwd, I can STILL log in....which doesn't make any sense. If I take that user's entry out of BOTH /etc/passwd and /etc/proftpd.passwd, then I get a login failed message. Out of desperation I added the user@domain user to /etc/passwd but that didn't work either.
Other information that might be handy:
-server is running CentOS 4.something.
-the particular domain in question is owned by the admin user (who owns many other domains) and is on the server's shared IP
Here is my proftpd.conf:
I removed the server IP for privacy's sake - this is a client's server.
DA support, if you're reading this - I've already sent you an email with the server's login information.
Any information or suggestions would be greatly appreciated. Thanks in advance!
Under the "admin" user on this server there are lots of domains (15 or so). On one of the domains, I have an ftp sub-account in the format user@domain. When that sub-account is created or the password modified, the file /etc/proftpd.passwd IS updated but the user cannot log in.
I have been over and over the proftpd.conf file(posted below). I have compared that file to the same file on a different directadmin server that I know is working properly and found nothing out of the ordinary.
I have re-installed proftp using both custombuild and the instructions found here:
http://help.directadmin.com/item.php?id=82
In following those instructions, I DID change the --prefix parameter as instructed.
I have checked, double-checked and triple-checked the permissions on the various files against a second (working) DirectAdmin box. I have copied the proftpd.conf from that other box and run a diff (nothing different but whitespace and the server's IP address). I have copied the template from /usr/local/directadmin/something (changing the IP address, of course). No luck there.
Through all of this, I STILL cannot log in using user@domain. Sometimes I get errors in /var/log/messages that say "no such user," sometimes I don't get anything. Always the message to the FTP client is "530 login incorrect."
Through all of this, if I log in as a regular user, I can log in without problem. However, if I take that user's entry out of /etc/proftpd.passwd, I can STILL log in....which doesn't make any sense. If I take that user's entry out of BOTH /etc/passwd and /etc/proftpd.passwd, then I get a login failed message. Out of desperation I added the user@domain user to /etc/passwd but that didn't work either.
Other information that might be handy:
-server is running CentOS 4.something.
-the particular domain in question is owned by the admin user (who owns many other domains) and is on the server's shared IP
Here is my proftpd.conf:
ServerName "ProFTPd"
ServerType standalone
Port 21
UseReverseDNS off
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
ScoreboardFile /var/run/proftpd/proftpd.pid
TransferLog /var/log/proftpd/xferlog.legacy
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
#DON'T modify this log format. Its used by DirectAdmin to determine user usage
LogFormat userlog "%u %b"
ExtendedLog /var/log/proftpd/x.x.x.x.bytes WRITE,READ userlog
AuthUserFile /etc/proftpd.passwd
DefaultServer on
#AuthPAMConfig proftpd
#AuthOrder mod_auth_pam.c* mod_auth_unix.c mod_auth_file.c
#AuthOrder mod_auth_file.c
#AuthPAM off
<Global>
DeferWelcome on
RequireValidShell no
DefaultRoot ~
DirFakeUser on ftp
DirFakeGroup on ftp
User ftp
Group ftp
#UserAlias anonymous ftp
AllowStoreRestart on
AllowRetrieveRestart on
Umask 022
DisplayLogin welcome.msg
DisplayFirstChdir readme
AllowOverwrite yes
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth
#
# Paranoia logging level....
#
ExtendedLog /var/log/proftpd/paranoid.log ALL default
</Global>
I removed the server IP for privacy's sake - this is a client's server.
DA support, if you're reading this - I've already sent you an email with the server's login information.
Any information or suggestions would be greatly appreciated. Thanks in advance!