# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2009/08/20 14:39:12

[global]
	display charset = UTF8
	dos charset = 852
	#unix charset = ISO9959-2
	unix charset = utf-8
	workgroup = ZSKARLOVARSKA
	netbios name = SERVERZS2
	map to guest = Bad User
	passwd program = /usr/bin/passwd %u
#	passwd chat = "*Enter OLD password*" %o\\n "*Enter NEW password*" %n\\n "*Reenter NEW password*" %n\\n "*Password changed*"
	passwd chat = "*Enter new UNIX password*" %n\\n "*Retype new UNIX password*" %n\\n "*passwd: password updated successfully*"
	unix password sync = Yes
	smb ports = 139
	add user script = useradd -m -s /bin/false %u -G users
	add machine script = /usr/sbin/useradd -m -c Machine -d /var/lib/nobody -s /bin/false %m$ -g machine
	logon path = \\%L\profiles\.msprofile
	logon drive = P:
	logon home = \\%L\%U\.9xprofile
	domain logons = Yes
	os level = 255
	preferred master = Yes
	domain master = Yes
	wins support = Yes
#	include = /etc/samba/dhcp.conf

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	inherit acls = Yes
	browseable = No

[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	create mask = 0600
	directory mask = 0700
	#store dos attributes = Yes
	browseable = No

[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
	browseable = No

[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	write list = root
	browseable = No

[data]
	comment = aplikace na serveru
	path = /data
	read only = No
	create mask = 0777
	directory mask = 0777
	guest ok = Yes
	case sensitive = No

[evidence]
	browseable = No
	comment = evidence zaku
	writable = yes
	create mode = 0755
	path = /home/ucitele/evidence1
	directory mode = 0755
#	valid users = root, long, evidence1, amc, j.povazajova, b.treglerova, m.hajkova
#	write list = root, long, evidence1, amc, j.povazajova, b.treglerova, m.hajkova

[fotky]
        comment = fotky-galerie
        path = /var/www/images/phocagallery
#        valid users = root, long, evidence1, amc, j.povazajova, b.treglerova, m.hajkova
#        write list = root, long, evidence1, amc, j.povazajova, b.treglerova, m.hajkova
        read only = No
        create mask = 0777
        directory mask = 0777
        browseable = Yes

[sdilena]
	comment = sdilena slozka
	path = /data/sdilena/edusoft/edusdilena
	read only = No
	create mask = 0777
	directory mask = 0777
	guest ok = Yes
	case sensitive = No

[sdil_vedeni]
	comment = sdilena vedeni
	path = /home/ucitele/sdil_vedeni
	valid users = root, long, j.povazajova, b.treglerova, m.hajkova, amc
	read only = No
	create mask = 0770
	directory mask = 0770
	browseable = No

[edusoft]
	comment = edusoft
	path = /data/sdilena/edusoft/edusdilena
	read only = No
	create mask = 0777
	directory mask = 0777
	guest ok = Yes

[web_ddm]
	comment = web pro ddm
	path = /data/web_ddm
	read only = No
	create mask = 0777
	directory mask = 0777
	guest ok = Yes
[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	inherit acls = Yes
	browseable = No

[dmsoft]
	writeable = yes
	valid users = @ucitele
	create mode = 750
	path = /home/ucitele/evidence1/dm Software
	directory mode = 750

[amc]
        writeable = yes
        valid users = root
        create mode = 777
        path = /home/www/amc/images/phocagallery
        directory mode = 777


[zdravavyziva]
        writeable = yes
        valid users = milano, root
        create mode = 777
        path = /home/www/zdravavyziva
        directory mode = 777

