Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
1.2k views
in General by (120 points)

I have added a Windows account within CompleteFTP using the domain search function.  However, when I try to use the Windows account to connect, I constantly get "User domain\user failed to authenticate".  I am using Filezilla FTP client to attempt to connect.  I have attempted to connect using FTP, SFTP and FTPS.

 

I created a non-Windows account and I am able to connect with that non-Windows user.

by (2.7k points)
Can you please check to see what the server log says?  There should be some more information about the failure there.
by (120 points)
I have and it says the user not found.  However, I can connect using Windows File Explorer ftp:servername.  When prompted for username and password I enter the same Windows credentials that I'm inputing into Filezilla for sftp.
by (162k points)
Please post the relevant part of the server log (not too much!) at the Debug level.
by (120 points)
Here is a successful attempt using unsecure Windows File Explorer FTP.  I'm showing this to prove that there is a user Windows account amorris

I'll follow up with an unsuccessful using Filezilla

2017-06-14 16:15:15,299 DEBUG FTP.UserCommand [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] User XYZ.com\amorris available - password required
2017-06-14 16:15:15,299 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Processed command USER XYZ.com\amorris
2017-06-14 16:15:15,299 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] CMD< 331 Password required for XYZ.com\amorris
2017-06-14 16:15:15,299 DEBUG FTP.FTPSession [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] setting state to AwaitPassword
2017-06-14 16:15:15,299 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] OnSend: Response 18
2017-06-14 16:15:15,299 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] BeginSend: Response 18
2017-06-14 16:15:15,299 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Obscuring user password
2017-06-14 16:15:15,299 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] CMD> PASS ********
2017-06-14 16:15:15,299 DEBUG Core.User [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Authenticating Windows user XYZ.com\AMorris
2017-06-14 16:15:15,299 DEBUG Core.WindowsImpersonation [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Searching domain XYZ.com for user AMorris
2017-06-14 16:15:15,408 INFO Core.WindowsImpersonation [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Windows Interactive logon succeeded for XYZ.com\AMorris
2017-06-14 16:15:15,408 INFO Core.WindowsImpersonation [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Using Windows identity domain\AMorris
2017-06-14 16:15:15,408 DEBUG Core.ImpersonationContext [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Impersonation begin -> 'domain\AMorris'
2017-06-14 16:15:15,408 DEBUG Core.PlugInManager [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Created plug-in WindowsFolder with class EnterpriseDT.Net.FtpServer.FileSystem.Windows.FolderAdapter
2017-06-14 16:15:15,424 DEBUG Core.ImpersonationContext [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Impersonation end -> 'NT AUTHORITY\SYSTEM'
2017-06-14 16:15:15,424 INFO Core.UserSession [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] XYZ.com\AMorris logged into Default Site with protocol FTP on y.y.y.y:21 from x.x.x.x:53274
2017-06-14 16:15:15,424 DEBUG Core.User [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] ActivateSizeWatchers()
2017-06-14 16:15:15,424 DEBUG FTP.PassCommand [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] User XYZ.com\AMorris logged in (Key=70b8f43a-9512-4b18-83f9-1ca92b560491)
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Processed command PASS ********
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] CMD< 230 User XYZ.com\AMorris logged in.
2017-06-14 16:15:15,424 DEBUG FTP.FTPSession [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] setting state to AwaitCommand
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] BeginSend: Response 19
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] OnSend: Response 19
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] CMD> opts utf8 on
2017-06-14 16:15:15,424 DEBUG Core.ImpersonationContext [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Impersonation begin -> 'domain\AMorris'
2017-06-14 16:15:15,424 DEBUG FTP.OptsCommand [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Forcing encoding to UTF8
2017-06-14 16:15:15,424 DEBUG Core.ImpersonationContext [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Impersonation end -> 'NT AUTHORITY\SYSTEM'
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Processed command opts utf8 on
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] CMD< 200 UFT8 enabled.
2017-06-14 16:15:15,424 DEBUG FTP.FTPSession [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] setting state to AwaitCommand
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] BeginSend: Response 20
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] OnSend: Response 20
2017-06-14 16:15:15,424 DEBUG FTP.FTPConnection [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] CMD> syst
2017-06-14 16:15:15,424 DEBUG Core.ImpersonationContext [Session.10:Default Site:XYZ.com\AMorris:x.x.x.x] Impersonation begin -> 'domain\AMorris'
by (120 points)
2017-06-14 16:25:34,401 DEBUG Core.UserManager [Session.13:Default Site:user?:x.x.x.x] Retrieved user from cache: 70b8f43a-9512-4b18-83f9-1ca92b560491
2017-06-14 16:25:34,401 DEBUG Core.UserSession [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Session user set to 'XYZ.com\AMorris'
2017-06-14 16:25:34,401 DEBUG Core.User [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Authenticating Windows user XYZ.com\AMorris
2017-06-14 16:25:34,401 DEBUG Core.WindowsImpersonation [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Searching domain XYZ.com for user AMorris
2017-06-14 16:25:34,432 INFO Core.WindowsImpersonation [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Windows Interactive logon succeeded for XYZ.com\AMorris
2017-06-14 16:25:34,432 INFO Core.WindowsImpersonation [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Using Windows identity domain\AMorris
2017-06-14 16:25:34,432 WARN SSH.PasswordAuthentication [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Login failed: User XYZ.com\AMorris has no SSH services enabled
2017-06-14 16:25:34,432 DEBUG SSH.SSHAuthService [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Removed authentication method 'password'
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Sequence: 7
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Sending 64 bytes
2017-06-14 16:25:34,432 DEBUG SSH.SSHAuthService [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Sent SSH_MSG_USERAUTH_FAILURE: methods=publickey,partial=False
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Sent 64 bytes
2017-06-14 16:25:34,432 INFO SSH.SSHAuthService [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] User XYZ.com\amorris failed to authenticate (Remote IP=x.x.x.x)
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] PreProcessPacket pt=SSH_MSG_IGNORE,len=149
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Ignore msg received
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] OnReceive called
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] OnReceive 112 bytes
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] PreProcessPacket pt=SSH_MSG_DISCONNECT,len=60
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Errorcode=14, desc=No supported authentication methods available
2017-06-14 16:25:34,432 DEBUG SSH.SFTPSession [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] setting state to Disconnected
2017-06-14 16:25:34,432 DEBUG SSH.SFTPConnection [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] Closing connection
2017-06-14 16:25:34,432 DEBUG Core.UserSession [Session.13:Default Site:XYZ.com\AMorris:x.x.x.x] ReleaseResources()
by (162k points)
Login failed: User XYZ.com\AMorris has no SSH services enabled

Trying to login via SFTP, but SFTP is disabled for this user.  If they are explicitly added as Windows users to CompleteFTP, ensure SFTP is enabled. If they are not (Automatic Windows User), check the defaultWindows system user.

Please log in or register to answer this question.

Categories

...