Samba setup instance and analysis-Linux Enterprise Application-Linux server application information. The following is a detailed description. The following are the samba settings that I personally use. I will comment out the important and mandatory settings. We recommend that you set the remaining parts.
[Global] // global setting of samba, which is related to whether the whole Access Fault is smooth.
Workgroup = zc // The Working Group to be added to this computer. In fact, you can see other groups under the linux samba link.
Printing = cups
Printcap name = cups
Printcap cache time = 750
Cups options = raw
# Map to guest = Bad User
Include =/etc/samba/dhcp. conf
Logon path =\\ % L \ profiles \. msprofile
Logon home =\\ % L \ % U \. 9 xprofile
# Logon drive = P:
Usershare allow guests = Yes
Security = share // security settings, which are simple and easy to manage.
# Netbios name = suse // if this parameter is not set, the default logon username is used. If this parameter is set incorrectly, samba may not work properly, because // involves a question about whether you can use this name normally,
[Users] // click samba in windows to enter the directory.
Comment = All users
Path =/home // click [users] to directly enter this directory. This setting has the following advantages: this can be directly connected to the user's home directory, so there is no access permission problem (that is to say, B gives A something that belongs to B, of course, A can directly obtain it, Because BB can fully master its own things)
Read only = No // This option indicates that it can be changed
Inherit acls = Yes
Veto files =/aquota. user/groups/shares/
Public = yes // indicates that anyone can browse, and this person only needs to pass the [global] Mark.
Many people say that linux cannot browse files under windows. I suggest you consider the following: 1. Is samba unique when accessing windows, this is because we do not know whether samba can grasp computer information in multiple network regions at the same time. 2. If the network is unique, we need to consider whether the network is smooth, including whether the samba protocol is enabled and runs stably, and whether the physical connection is busy or congested. 3. Whether the max log size in linux is set. I don't want to use it yet, just like this, I do not want to control the number of processes or cpu usage of a single user.
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