How to quickly configure samba-Linux Release Technology-debian information In Debian is as follows. 1. mkdir "share fold name"
2. groupadd "group name". I create "pd1 and pd2" groups respectively.
3. adduser "username" to create a samba user
4. vim/etc/samba/smb. conf
Bytes ---------------------------------------------------------------------------------------------------
[Global]
Workgroup = WORKGROUP
Map to guest = Bad User
Username map =/etc/samba/smbusers
Log file =/var/log/samba/% m. log
Name resolve order = bcast host lmhosts wins
Max log size = 0
Time server = Yes
Deadtime = 5
Socket options = TCP_NODELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192
Printcap name = cups
Logon drive = P:
OS level = 0
Domain master = No
Wins server = eth0: 192.168.5.99, eth0: 192.168.200.4
Read only = No
Create mask = 0770
Directory mask = 0775
Cups options = raw
Include =/etc/samba/dhcp. conf
[Homes]
Comment = Home Directories
Valid users = % S, % D % w % S
Inherit acls = Yes
Browseable = No
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