歡迎您光臨本站 註冊首頁

關於samba的一個問題,請各位幫幫忙

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

關於samba的一個問題,請各位幫幫忙

有個問題想問問各位,架了一個samba服務,共享一些ppt文件,我把samba的目錄掛載到xp下使用 .現在有個問題:當我打開一個ppt文件,看完以後再關掉;這時,別的用戶再去打開這個ppt,就會提示:這個文件正在被xx修改,是否打開一個副本.即使我看完了,把我電腦關了還是如此.請問各位有什麼解決方法沒?
《解決方案》

附上我的samba配置

workgroup = tach.local
printing = cups
printcap name = cups
printcap cache time = 750
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 = No
add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp %m$
domain logons = Yes
domain master = Yes
idmap backend = ldap:ldap://x.x.x.x
ldap admin dn = cn=Administrator,dc=tach,dc=local
ldap group suffix = ou=group
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Machines
ldap passwd sync = Yes
ldap suffix = dc=tach,dc=local
ldap user suffix = ou=people
passdb backend = ldapsam:ldap://x.x.x.x
security = user
wins support = No
local master = Yes
os level = 65
preferred master = Yes
idmap gid = 1000-20000
idmap uid = 1000-20000
wins server =
strict locking = no
oplocks = no
oplock break contention limit = 2


comment = TACH Internal Shared Documents
inherit acls = Yes
path = /home/TACHShare
read only = No
create mask = 0660
directory mask = 0770
oplock break contention limit = 2
《解決方案》

1。除了PPT以處其它文件,是否也是這樣?.
2。當關掉PPT后,smbstatus一下看看,這個進程是否還存在。
3。貼出相關的LOG,分析一下。

[火星人 ] 關於samba的一個問題,請各位幫幫忙已經有403次圍觀

http://coctec.com/docs/service/show-post-17285.html