iT邦幫忙

0

win server 2003無法連線FREENAS 11.x SMB及讀寫權限問題

  • 分享至 

  • twitterImage

各位先進好, 我安裝了一個 freenas 11.x 遇到了連線問題
環境 :
WIN SERVER 2003 / WIN SERVER 2003 R2 /WIN SERVER 2012 R2/WIN 7 /WIN 8/ WIN 10

網域
WIN SERVER 2003 R2(AD) + WIN SERVER 2003 + WIN 7

FREENAS :
有設定網域項目, 但LDAP似乎無法成功連上
有設兩組使用者 + 一個群組
VFS Object 設定項目
zfs_space /zfsacl /streams_xattr/ acl_tdb / acl_xattr / fruit /shadow_copy / shadow_test

狀況
WIN SERVER 2012 R2 可連線, 可讀寫 (Administrator)
WIN 7 只能唯讀
WIN 8 沒試
WIN 10 登入後, 可讀寫
WIN SERVER 2003 + WIN SERVER 2003R2 無法連線

查詢過後, 應該是 SMB 協定的問題, 我試過下列語法, 設定在 SMB服務的附屬參數 (Global SMB Configuration), 似乎都無效
網路查的語法
Server minimum protocol = NT1
Server maximum protocol = SMB2
FREENAS手冊說明 (http://freenas.2trux.com/FreeNAS_11.0.pdf p.231)
smb.conf 語法 (https://www.freebsd.org/cgi/man.cgi?query=smb.conf&manpath=FreeBSD+11.0-RELEASE+and+Ports )
client ipc min protocol = NT1
client ipc max protocol = SMB2

請問有沒有先進, 有人成功讓 win server 2003 + win7 能正常讀寫 freenas 11.x 分享資料夾??還有哪裡設定沒有注意到的?

https://ithelp.ithome.com.tw/upload/images/20180912/20001633XvHiCOBe2U.jpg

https://ithelp.ithome.com.tw/upload/images/20180912/20001633YCVqpCsvRH.jpg

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

1
77012904
iT邦新手 3 級 ‧ 2018-09-12 10:16:23

我有點印象,之前從FreeNAS 9升到11.1之後,備份排程全部失敗,後來去看,發現是共享資料夾不能用.

找了很多資訊,後來是在SMB服務裡面加上「ntlm auth = yes」這個參數。

https://ithelp.ithome.com.tw/upload/images/20180912/20085220veytD6FcEb.jpg

看更多先前的回應...收起先前的回應...
goodnight iT邦研究生 2 級 ‧ 2018-09-12 11:15:25 檢舉

我查過手冊, 預設值是 yes , 但我設定完重開機及 net use /delete, win7 仍然沒有寫入權限
https://ithelp.ithome.com.tw/upload/images/20180912/20001633shzpfHU1R0.jpg

goodnight iT邦研究生 2 級 ‧ 2018-09-12 13:48:32 檢舉

目前我是加了以下設定, win server 2003 也能連線了, 但是跟 win7 一樣仍然是無法寫入

ntlm auth = yes
reset on zero vc = yes
client min protocol = NT1
client max protocol = SMB2
Server min protocol = NT1
Server max protocol = SMB2
client ipc min protocol = NT1
client ipc max protocol = SMB2

77012904 iT邦新手 3 級 ‧ 2018-09-12 14:06:41 檢舉

你其他的參數可以拿掉

77012904 iT邦新手 3 級 ‧ 2018-09-12 14:10:27 檢舉

對了,我的權限模式是用UNIX

goodnight iT邦研究生 2 級 ‧ 2018-09-13 11:11:08 檢舉

Unix Extensions 灰色的, 沒法勾選, 正在找原因

goodnight iT邦研究生 2 級 ‧ 2018-09-13 15:34:17 檢舉

我在想, 會不會是 freenas 加入網域的關係?
我目前能解決的方式是 : 磁區->分享的資料夾->所有者群組填入(網域\群組名)
但是我猜這樣應該會有很多問題

goodnight iT邦研究生 2 級 ‧ 2018-09-14 09:47:08 檢舉

終於找到一篇 "FreeNAS 整合 AD + CIFS/SMB 設定完全經驗分享 "
http://jasontools.blogspot.com/2017/04/freenas-ad-cifssmb.html

0
不明

Windows Server 2003
有點猛阿

goodnight iT邦研究生 2 級 ‧ 2018-09-12 21:09:31 檢舉

公司窮

我要發表回答

立即登入回答