Access the Samba server by changing the user identity in Windows

Source: Internet
Author: User

When the mongodows client accesses the Samba server, a common phenomenon is that after a connection to the Samba server is established, the authentication dialog box is no longer displayed when the server is accessed again, in this way, the user identity cannot be changed. The reason for this is that the mechanism problem of Windows itself is more specifically a problem with the SMB service. Because the NETBIOS service is connection-oriented, after the customer establishes a connection with the Samba server, this connection is always active for a period of time. Therefore, when a user accesses the server again, the user uses the previous identity without further authentication.


Solution:


Net use \ 192.168.1.102 \ IPC $/delete the last connection.


After the shared connection is successfully deleted, you can change the user identity to access the Samba server.

This article is from the "Technical Achievement dream" blog. For more information, contact the author!

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.