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.