LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-21-2004, 02:45 AM   #1
steltner
LQ Newbie
 
Registered: May 2003
Posts: 18

Rep: Reputation: 0
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.cpen_file_shared1(1010)
calling open_file with flags=0x0 flags2=0x0 mode=0764
[2004/06/22 04:30:00, 2] smbd/open.cpen_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

Last edited by steltner; 06-21-2004 at 10:57 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.3 Samba Won't Share With Windows XP Desert Linux - Software 2 07-25-2005 12:02 AM
Samba and printer problem between Windows XP and SuSE 9.0 muddysteel Linux - Networking 5 06-28-2005 11:02 AM
Suse 9.2 Samba, cant see Windows computers, but they can see Linux Whiskers Linux - Networking 6 05-08-2005 04:16 PM
Help on setup of Samba on Suse 9.2 for access through Windows XP knirke Linux - Networking 2 01-27-2005 10:24 AM
Cant access windows shares from SuSe 9.1pro Samba dazzyboi Linux - Newbie 2 07-26-2004 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration