You are not logged in.

#1 2010-10-08 21:29:05

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Problem accessing samba shares on my arch from a Windows machine

I am sharing via samba a folder inside my home directory.

This folder is declared like this in smb.conf:

[Shared]
path = /home/xi0n/Shared
guest ok = yes
available = yes
browsable = yes
public = yes
writable = yes

When a client wants to connect, this is what gets appended to the client's log in the shares machine:

[2010/10/08 23:21:49.914222,  0] smbd/service.c:988(make_connection_snum)
  canonicalize_connect_path failed for service Movies, path /home/xi0n/Shared

Security is set to share, and i dont know what else to try..... when the client wants to connect, it gets a message saying that the path could not be found.......... but if i browse the network, i can see the remote computer and the shared folders... the problem appears once i try to access them...

Any suggestion?

Offline

#2 2010-10-08 21:51:32

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

Re: Problem accessing samba shares on my arch from a Windows machine

One thing to check is that you have the executive bit for all users set on the folder you're sharing and also on the folders "above". Else you will not be able to enter into that directory.


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

#3 2010-10-30 19:06:37

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Problem accessing samba shares on my arch from a Windows machine

Nothing: I cannot connect to the samba shares: If i enter th samba server's ip in the run window in windows, i get to see the shares, i mean: I see the folders that are shared in the samba server, but once i try to enter them, is when i get the error....
Im starting to think this might be a problem from the windows 7 side..... any clue? everyone is accessing their shares from windows 7 without any problem?
If anyone can share a working smb.conf file, maybe i can compare with mine and try something new....

Thanks!

Offline

#4 2010-11-01 08:30:20

pingviin
Member
From: Estonia
Registered: 2009-11-05
Posts: 37
Website

Re: Problem accessing samba shares on my arch from a Windows machine

chmod -R a+x /home/

solved the problem for me.

Offline

#5 2010-11-01 09:46:50

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Problem accessing samba shares on my arch from a Windows machine

Generally works fine here - get the odd glitch (maybe if the Linux box boots after the Win7) but otherwise no issue.

Here's my share defs:

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# External USB disk - General stuff
[data]
   comment = General stuff 
   path = /mnt/data
   valid users = me
   public = no
   writable = yes
   printable = no

I also have the WORKGROUP set to the same as defined on the Win7 box and WINS is enabled.

The data dir is set as:

drwxrwxr-x 1 root   users 8.0K Oct 22 15:21 data/

But that may not be the ideal set-up.

Last edited by skanky (2010-11-01 09:48:29)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#6 2010-11-01 10:41:16

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Problem accessing samba shares on my arch from a Windows machine

pingviin wrote:
chmod -R a+x /home/

solved the problem for me.


This worked.... not sure if its the most ideal way, or if its safe, but it worked....

Thanks!!!!

Offline

Board footer

Powered by FluxBB