smaba 從windos 開啟的時候, 無法直接同步 [論壇 - Ubuntu 與工具程式及軟體推薦]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



smaba 從windos 開啟的時候, 無法直接同步
會員一級
註冊日期:
2007/10/7 1:43
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 15
MP : 2 / 703
EXP: 60
離線
我在 Debian 6 開啟 samba

但是我在 windows 7 裡面開啟 Linux 的檔案

存檔後

他都會再提示一次

要不要重開載入該檔案




因為我安裝了非常多台各種 Linux 版本的系統

用 samba 都沒這個問題

只有這台有這個問題

因為這台有特殊需要

必須極小化作業系統和資源

所以猜想可能少安裝了一些東西




有人有類似經驗嗎?

或有任何建議?

2013/1/8 18:11
家教
接 PHP, java , xoops , Linux 主機維護案件,有需要請電子郵件聯絡。
應用擴展 工具箱
回覆: smaba 從windos 開啟的時候, 無法直接同步

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 70795
EXP: 24
離線
你的 Samba Server 是 放在 Windows 還是 Debian ?

2013/1/8 19:28
應用擴展 工具箱
回覆: smaba 從windos 開啟的時候, 無法直接同步
管理員
註冊日期:
2011/3/11 6:32
所屬群組:
討論區管理群
等級: 44
HP : 216 / 1084
MP : 1088 / 39742
EXP: 38
離線
maketub 寫到:
有人有類似經驗嗎?

或有任何建議?

說不定是 Linux 預設的 UTC 時間跟 Windows 預設的本地時間(UTC+8)的差異造成的

poloshiao 寫到:
你的 Samba Server 是 放在 Windows 還是 Debian ?

根據內文描述,Debian

2013/1/9 6:21
應用擴展 工具箱
回覆: smaba 從windos 開啟的時候, 無法直接同步

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 70795
EXP: 24
離線
假設你是 把 SAMBA Server 設在 Debian

1. Linux 的 SAMBA Server 有自己的 使用者密碼 資料庫
如果 你希望 讓 這個 使用者密碼 資料庫 自動跟 Linux 電腦的使用者 密碼資料庫 同步
(就是說 只要 建立 一次 使用者 帳號與密碼 兩個 資料庫 就同步產生)
需要 執行
Add users who can access your shares with the 'smbpasswd' command.
sudo smbpasswd -a username
New SMB password:
Retype new SMB password:
Added user username.
sudo smbpasswd -e username
Enabled user username.
NOTE: the username used here should be a real user setup on your PC/Server. Reload Samba for every change to users/passwords or 'smb.conf'
sudo /etc/init.d/samba reload
備註說明
這裏的 username 必須 同時是 Debian 及 Windows 的 使用者帳號 而且 密碼相同
其它 細節 請參考
File Sharing (Basics)

1-1. 安裝 libpam-smbpass 套件 則上述 程序 可以省略
它會自動使得 SAMBA 的 使用者資料庫 與 Debian 系統 使用者 資料庫 同步
sudo apt-get install libpam-smbpass

libpam-smbpass
pluggable authentication module for Samba
This is a module for PAM that enables a system administrator to migrate
user passwords from the Unix password database to the SMB password
database as used by Samba, and to subsequently keep the two databases in
sync. Unlike other solutions, it does this without needing users to log
in to Samba using cleartext passwords, or requiring them to change their
existing passwords.


2. 如果上面方法 還沒幫你解決問題
請參考
2-1. Samba/SambaServerGuide
2-2. Chapter 3. Server Types and Security Modes
特別是
2-2-1. Share-Level Security
2-2-2. Password Checking

2013/1/9 7:18
應用擴展 工具箱
回覆: smaba 從windos 開啟的時候, 無法直接同步
會員一級
註冊日期:
2007/10/7 1:43
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 15
MP : 2 / 703
EXP: 60
離線
超級感謝

確實是時區的問題

已經解決了

2013/1/9 10:18
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.