To configure the Samba server in Linux and solve the problem of Windows Access to Samba, the system prompts "No network provider accepts the specified network path"

Source: Internet
Author: User

Recently I learned about Linux, which has a samba service that can solve the mutual access between Windows and Linux. The interface is equivalent to accessing shared access between windows. Friendly interface. So learning ..

Download the Samba server's rpm, which contains three files.

Check whether Samba is installed on your system.

Whether the Samba server has been installed in the RMP-Q Samba system.

Delete installed samba

Rpm-e smaba (basically cannot be deleted. Because of Association)

Using rpm-e Samba -- nodeps (-- two forced deletions may be dangerous .)

After deletion, use

Rpm-IVH samba-common-2.2.7a-7.9.0.i386.rpm (first)

Rpm-IVH samba-client-2.2.7a-7.9.0.i386.rpm (second)

Rpm-IVH samba-2.2.7a-7.9.0.i386.rpm (third)

Add sanmba users after installation

Useradd Test

Passwd Test

Set user name and password

Run CAT/etc/passwd | mksmbpasswd. Sh>/etc/samba/smbpasswd

Import system users to the samba service.

Set Samba User Password

Smbpasswd Test

Start the samba service after the password is set.

Service SMB start

Service SMB Stop -- stop the samba Service

Service SMB restart SAMBA service

Access the configured SAMBA service in Windows (the premise is that you have ensured that the Windows and Linux networks are interconnected)

CMD input \ Linux IP Address

"No network is provided.ProgramAccept the specified network path "error box and use history to view historical commands. Struggling. Think carefully. It may be related to the firewall. Run the setup command to enter firewall settings. Adjusts the firewall security level. Exit

Access again. Okay...

 

 

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.