[samba-jp:20128] 書き込み遅延が頻発します

野口@不動技研工業 snoguchi @ fudo-giken.co.jp
2008年 3月 29日 (土) 10:37:02 JST


野口と申します。

現在、Samba+LDAPでドメインを構築し、ユーザのホームディレクトリに、
FirefoxやThunderbirdのプロファイルを置いて使っています。

この環境にて作業をしていると、Thunderbirdで受信したメール(のファイル)
の読み書き時に、「Windowsの書き込み遅延」警告が頻発し、
ひどい時には送受信出来ない状況になります。

ディスク故障を疑って、ディスクチェック、交換(移行処理)を行ってみたので
すが、問題が解決しません。

最近、太田@NECさまがMLへ投稿した「dos filetime resolution」の件を見て、
もしかしてSAMBAのオプションが関係しているのか?と思っているのですが、
何か情報をお持ちの方いらっしゃいませんでしょうか?

念のため、smb.confも添付いたします。
よろしくお願いいたします。

[global]
	log level = 2 passdb:3 auth:5
	unix charset = utf8
	dos charset = CP932
	display charset = CP932

	# generic settings for domain controller
	workgroup = KANAFUDO
	netbios name = KANASVR
	server string = %L
	security = user
	os level = 65
	domain logons = Yes
	domain master = Yes
	preferred master = Yes
	local master = Yes
	name resolve order = lmhost host wins bcast
	wins support = Yes
	dns proxy = No
	enable privileges = Yes
	encrypt passwords = Yes
	unix password sync = Yes
	passwd program = /usr/local/sbin/smbldap-passwd -u %u
	passwd chat = *New*password* %n *Retype*new*password* %n\n
*all*authentication*tokens*updated*
	dos filetime resolution = Yes

	# printers settings
	#load printers = No
	disable spoolss = Yes
	printing = cups
	printcap name = cups
	show add printer wizard = No
	#create mask = 0640
	#directory mask = 0750
;	force create mode = 0640
;	force directory mode = 0750
	nt acl support = Yes
	deadtime = 10
	guest account = Guest
	map to guest = Bad User
	#dont descend = /proc,/dev,/etc,/lib,/lost+fount,/initrd

	# system administrator
	admin users = root,Admin,@"Domain Admins"

	# for make user's home directory(P219)
	obey pam restrictions = Yes
	
	# LDAP settings
	passdb backend = ldapsam:ldap://
	ldap suffix = dc=kanafudo,dc=org
;	ldap admin dn = cn=Manager,dc=kanafudo,dc=org
	ldap admin dn = uid=Admin,ou=Users,dc=kanafudo,dc=org
	ldap user suffix = ou=Users
	ldap group suffix = ou=Groups
	ldap machine suffix = ou=Computers
;	ldap idmap suffix = ou=Idmap
	ldap passwd sync = Yes
;	idmap uid = 1000-15000
;	idmap gid = 1000-15000

	# LDAP add/delete/modify commands
	ldap delete dn = Yes
	add user script = /usr/local/sbin/smbldap-useradd -a -m "%u"
	add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
;	add machine script = /usr/local/sbin/smbldap-useradd -t 0 -w "%u"
	add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
	add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
	delete user script = /usr/local/sbin/smbldap-userdel "%u"
	delete group script = /usr/local/sbin/smbldap-groupdel "%g"
	delete user from group script = /usr/local/sbin/smbldap-groupmod -x
"%u" "%g"
	set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"

[share]
	comment = share drive
	path = /share
	guest ok = Yes
	read only = No
	create mask = 0777
	directory mask = 0777
	
[homes]
	comment = Home Directories
	path = /home/%u/SmbHome
	valid users = %S,%D%w%S
	create mask = 0664
	directory mask = 0775
	browseable = No
	read only = No
	writeable = Yes
	inherit acls = Yes

[profiles]
	comment = Network Profiles Service
	path = %H/profile
	read only = No
	browseable = No
	guest ok = Yes
	profile acls = Yes

[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	admin users = Admin,@"Domain Admins",root
	guest ok = No
	browseable = No
	writeable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	print admin = root,Admin,@"Domain Admins"
	create mask = 0600
	guest ok = Yes
	printable = Yes
	use client driver = Yes
	browseable = Yes




samba-jp メーリングリストの案内