[Samba] share is read-only since 3.0.3 - "access is denied"
Rauno Tuul
rauno.tuul at haigekassa.ee
Mon May 10 19:34:22 GMT 2004
Hi,
I've a samba-3.0.2a running perfectly on redhat-8.
Filesystem is EXT3 with ACL support.
I can't upgrade the PDC to 3.0.3 or 3.0.4, because shares are only
read-only.
In 3.0.3 only home share and temp share are writable.
All other shares are in read-only mode. Users can see the files/directories,
but can't save anything or create new items.
When trying to create a new item - windows promps "Access is denied".
I don't get, what is wrong.
Do I have to change something in my setup, to get shares be writable?
3.0.0 and 3.0.2.a runs well.
Best regards,
Rauno
-------------------
./configure --with-ldap --bindir=/bin --sbindir=/sbin
--sysconfdir=/etc/samba --with-configdir=/etc/samba
--with-logfilebase=/var/log/samba --with-smbmount
--with-quotas --with-acl-support
smb.conf
nt acl support = yes
acl compatibility = Auto
security = user
restrict anonymous = no
encrypt passwords = yes
# Create modes
directory mask = 0775
force directory mode = 0775
create mask = 0664
force create mode = 0664
encrypt passwords = yes
deadtime = 0
force group = users
force user = %U
[homes]
browseable = no
writable = yes
[it]
path = /arc/it
valid users = @osak_it
write list = @osak_it
browseable = yes
[temp]
comment = Temporary file space
path = /home/samba/tmp
force user = nobody
force group = nobody
create mask = 0777
directory mask = 0777
public = yes
writeable = yes
browseable = yes
Folder:
drwxrwxr-x 49 root users 4096 it
User account:
# smbldap-usershow.pl rauno
dn: uid=rauno,ou=Users,dc=ehk,dc=lan
sambaSID: S-1-5-21-1347305728-752463190-2852647101-3000
uidNumber: 1000
gidNumber: 221
sambaPrimaryGroupSID: S-1-5-21-1347305728-752463190-2852647101-1443
Group entries:
users:x:221:
osak_it:x:215:rauno
Group mappings:
# net groupmap list
Osakond_it (S-1-5-21-1347305728-752463190-2852647101-1431) -> osak_it
Users (S-1-5-21-1347305728-752463190-2852647101-1443) -> users
smbd.log of trying to create new folder (level 5)
unix_convert called on file "aee/New Folder"
size=168
smb_com=0x25
smb_rcls=0
[2004/05/10 09:45:50, 5] smbd/filename.c:unix_convert(177)
smb_reh=0
unix_convert begin: name = aee/New Folder, dirpath = aee, start = New
Folder
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=228
[2004/05/10 09:45:50, 5] smbd/filename.c:unix_convert(312)
smb_uid=101
New file New Folder
smb_mid=28736
[2004/05/10 09:45:50, 3] smbd/vfs.c:reduce_name(864)
smt_wct=16
reduce_name [aee/New Folder] [/arc/it]
smb_vwv[ 0]= 0 (0x0)
.......
[2004/05/10 09:45:50, 3] smbd/process.c:switch_message(685)
reduced to aee/New Folder
switch message SMBtrans (pid 31406)
[2004/05/10 09:45:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353)
[2004/05/10 09:45:50, 4] smbd/uid.c:change_to_user(186)
call_trans2qfilepathinfo: SMB_VFS_STAT of aee/New Folder failed (No such
file or directory)
change_to_user: Skipping user change - already user
[2004/05/10 09:45:50, 3] smbd/error.c:error_packet(94)
[2004/05/10 09:45:50, 3] smbd/ipc.c:reply_trans(538)
error string = No such file or directory
trans <\PIPE\> data=84 params=0 setup=2
[2004/05/10 09:45:50, 3] smbd/error.c:error_packet(118)
error packet at smbd/trans2.c(2219) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2004/05/10 09:45:50, 5] smbd/ipc.c:reply_trans(557)
More information about the samba
mailing list