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