Windows settings
1. Unban Guest
Right-click on My Computer and select Manage -> Local Users and Groups -> Double-click Guest user in the user item -> Cancel the account disabled option
2. Set shared directory permissions
Right click on the shared directory and click on the properties -> click on the sharing option on the sharing page -> drop down and select the shared object as Everyone -> click on the share button
3. Set up local policies
- Open the command box -> enter secpol.msc -> select local policy
- User rights assignment -> Deny access to this computer from the network -> Delete the Guest user
- Security Options -> Network Access: Sharing and Security Model for Local Accounts -> Drop-down and select Guest Only
Linux mount end:
1. Scan shared directories
smbclient -L //192.168.80.1/ #Windows IP address
No need to enter the password and press Enter
2. Mount the shared directory
yum install -y cifs-utils
mkdir /data
mount.cifs //192.168.80.1/share /data
does not need to enter a password and press Enter
Problems and solutions and points of attention
problem:
Solution:
First open
Then pay attention to connecting the computer with a network cable, not a wireless connection, otherwise it will not connect