系統描述:
Linux Centos 5.5 64bit Kernel 2.6.18-194.el5
samba-3.0.33-3.40.el5_10
硬體描述:
OS 兩顆320GB,硬體的RAID做Raid 1(Raid Controller HightPoint RR644)
DATA 兩顆3TB,硬體的RAID做Raid 1(Raid Controller HightPoint RR644)
由於這張卡最高支援到Centos 5.5,所以我只能安裝這個版本.
已經將Samba 加入網域,也成功的分享了目錄.
smb.conf
[global]
workgroup = ABC
realm = ABC.COM
server string = Samba Server Version %v
security = ADS
password server = dc.abc.com
passdb backend = tdbsam
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
winbind enum users = Yes
winbind enum groups = Yes
inherit permissions = Yes
inherit acls = Yes
map acl inherit = Yes
map archive = No
map readonly = no
store dos attributes = Yes
[Share]
path = /Share/samba
admin users = ABC\sysadmin
read only = No
[Data]
path = /Data
admin users = ABC\sysadmin
read only = No
分享[Data]
透過Windwos server 去設定Samba分享目錄的權限也沒有問題.(使用者存取也正常)
分享[Share]
透過Windwos server 去設定Samba分享目錄的無法寫入權限
Unable to save permission change on samba server version 3.0.33-3.40
fstab
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/Vol_Data-LV_Data on /Share/samba type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
有將以下FOLDER 權限SET 到777嗎?
path = /Share/samba