Article ID: 127216, created on Oct 22, 2015, last review on Oct 22, 2015

  • Applies to:
  • Operations Automation 5.5


Windows FTP user cannot connect: '530 User cannot log in', while trying to establish FTP connection locally using ftp.exe the following error is displayed:

530-user cannot log in.
Win32 error: The specified server cannot perform the requested opeation.
Error details: Home directory lookup failed.


The FTP user has been successfully authenticated, but the server could not retrieve the home directory from Active Directory. It can be caused either due to AD domain controller unavailability or DNS lookup issue.


  1. Make sure that domain controllers are available from host in question.

  2. Make sure that Active Directory domain SRV record resolves correctly by all DNS servers used by the host in question. The list of DNS servers used by the host can be retrieved from properties of TCP/IPv4 protocol in Network and Sharing Center for each network connection. You can check the Active Directory domain SRV records using nslookup utility:

    Default Server:  UnKnown
    > set type=all
    > _ldap._tcp.dc._msdcs.<ACTIVE_DIRECTORY_DOMAIN_NAME> <DNS_SERVER>

The DNS query above should return hostnames and IP addresses of all domain controllers in Active Directory domain. Please note that this DNS query should be checked using all DNS servers used by the host (you should put IP address of the DNS server in <DNS_SERVER> parameter in command above), in case if one of the DNS servers returns incorrect IP address of the domain controller change the DNS settings for network connection in order not use problem DNS server.

Search Words

530-user cannot log in

Home directory lookup failed.

The specified server cannot perform the requested opeation.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF