Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-17-2005, 10:21 PM   #1
Registered: Jan 2005
Location: Indiana
Distribution: Suse 9
Posts: 38

Rep: Reputation: 15
samba help please

I'm trying to connect to my suse box from a win xp machine on a local network. When I go to the workgroup computers in netwrk neighborhood I can see the suse box. I can click on the suse box and see the shared folders/directories. but when i click to view the files i get access denied error.

this is my smb.cnf file.

null passwords = yes
map to guest = Bad User
interfaces = eth0
encrypt passwords = yes
public = yes
printer admin = @ntadmin, root, administrator
wins support = yes
printing = cups
localmaster = yes
writeable = yes
path = /home
workgroup = workgroup
os level = 65
printcap name = cups
security = user
preferred master = yes
bind interfaces only = true

comment = Home Directories
valid users = %S
browseable = No
read only = No
guest account = compzoo
comment = All users
writeable = yes
inherit permissions = Yes
public = yes
veto files = /aquota.user/groups/shares/
path = /home

comment = All groups
path = /home/groups
writeable = Yes
inherit permissions = Yes
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
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

guest account = compzoo
writeable = yes
public = yes
path = /srv/www/htdocs/

guest account = laptop
writeable = yes
public = yes
user = compzoo,laptop
path = /home/laptop/site
write list = compzoo,laptop
i want to be able to copy and upload files to the [web] folder and/or the [site] folder.

I created a copy of the web folder in the site folder trying to access it... access to either will be fine.

thanks in advance for any clues.

Last edited by compzoo; 01-17-2005 at 10:24 PM.
Old 01-17-2005, 10:59 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i guess the way you have that setup you have to make those directories and files world readable and writable
Old 01-18-2005, 12:10 AM   #3
Registered: Jun 2004
Distribution: SuSE 9.1
Posts: 150

Rep: Reputation: 15
ive had the same problem. groups/homes/gobal.... dont work. the folders i added, however, do work. heres two examples. one readable one writable. they work fine! I really do recomend using the yast tools for this though. Ive noticed suse doesnt play to well when you manually edit things.

path = /home/jeff/j.share
comment = .:j.share:.
read only = no
create mask = 0640
force user = jeff
guest ok = yes
wide links = no

path = /home/jeff/Audio
comment = .:Jeff's MP3s:.
create mask = 0640
force user = jeff
guest ok = yes
wide links = no


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 PM.

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