Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] smb://gollum/shared does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Aquiles
Apprentice
Apprentice


Joined: 23 Feb 2007
Posts: 230
Location: Somewhere, surrounded by my circumstances.

PostPosted: Tue Apr 28, 2009 12:04 pm    Post subject: [SOLVED] smb://gollum/shared does not exist Reply with quote

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
View user's profile Send private message
justinkb
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 161

PostPosted: Tue Apr 28, 2009 12:11 pm    Post subject: Reply with quote

the hosts allow in your smb.conf doesn't look right.
Back to top
View user's profile Send private message
Aquiles
Apprentice
Apprentice


Joined: 23 Feb 2007
Posts: 230
Location: Somewhere, surrounded by my circumstances.

PostPosted: Tue Apr 28, 2009 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Tue Apr 28, 2009 7:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue Apr 28, 2009 10:19 pm    Post subject: Reply with quote

Have you checked the Samba logs?

Why are you using SMB instead of NFS?
Back to top
View user's profile Send private message
Aquiles
Apprentice
Apprentice


Joined: 23 Feb 2007
Posts: 230
Location: Somewhere, surrounded by my circumstances.

PostPosted: Wed Apr 29, 2009 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Aquiles
Apprentice
Apprentice


Joined: 23 Feb 2007
Posts: 230
Location: Somewhere, surrounded by my circumstances.

PostPosted: Wed Apr 29, 2009 7:32 am    Post subject: Reply with quote

Hu wrote:
Have you checked the Samba logs?

Why are you using SMB instead of NFS?


Well, most of the computers here run Windows... :roll:
_________________
Aquiles
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum