[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] ACL issue with Samba 2.0.23d + GFS



I build (with ACL support) and installed samba 2.0.23d on RedHat EL
2.6.9. It runs fine. But, I ran into an issue with ACL support.  
Here is the detail:
I set up a cifs share (gfs_cifs) which is on Linux GFS (see the smb.conf
below), and mount it on a XP box. Then I try to change the permission of
the dir through Windows native security tab. When I apply the changes
(click on OK/Apply button), "Unable to save permission changes ...
Access is denied" error message is popped up. 
I tried all other options in smb.conf, and nothing is help.

But, I was able to using "setfacl" command on linux to modify the acl of
GFS dir.

In addition, I was able to do exactly same thing for a share (ext_cifs)
on ext3 file system.

>From the above, it seems to me this problem has something to do with
GFS.
I took a look at the src/kernels/2.6.9-34.EL-x86_64/.config file and did
not see any GFS entries similar to the following fro EXT3:
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y

Any help on this would be really appreciated.

Thanks,

Dex

====================smb.conf======================================

[global]
   workgroup = lab01.local
   netbios name = CUB02
   server string = cub01 Samba Server
   printcap name = /etc/printcap
   load printers = yes
   cups options = raw
   log file = /var/log/samba/%m.log
   max log size = 50
   local master = no
   preferred master = no
   os level = 0
   security = user
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no
   template shell = /bin/false
   winbind use default domain = yes
   idmap uid = 50000-60000
   idmap gid = 50000-60000
   template homedir = /home/winnt/%d/%u
   template shell = /bin/bash
   encrypt passwords = yes
   acl compatibility = win2k
[ext_cifs]
   comment = test cif shares from Ext3
   path = /var/tmp/ext_cifs1
   public = no
   writable = yes
   dos filemode = yes
[gfs_cifs]
   comment =  test cif shares from GFS
   path = /mnt/volume1/export/gfs_cifs1
   public = no
   writable = yes
   dos filemode = yes


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]