[Samba] Tuning for Pegasus Mail

Elmar Haneke elmar at haneke.de
Thu Jun 18 09:27:16 GMT 2009


> You're sure you don't have oplocks disabled?

Oplocks should be active, here is my smb.conf

# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2009/06/18 10:57:52

[global]
	unix charset = iso8859-15
	display charset = utf-8
	workgroup = ARBEITSGRUPPE
	interfaces = 192.168.1.253, 127.0.0.1
	bind interfaces only = Yes
	passdb backend = tdbsam
	passwd program = /usr/bin/passwd %u
	passwd chat = *new*password* %n\n *new*password* %n\n *success*
	unix password sync = Yes
	lanman auth = Yes
	client lanman auth = Yes
	syslog = 0
	max log size = 1000
	debug pid = Yes
	debug uid = Yes
	time server = Yes
	unix extensions = No
	client signing = No
	enable asu support = Yes
	hostname lookups = Yes
	cups server = localhost
	add machine script = /usr/sbin/useradd -g machines -c Machine -d
/var/lib/nobody -s /bin/false %u
	logon script = logon.bat
	logon path = \\sieve\profile\%U
	logon drive = H:
	logon home = \\sieve\UserDir
	domain logons = Yes
	os level = 255
	preferred master = Yes
	domain master = Yes
	wins support = Yes
	ldap ssl = no
	panic action = /usr/share/samba/panic-action %d
	host msdfs = No
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	valid users = noname, nobody, root, @haneke, @gast, @mitarbeiter
	create mask = 0777
	directory mask = 0777
	hosts deny = 192.168.1.110
	lpq command =
	case sensitive = No
	delete readonly = Yes
	dos filemode = Yes

[UserDir]
	path = /home/%u
	valid users = @haneke, @gast, @mitarbeiter
	read only = No
	volume = home




More information about the samba mailing list