[samba-jp:19651] Re: 初めまして。SAMBAの設定について教えてください
    kazunori_mori
    mori @ mns-japan.com
       
    2007年 8月  8日 (水) 14:26:10 JST
    
    
  
# 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: 2007-06-29
[global]
	workgroup = mshome
	printcap name = cups
	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:
	usershare allow guests = Yes
	add machine script = /usr/sbin/useradd  -c Machine
-d /var/lib/nobody -s /bin/false %m$ domain master = No
	usershare max shares = 300
	winbind gid = 10000-20000
	winbind uid = 10000-20000
	domain logons = No
	idmap gid = 10000-20000
	idmap uid = 10000-20000
	security = user
[homes]
	comment = Home Directories
	valid users = %S, %D%w%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
[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
	guest ok = Yes
	valid users = users,root
[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
## Share disabled by YaST
# [netlogon]
[work]
	inherit acls = Yes
	path = /home
	read only = No
[works]
	hosts allow = 192.168.1.0/255.255.255.0
	inherit acls = Yes
	path = /home/group/
	read only = No
	valid users = @users, @ root
[ct1]
	inherit acls = Yes
	path = /home/ct1/
	read only = No
	valid users = user,root
[ct2]
	inherit acls = Yes
	path = /home/ct2/
	read only = No
	valid users = users,root
[ct3]
	inherit acls = Yes
	path = /home/ct3/
	read only = No
	valid users = users,root
[ct4]
	inherit acls = Yes
	path = /home/ct4
	read only = No
	valid users = users,root
[tys-1]
	inherit acls = Yes
	path = /home/tys-1/
	read only = No
	username = tys-1
[tys-2]
	inherit acls = Yes
	path = /home/tys-2
	read only = No
	valid users = tys-1 @ root,tys-2 @ root
[workarea]
	inherit acls = yes
	path = /home/workarea/
	case sensitive = no
	strict locking = no
	msdfs proxy = no
	read only = No
	create mask = 2777
	available = Yes
	directory mask = 2777
[gyoumu]
	comment = 
	inherit acls = Yes
	path = /home/workarea/業務
	read only = No
[kojinuser]
	comment = 
	inherit acls = Yes
	path = /home
	read only = No
[torihikisaki]
	comment = 
	guest ok = Yes
	inherit acls = Yes
	path = /home/workarea/取引先
	read only = No
-- 
kazunori_mori <mori @ mns-japan.com>
    
    
samba-jp メーリングリストの案内