Thanks to all that have helped so far. I now have a test server running on Ubuntu 6.06 and Samba 3.0.22. I also configured ACL and user_xattr on the filesystem running the shares. But now I have very strange behavior that I hope someone has a clue about. User smith can open two files (foo.txt and faa.txt) with Notepad, Wordpad and Microsoft Word. The behavior for all three is different: foo.txt Notepad: Can open and modify the file. Correctly sets the archive bit. Wordpad before Word mod: Can open and modify the file. Correctly sets the archive bit. Wordpad after Word mod: Can open but cannot modify the file (access denied error). Cannot set the archive bit since access denied. Word: Can open and modify the file. Does not correctly set the archive bit. Using word created an ACL where none existed before (ACL was enabled AFTER file was initially created) faa.txt Notepad: Can open and modify the file. Correctly sets the archive bit. Wordpad: Can open and modify the file. Correctly sets the archive bit. Word: Never used to modify. -rw-rwx---+ 1 DOMAIN+smith DOMAIN+domain users 219600 2006-09-10 00:54 foo.txt -rwxrwx--- 1 DOMAIN+smith DOMAIN+domain users 93242 2006-09-11 14:43 faa.txt getfacl foo.txt root@server:/share/personal/smith# getfacl foo.txt # file: foo.txt # owner: DOMAIN+smith # group: DOMAIN+domain\040users user::rw- user:DOMAIN+johnson:rw- group::rwx group::rwx mask::rwx other::--- # Settings kernel oplocks = no #this has been toggled back and forth with same behavior both ways client use spnego = yes server signing = auto client signing = auto nt acl support = yes # Share Behavior inherit permissions = yes store dos attributes = yes dos filemode = yes dos filetimes = yes dos filetime resolution = yes acl compatibility = auto # Logging log file = /var/log/samba/%m.log log level = 3 max log size = 50 # Network Settings socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote announce = 192.168.2.255 disable netbios = no netbios name = server [personal] comment = personal drive path = /share/personal guest ok = no read only = no writeable = yes #write list = +"DOMAIN+Domain Users" #read list = +"DOMAIN+Domain Users" create mask = 0770 directory mask = 0770 dos filemode = yes acl group control = yes workgroup = DOMAIN server string = server os level = 0 preferred master = no announce as = NT Server announce version = 4.9 browse list = yes domain master = no local master = no enhanced browsing = yes idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 winbind use default domain = no winbind enum groups = yes winbind enum users = yes winbind separator = + realm = DOMAIN.LOCAL # Security hosts allow = 192.168.1. 192.168.2. 127. security = ads password server = * encrypt passwords = yes Any help is much appreciated. Thanks, Aaron Kincer (Sent from wrong address already, hope this doesn't duplicate)
On Mon, Sep 11, 2006 at 03:20:45PM -0400, Aaron Kincer wrote:> Thanks to all that have helped so far. > > I now have a test server running on Ubuntu 6.06 and Samba 3.0.22. I also > configured ACL and user_xattr on the filesystem running the shares. But > now I have very strange behavior that I hope someone has a clue about. > User smith can open two files (foo.txt and faa.txt) with Notepad, > Wordpad and Microsoft Word. The behavior for all three is different: > > foo.txt > > Notepad: Can open and modify the file. Correctly sets the archive bit. > Wordpad before Word mod: Can open and modify the file. Correctly sets > the archive bit. > Wordpad after Word mod: Can open but cannot modify the file (access > denied error). Cannot set the archive bit since access denied. > Word: Can open and modify the file. Does not correctly set the archive > bit. Using word created an ACL where none existed before (ACL was > enabled AFTER file was initially created) > > faa.txt > > Notepad: Can open and modify the file. Correctly sets the archive bit. > Wordpad: Can open and modify the file. Correctly sets the archive bit. > Word: Never used to modify.Set : map archive = no map hidden = no map system = no if you have store dos attributes = yes set.
Thanks to all that have helped so far. I now have a test server running on Ubuntu 6.06 and Samba 3.0.22. I also configured ACL and user_xattr on the filesystem running the shares. But now I have very strange behavior that I hope someone has a clue about. User smith can open two files (foo.txt and faa.txt) with Notepad, Wordpad and Microsoft Word. The behavior for all three is different: foo.txt Notepad: Can open and modify the file. Correctly sets the archive bit. Wordpad before Word mod: Can open and modify the file. Correctly sets the archive bit. Wordpad after Word mod: Can open but cannot modify the file (access denied error). Cannot set the archive bit since access denied. Word: Can open and modify the file. Does not correctly set the archive bit. Using word created an ACL where none existed before (ACL was enabled AFTER file was initially created) faa.txt Notepad: Can open and modify the file. Correctly sets the archive bit. Wordpad: Can open and modify the file. Correctly sets the archive bit. Word: Never used to modify. -rw-rwx---+ 1 DOMAIN+smith DOMAIN+domain users 219600 2006-09-10 00:54 foo.txt -rwxrwx--- 1 DOMAIN+smith DOMAIN+domain users 93242 2006-09-11 14:43 faa.txt getfacl foo.txt root@server:/share/personal/smith# getfacl foo.txt # file: foo.txt # owner: DOMAIN+smith # group: DOMAIN+domain\040users user::rw- user:DOMAIN+johnson:rw- group::rwx group::rwx mask::rwx other::--- # Settings kernel oplocks = no #this has been toggled back and forth with same behavior both ways client use spnego = yes server signing = auto client signing = auto nt acl support = yes # Share Behavior inherit permissions = yes store dos attributes = yes dos filemode = yes dos filetimes = yes dos filetime resolution = yes acl compatibility = auto # Logging log file = /var/log/samba/%m.log log level = 3 max log size = 50 # Network Settings socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote announce = 192.168.2.255 disable netbios = no netbios name = server [personal] comment = personal drive path = /share/personal guest ok = no read only = no writeable = yes #write list = +"DOMAIN+Domain Users" #read list = +"DOMAIN+Domain Users" create mask = 0770 directory mask = 0770 dos filemode = yes acl group control = yes workgroup = DOMAIN server string = server os level = 0 preferred master = no announce as = NT Server announce version = 4.9 browse list = yes domain master = no local master = no enhanced browsing = yes idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 winbind use default domain = no winbind enum groups = yes winbind enum users = yes winbind separator = + realm = DOMAIN.LOCAL # Security hosts allow = 192.168.1. 192.168.2. 127. security = ads password server = * encrypt passwords = yes Any help is much appreciated. -- Aaron Kincer IT Manager Foam Design, Inc.