Access RedHat Samba sharing in win7

Source: Internet
Author: User

Access RedHat Samba sharing in win7

First, enable Samba:

Service SMB start

Service SMB restart

The Samba configuration file is/ECT/samba/smb. conf. You do not need to change it. Use the default configuration.

By default, the security = user mode is used for sharing. You need to enter the user name and password to access this service.

[Homes] is shared by default. Each user can access his/her home directory.

For example, add a new user:

Useradd jinqing

Passwd jinqing

Smbpasswd-A jinq

SMB needs its own user password and smbpasneed to be set.

In this way,/home/jinqing is shared.

Test: smbclient // localhost/jinqing-ujinqing

You need to set the SELinux parameter to allow shared access. You can run it by referring to the annotations in smb. conf:

Setsebool-P samba_enable_home_dirs on

Then, you need to set security policies for Windows 7, or you will not be able to connect to Windows 7.

Open the management tool and choose "Local Policies"> "Security Options"> "Network Security: LAN Manager authentication level ";
Click Send LM and NTLMv2 In the list. If the negotiation is completed, the NTLMv2 protocol is used.

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.