Network source is not accessible via name

Alex80 1 Reputation point
2020-12-01T07:59:16.457+00:00

Hi All!

Under Windows 10Pro, I would like to reach one of our linux servers via computer name with AD users credantial, but it doesn't work:

C:\Users\a>net use \jean-dev

System error 1396 has occurred.
The target account name is incorrect.

But via ip address works correctly:
C:\Users\a>net use \192.168.1.219
The command completed successfully.

I can ping or telnet this linux server via computer name, nslookup also works, so the dns records are good.

What is the problem with the "account name" via computer name?

Is it a Windows or linux problem?

Thanks in advance!

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
697 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Gloria Gu 3,896 Reputation points
    2020-12-02T02:58:03.24+00:00

    @Alex80 Hi,

    Thank you for posting in Q&A!

    The 'target account name' refers to the name of the computer you are connecting to.
    I want to confirm that are the Win10 and linux server join the same domain?

    There're plenty of threads with the same issue, according to some successful solution, please first try to quit and rejoin to the domain (the linux server).
    https://serverfault.com/questions/407929/getting-the-target-account-name-is-incorrect-when-accessing-a-share-on-the-des

    As the reference on the Microsoft support site, this problem can be caused by AD replication failure on one of the domain controllers.
    Here's a link to a KB article, for more details about the Resolutions, please refer to:
    https://video2.skills-academy.com/en-us/troubleshoot/windows-server/identity/active-directory-replication-error-1396

    Hope you have a nice day : )
    Gloria

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    https://video2.skills-academy.com/en-us/answers/articles/67444/email-notifications.html


  2. Alex80 1 Reputation point
    2020-12-07T11:01:12.63+00:00

    Dear Gloria,

    Thank you for you answer.

    Yes, they are in the same somain.
    We have only two DC, one of them is the main DC with PDC role.

    Rejoin:
    Earlier I did join again, but it didn't help.

    AD replication:
    1-2: DCDIAG AND REPADMIN works fine, without reported error 1396.
    3-4: I don't know how i can try it.
    5: Can I run dcpromo without any side-effect? I don't wanna install AD again.
    6: I reported it in my original post.
    7: We defined our time with w32tm, I think is OK.

    Any other ideas?:)

    Thank you again,
    Alex


  3. Gloria Gu 3,896 Reputation points
    2020-12-17T09:31:13.92+00:00

    @Alex80 Hi,

    Thank you for posting in Q&A!

    After my discussion with my colleagues, here's my reply:

    When use"net use\hostname"to access the network resource, the error message shows that it's because of the DNS resolution issue. However, the DNS records are good.
    What's more, the win10 client can access the windows server successfully. So we assume that the problem might because of the linux server. Some configuration should be changed in linux server.

    But please understand that we only support issues of windows system. So as a workaround, I would suggest you to access the resource via IP address. If you want to find the root cause, maybe you should contact linux team for suggestions. Thank you for your understanding!

    Marry Christmas!

    Hope you have a nice day : )
    Gloria

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    https://video2.skills-academy.com/en-us/answers/articles/67444/email-notifications.html

    0 comments No comments