LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-17-2005, 10:21 PM   #1
compzoo
Member
 
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.

[global]
null passwords = yes
map to guest = Bad User
interfaces = 127.0.0.1 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

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

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

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


[site]
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
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
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
tardigrade
Member
 
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.

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

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


Reply


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 thegoldenear.org/toolbox/unices/samba/samba-setup.html 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


All times are GMT -5. The time now is 06:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration