我的samba配置
来源:互联网 发布:域名赎回期是多久 编辑:程序博客网 时间:2024/05/21 20:26
[global]
workgroup = HOME
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
unix password sync = yes
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
#passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
socket options = TCP_NODELAY
#pam password change = yes
#map to guest = bad user
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[public]
comment = Public Share
browseable = yes
writable = yes
path = /media
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
workgroup = HOME
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
unix password sync = yes
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
#passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
socket options = TCP_NODELAY
#pam password change = yes
#map to guest = bad user
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[public]
comment = Public Share
browseable = yes
writable = yes
path = /media
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
- 我的samba配置
- samba的简单配置
- samba服务器的配置
- Samba文件服务器的配置
- Samba文件服务器的配置
- 关于Samba的配置
- Samba的基本配置
- solaris samba 的配置
- Samba的配置
- samba的有关配置
- samba的配置
- 配置linux的samba
- Samba的配置
- samba服务器的配置
- Samba服务器的配置
- samba 服务器的配置
- samba配置的经历
- samba的配置
- 8255实现秒表
- 计算机会议级别
- Linux内核的异步通知
- 二级指针
- twitter 因api版本更新造成的 unknown error
- 我的samba配置
- STL内存分配器
- So cute are you python 1
- 6410的存储空间分配
- Linux 系统调用
- HTTP协议详解(真的很经典)
- 如何利用C/C++逐行读取txt文件中的字符串(可以顺便实现文本文件的复制)
- Poj 2115 C Looooops (模线性方程)
- Leetcode: Sqrt(x)