Linux Samba service establishes anonymous access to file shares

Source: Internet
Author: User

5 Samba Services

SMB(Server messagesblock, Information Service block) is a kind of communication protocol that shares files and printers on local area network, and it provides shared services of files and printers among different computers in LAN. the SMB protocol is a client / server protocol that allows clients to access shared file systems, printers, and other resources on the server.

/etc/samba/smb.conf master configuration file

[Global] Global Settings

Workgroup = Morkgroup set the workgroup name where the server is located

Server string = Samba Server describes Samba servers

Security = Share

/*1.share: User access Sambaserver does not need to provide a username and password , security can be low.

2. User:the Samba server shared directory can only be accessed by authorized users , and Samba server is responsible for checking the correctness of the account and password. The account number and password are to be established in this Samba Server .

3. Server: Relying on other windowsnt/2000 or Samba server to verify the user's account and password , is a proxy authentication. In this safe mode , the system administrator can centralize all windows users and passwords onto an NT system , using Windows NT for Samba authentication , the remote server can automatically authenticate all users and Passwords , and if authentication fails , Samba uses the user-level security mode as an alternative.

4.Domain: Zone security level , using the primary domain controller (PDC) to complete authentication. */

[Share] User Directory sharing settings

Comment= Share Description information

Path=/share shared directory path

Read Only=no is yes/ no no read-only sharing when conflicts with writable also writable prevail

Public=yes Public is used to specify whether the share allows the guest account Access


This article is from a "little progress every Day" blog, make sure to keep this source http://2589903.blog.51cto.com/2579903/1571673

Linux Samba service establishes anonymous access to file shares

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.