Bluehost.com Web Hosting $6.95

Re: [Samba] Can't connect to smb share that's a mounted file system

This is a discussion on Re: [Samba] Can't connect to smb share that's a mounted file system within the Samba forums, part of the Networking and Network Related category; On Sat, 2005-11-12 at 17:33 -0600, Mike Hanby wrote: > Howdy y'all, I have a new ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-13-2005
Craig White
 
Posts: n/a
Default Re: [Samba] Can't connect to smb share that's a mounted file system

On Sat, 2005-11-12 at 17:33 -0600, Mike Hanby wrote:
> Howdy y'all, I have a new partition, /dev/hdc1 that's ext3 formatted.
> # mkfs.ext3 -L /backup /dev/hdc1
>
> Then added it to /etc/fstab
> LABEL=/backup /backup ext3 defaults 1 2
>
> As you can see I'm mounting the file system into directory /backup
>
> My smb.conf file has the following settings:
>
> security = share
>
> [netfiles]
> comment = Network file storage space
> path = /backup
> read only = no
> public = yes
>
> Now, before mounting /dev/hdc1, I can connect to the share from my XP system
> using: \\smbmachine\netfiles
>
> Then, I mount the file system to /backup: mount /dev/hdc1 and try to
> connect: \\smbmachine\netfiles
>
> This time XP either prompts me for a GUEST password, or I get an error
> "\\smbmachine\netfiles is not accessible."
>
> Here's the permissions:
>
> /backup directory before mounting /dev/hdc1 into it:
> drwxr-xr-x 2 root root 4096 Nov 12 17:27 /backup
>
> Now, I mount /dev/hdc1 to /backup and here's the permissions
> drwxr-xr-x 3 root root 4096 Nov 12 17:31 /backup
>
> Any idea why I can browse into the netfiles share from my XP machine when
> /backup is just a directory, but not after mounting /dev/hdc1 to it?
>
> Thanks for any help, Mike

----
check the [netfiles] 'path' property

\path is Windows pathing
/path is UNIX/Linux pathing

samba is reading a UNIX/Linux path and so it is wrong...

try 'testparm -s -v |less' to check for errors.

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0