LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SuSE 9.1, Samba, Windows XP (https://www.linuxquestions.org/questions/linux-general-1/suse-9-1-samba-windows-xp-195882/)

steltner 06-21-2004 02:45 AM

SuSE 9.1, Samba, Windows XP
 
Hallo together,

I have installed a SuSE 9.1 box, Samba and configured two shares (was working on my previous installation without any trouble). I can access both shares from a Windows 2000 and Windows XP boxes. On the Windows 2000 machine I can delete files, rename directories, etc. Everything is working well. But when I do it on the Windows XP machine I got the message "The files are read only, etc.". I can't work with XP. The strangest thing is that when I use a program to create disk images and I select the mapped share than I get immediately a "Access is denied" message. I checked all configurations on the samba server, but I couldn't solve the problem.

The passwords are set with smbpasswd -a root, etc.

Any suggestions?

My SMB.CONF

[global]
workgroup = WORKGROUP
interfaces = 127.0.0.1 eth0
bind interfaces only = true
printing = cups
printcap name = cups
printer admin = @ntadmin, root, administrator
map to guest = Bad User
passdb backend = smbpasswd
server string = Samba Server
netbios name = SERVER
domain logons = no
local master = no
preferred master = auto
encrypt passwords = yes
ldap suffix = dc=example,dc=com
lanman auth = no
lm announce = no
min protocol = NT1

[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
guest ok = no
printable = no
[users]
comment = All users
path = /home
writeable = Yes
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
browseable = yes
guest ok = no
printable = no
[data]
comment = data access
path = /data
writeable = Yes
browsable = yes
read only = no
create mask = 0775
browseable = yes
guest ok = no
printable = no
valid user = root steltner
[protected]
comment = protected data access
path = /protected
writable = yes
browsable = yes
read only = no
create mask = 0775
guest ok = no
printable = no
valid user = root steltner
[pdf]
comment = PDF creator
path = /var/tmp
printable = yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
browseable = yes
guest ok = no
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no


Ok, in the meantime I switched the debug level higher and got following entry in my log. May it helps to find the error. I'm really surprised because the failure exist for many users but there are no workarounds in the filed :-((

[2004/06/22 04:30:00, 4] smbd/open.c:open_file_shared1(1010)
calling open_file with flags=0x0 flags2=0x0 mode=0764
[2004/06/22 04:30:00, 2] smbd/open.c:open_file(240)
steltner opened file ./smb.conf read=Yes write=No (numopen=1)
[2004/06/22 04:30:00, 2] smbd/close.c:close_normal_file(228)
steltner closed file ./smb.conf (numopen=0)
[2004/06/22 04:30:00, 5] smbd/files.c:file_free(385)
freed files structure 9958 (0 used)
[2004/06/22 04:30:00, 3] smbd/error.c:error_packet(94)
error string = Permission denied
[2004/06/22 04:30:00, 3] smbd/error.c:error_packet(118)
error packet at smbd/reply.c(1628) cmd=6 (SMBunlink) NT_STATUS_ACCESS_DENIED
[2004/06/22 04:30:00, 5] lib/util.c:show_msg(456)
[2004/06/22 04:30:00, 5] lib/util.c:show_msg(466)

Regards


All times are GMT -5. The time now is 10:38 PM.