[samba-jp:21357] Re: 一部のファイルが常にロックされており上書き・削除ができない問題について

株式会社コミット 長友舞 nagatomo_mai @ comit.co.jp
2011年 3月 11日 (金) 12:50:40 JST


小田切様

ご返信ありがとうございます。

sambaのバージョンは3.5.4です。

smb.confは以下のようになっております。
お見せできる部分だけ極力記載しております。

メンテしきれておらず設定がおかしいところが多々ありますので、
気になるところがあれば教えていただけると嬉しいです。。

======================= Global Settings 
=====================================
[global]
guest ok = no
guest account = nobody
map to guest = Bad User
dos charset = CP932
unix charset = UTF-8
display charset = UTF-8
printing = bsd
load printers = no
disable spoolss = yes
username map = /usr/local/samba/lib/smbusers
msdfs root = no
delete veto files = yes
dos filemode = yes
dos filetimes = yes
dos filetime resolution = yes
fake directory create times = yes
encrypt passwords = yes
smb ports = 139
dns proxy = no
client NTLMv2 auth = yes
socket address = 192.168.11.35
vfs object = full_audit recycle
full_audit:failure = connect disconnect opendir closedir mkdir rmdir open 
close rename unlink
full_audit:success = connect disconnect mkdir rmdir open close rename unlink
recycle:repository = .trash
recycle:keeptree = no
recycle:touch = no
recycle:versions = yes
recycle:maxsize = 0
recycle:exclude = *.tmp *.temp *.obj
utmp = yes
unix password sync = yes
pam password change = yes

----------------------- Network Related Options -------------------------
workgroup = (ワークグループ名を入れています)
server string = Samba Server Version %v
netbios name = (コンピュータ名を入れています)
hosts allow = 192.168. 127.

--------------------------- Logging Options -----------------------------
log file = /var/log/samba/%m.log

----------------------- Standalone Server Options ------------------------
security = user
passdb backend = tdbsam:/etc/samba/passdb.tdb

--------------------------- Printing Options -----------------------------
load printers = yes
cups options = raw

============================ Share Definitions 
==============================
[homes]
        comment = Home Directories
        browseable = no
        writable = yes
        valid users = MYDOMAIN\%S

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes

[share]
comment = 共有フォルダ
path = /home/share
guest ok = no
admin users = root
create mask = 0666
directory mask = 0777
writable = yes
inherit permissions = yes
inherit owner = yes
inherit acls = yes

よろしくお願い致します。

長友 


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5943 (20110310) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






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