LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba help please (https://www.linuxquestions.org/questions/linux-newbie-8/samba-help-please-279102/)

compzoo 01-17-2005 09:21 PM

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.

foo_bar_foo 01-17-2005 09:59 PM

i guess the way you have that setup you have to make those directories and files world readable and writable

tardigrade 01-17-2005 11:10 PM

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


All times are GMT -5. The time now is 01:19 AM.