FTP user cannot log in: Error 530

Posted on 2005-05-12
Last Modified: 2013-03-18
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.
Question by:jwaller53

    Author Comment

    One other thing, allow anonymous connections is not allowed.

    Author Comment

    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;en-us;200475 for details.

    Author Comment

    This can be closed; how can I close the topic myself?
    LVL 14

    Accepted Solution

    Hi jwaller53,
    The details for how to close a question are here:
    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.

    Expert Comment

    This fixed the same problem for me too thank you

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
    Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now