配置文件共享事例 file:/etc/samba/smb.conf
2007-03-31 10:24
525 查看
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-12-01
[global]
workgroup = TUX-NET
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/.9xprofile
logon drive = P:
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[ycportal]
comment = ycportal
path = /apps/ABCCQ.ear/ycportal.war
valid users = wasadmin
writable = yes
[webpublish]
comment = webpublish
path = /soft/WebSphere/AppServer/installedApps/WAS/webpublish.ear
valid users = wasadmin
writable = yes
[sybaseBackup]
comment = sybase Backup File
path = /sybase/backup
valid users = wasadmin
writable = yes
[waslog]
comment = waslog
path = /soft/WebSphere/AppServer/logs/server1
valid users = wasadmin
writable = yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-12-01
[global]
workgroup = TUX-NET
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/.9xprofile
logon drive = P:
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[ycportal]
comment = ycportal
path = /apps/ABCCQ.ear/ycportal.war
valid users = wasadmin
writable = yes
[webpublish]
comment = webpublish
path = /soft/WebSphere/AppServer/installedApps/WAS/webpublish.ear
valid users = wasadmin
writable = yes
[sybaseBackup]
comment = sybase Backup File
path = /sybase/backup
valid users = wasadmin
writable = yes
[waslog]
comment = waslog
path = /soft/WebSphere/AppServer/logs/server1
valid users = wasadmin
writable = yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
相关文章推荐
- centos 6.3 如何修改/etc/samba/smb.conf 文件设置多个共享文件夹,一些是公开的,一些是需要认证的
- samba配置用户权限文件smb.conf
- 嵌入式Linux的Samba移植后的 smb.conf文件的配置
- RHEL7 配置samba(smb)文件共享
- Ubuntu和CentOS超级简单的samba配置文件smb.conf
- 执行protoc命令时提示找不到共享库的错误【要把新共享库目录加入到共享库配置文件/etc/ld.so.conf】
- samba的配置文件smb.conf详细说明
- Linux系统(Ubuntu/Debian/RedHat/CentOS)超级简单的samba配置文件smb.conf
- samba配置文件smb.conf的语法格式及其重要选项的说明
- nginx 卸载后重新安装/etc/nginx配置文件没了,cannot open /etc/nginx/nginx.conf (No such file or directory)
- centos 打开配置文件出错:E325: ATTENTION Found a swap file by the name "/etc/vsftpd/.vsftpd.conf.swp"
- RHEL4- SAMBA服务(五)通过修改配置文件smb.conf来实现samba服务
- smb.conf - Samba组件的配置文件
- samba配置文件smb.conf
- ubuntu 9.04 下samba配置实现linux与XP文件共享
- Linux资源使用配置文件 /etc/security/limits.conf
- Fedora 9中如何配置Samba来实现WINDOWS与LINUX之间的文件共享!
- 三种常见的文件共享服务--ftp,nfs,samba 区别和配置
- /etc/resolv.conf. 该文件是DNS域名解析的配置文件
- Linux 共享库配置 /etc/ld.so.conf