[Samba] Problems with folder permissions
Thomas Linton
th.linton at gmail.com
Tue Apr 17 18:24:21 GMT 2007
Hi,
1) Creating a Folder on a my samba share works in general via WinXP,
but setting the permission doesn't.
On the new Folder <right click>+<properties>+<security tab> doesn't
show any selected check boxes. After selecting a check box + <Apply>
doesn't "save" it. I have to do this a 2nd time and then it work.
2) Can't select the permissions "Full Control", "Modify" and "Write" separately
It seems that samba is not able to handle these permissions
separately. I can't select just one of them, if then the other 2 are
always automatically checked. If I just try to unset on of them, it
doesn't work either - have to always unselect all 3.
Almost the same with "Read & Execute", "List Folder Contents", "Read".
--> I'm not familiar with the permissions under windows, if this is a
right behavior then sorry for my question - anyway, think the behavior
#1 doesn't seem right to me (on a real winbox the persmissions are
shown and set right after <Apply>).
Configuration:
# cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
#
rpm's:
samba-client-3.0.24-12.1.55
samba-winbind-3.0.24-12.1.55
samba-3.0.24-12.1.55
# cat /etc/samba/smb.conf
[global]
workgroup = INTRANET
netbios name = Fileserver
realm = [..]
idmap uid = 10000-15000
idmap gid = 10000-15000
winbind separator = /
winbind use default domain = Yes
winbind enum users = yes
winbind enum groups = yes
security = ADS
encrypt passwords = yes
password server = [..]
client use spnego = yes
log level = 3
[intranet]
comment = INTRANET
path = /srv/intranet
browseable = yes
#valid users = xxx/test
valid users = , "@xxx/domain users"
writeable = yes
read only = no
guest ok = no
int acl support = yes
#
Filesystem is reiserfs with acl mount option. Found error's with
"NT_STATUS_OBJECT_NAME_NOT_FOUND" in log.smbd.
...
[2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
call_trans2qfilepathinfo testfolder (fnum = 11531) level=1005 call=7
total_data=0
[2007/04/17 19:50:29, 3] smbd/process.c:process_smb(1110)
Transaction 73 of length 76
[2007/04/17 19:50:29, 3] smbd/process.c:switch_message(914)
switch message SMBtrans2 (pid 5612) conn 0x83f2088
[2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2852)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
[2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
call_trans2qfilepathinfo testfolder (fnum = 11531) level=1007 call=7
total_data=0
[2007/04/17 19:50:29, 3] smbd/process.c:process_smb(1110)
Transaction 74 of length 238
[2007/04/17 19:50:29, 3] smbd/process.c:switch_message(914)
switch message SMBntcreateX (pid 5612) conn 0x83f2088
[2007/04/17 19:50:29, 3] smbd/error.c:error_packet(146)
error packet at smbd/nttrans.c(616) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_PATH_NOT_FOUND
....
More information about the samba
mailing list