[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 735
  • Last Modified:

FTP user cannot log in: Error 530

We recently switch all of our computers and users to a new domain using ADMT. Since the migration we are having trouble accessing one of our Windows 2000 FTP sites by using a particular username. The error that we receive is the following:

530 User <username> cannot log in.
Login failed.

In reviewing the system logs I get the following error:

The server was unable to logon the Windows NT account <username> due to the following error: Logon failure: uknown user name or bad password. The data is the error code.

If I use domain\username or localhost\username then it works. If I just use the username without the domain distinction then it fails. This was not the case before, however, only the username was required. I have validated that the user has file level permissions as well as FTP operator rights. Also, the user has log on local rights in the local and domain local policies.

I know it might seem simple enough to just use domain\username and get on with my life but unfortunately it isn't that simple. We have several clients that have scripts with the username hardcoded and it would be unrealistic to ask them to change their scripts in this scenario.
  • 3
1 Solution
jwaller53Author Commented:
One other thing, allow anonymous connections is not allowed.
jwaller53Author Commented:
I found out what I needed to do. I had to run cscript.exe adsutil.vbs set MSFTPSVR/ DefaultLogonDomain <mynewdomain> and now MS FTP recognizes anyone logging in with just the username as a part of the domain. See http://support.microsoft.com/default.aspx?scid=kb;en-us;200475 for details.
jwaller53Author Commented:
This can be closed; how can I close the topic myself?
Hi jwaller53,
The details for how to close a question are here: http://www.experts-exchange.com/help.jsp#hs5
see the "I answered my question myself" section.

I've taken care of this one with a refund of you 250 points and PAQ but you'll generally have to follow the method above because I might not spot the question and you don't want to leave it for our poor overworked cleanup volunteers :o)
Page Editor.
This fixed the same problem for me too thank you

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now