View previous topic :: View next topic |
Author |
Message |
Aquiles Apprentice
Joined: 23 Feb 2007 Posts: 230 Location: Somewhere, surrounded by my circumstances.
|
Posted: Tue Apr 28, 2009 12:04 pm Post subject: [SOLVED] smb://gollum/shared does not exist |
|
|
Hi,
I'm trying to share a folder (/home/joan/shared) via samba. My smb.conf configuration looks like this after reading several howtos:
Code: |
[global]
workgroup = cnm
security = share
guest account = nobody
[shared]
comment = Shared files @ gollum
path = /home/joan/shared/
browseable = yes
read only = yes
guest only = yes
guest ok = yes
follow symlinks = no
wide links = no
hosts allow = 158.109.6. 127.
|
My nobody account is active (I saw it was disabled by default), and the permissions of /home/joan/shared are the following:
Code: |
drwxrwxr-x 2 joan shares 4096 2009-04-27 11:19 shared
|
Furthermore, the user "nobody" is in the group "shares".
Well, I can see the workgroups of the network. I can access the "cnm" workgroup. I can see the computer "gollum", and I can see that there is a folder named "shared" inside. But when I try to access the folder "shared" I get the following message in konqueror:
Code: |
The file or folder smb://gollum/shared does not exist.
|
Anybody knows what's missing?
Thanks _________________ Aquiles
Last edited by Aquiles on Wed Apr 29, 2009 7:32 am; edited 1 time in total |
|
Back to top |
|
|
justinkb Apprentice
Joined: 23 Dec 2008 Posts: 161
|
Posted: Tue Apr 28, 2009 12:11 pm Post subject: |
|
|
the hosts allow in your smb.conf doesn't look right. |
|
Back to top |
|
|
Aquiles Apprentice
Joined: 23 Feb 2007 Posts: 230 Location: Somewhere, surrounded by my circumstances.
|
Posted: Tue Apr 28, 2009 3:57 pm Post subject: |
|
|
justinkb wrote: | the hosts allow in your smb.conf doesn't look right. |
I have tried removing the line but the results are the same _________________ Aquiles |
|
Back to top |
|
|
pigeon768 l33t
Joined: 02 Jan 2006 Posts: 683
|
Posted: Tue Apr 28, 2009 7:45 pm Post subject: |
|
|
the 'nobody' user should not have access to /home/joan, therefore will not have access to /home/joan/shared. Don't 'fix' this by making /home/joan/ permissions anything other than 700, fix it by making a folder somewhere in /var that is readable by all and owned and writable by the user you want to have access to it.
Also, make sure you have mount-cifs installed. Lots of weird, completely unhelpful error messages come up when you try and access a cifs share without mount-cifs installed. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Tue Apr 28, 2009 10:19 pm Post subject: |
|
|
Have you checked the Samba logs?
Why are you using SMB instead of NFS? |
|
Back to top |
|
|
Aquiles Apprentice
Joined: 23 Feb 2007 Posts: 230 Location: Somewhere, surrounded by my circumstances.
|
Posted: Wed Apr 29, 2009 7:31 am Post subject: |
|
|
pigeon768 wrote: | the 'nobody' user should not have access to /home/joan, therefore will not have access to /home/joan/shared. Don't 'fix' this by making /home/joan/ permissions anything other than 700, fix it by making a folder somewhere in /var that is readable by all and owned and writable by the user you want to have access to it.
Also, make sure you have mount-cifs installed. Lots of weird, completely unhelpful error messages come up when you try and access a cifs share without mount-cifs installed. |
Thanks for the tips. Now everything works as expected. _________________ Aquiles |
|
Back to top |
|
|
Aquiles Apprentice
Joined: 23 Feb 2007 Posts: 230 Location: Somewhere, surrounded by my circumstances.
|
Posted: Wed Apr 29, 2009 7:32 am Post subject: |
|
|
Hu wrote: | Have you checked the Samba logs?
Why are you using SMB instead of NFS? |
Well, most of the computers here run Windows... _________________ Aquiles |
|
Back to top |
|
|
|