Linux and xp lan sharing with smb

Source: Internet
Author: User
Use smb for Linux and xp lan sharing-Linux Enterprise Application-Linux server application information. The following is a detailed description. In this document, syste_username is set up to allow others to access your account from the network. Make sure to modify it.
Original oceanboo:

Sudo apt-get install samba

Sudo apt-get install smbfs

Set access account
Add a system account as a samba user

Sudo smbpasswd-a system_username

Sudo gedit/etc/samba/smbusers

Add in the created smbusers File

System_username = "network username"

Configuration File Modification

Sudo cp/etc/samba/smb. conf/etc/samba/smb. conf_backup

Sudo gedit/etc/samba/smb. conf

Search for this line of text
...
; Security = user
...

Replace the following rows

Security = user
Username map =/etc/samba/smbusers
Restart the Samba Service

Sudo/etc/init. d/samba restart

Note:
Edit the account password of a network user

Sudo smbpasswd-a system_username

Delete an account of a network user

Sudo smbpasswd-x system_username

Ubuntu directly enters IPsmb: // 192.168.1.11/XP to access ubuntu \ 192.168.1.11
Enter the created access account and password. When XP accesses ubuntu, the following error occurs: \ thebye85 \\....... Inaccessible
Modify the Shared File Permission In chmod In ubuntu.
Related Article

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.