In centos, when w uses smbclient to connect to the window, session setup failed: NT_STATUS_LOGON_FAILURE, centossmbclient appears.

Source: Internet
Author: User

In centos, when w uses smbclient to connect to the window, session setup failed: NT_STATUS_LOGON_FAILURE, centossmbclient appears.

1. In the window, choose "network"> "my computer"> "view shared files", indicating that the window sharing is normal;

2. when configuring sharing in the window, only the super Administrator is allowed to access, but I renamed the super Administrator qidizi, not the Administrator. Therefore, in centos, use the following command to connect:

This error is prompted when you enter the correct password.


Smbclient-U QIDIZI-PCS/qidizi-L 192.168.1.101


3. Enter the net user in cmd in the window. The listed users are users that can be connected through the network, not qidizi displayed in the window. In fact, the Administrator is still displayed;

4 OK. Try to use the following command to connect: OK.


SMB client-U QIDIZI-PCS/Administrator-L 192.168.1.101



Enter QIDIZI-PCS/Administrator's password:
Domain = [QIDIZI-K27] OS = [Windows 7 Professional 7601 Service Pack 1] Server = [Windows 7 Professional 6.1]


Sharename Type Comment
--------------------
ADMIN $ Disk Remote Management
C $ Disk is shared by default.
D $ Disk shared by default
E $ Disk shared by default
IPC $ IPC remote IPC
Www Disk
Connection to 192.168.1.101 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.