Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2004, 11:33 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
samba symlinks accross a wan

I have come across an interesting situation which I am looking for a solution to.

The home office has an image storage directory which contains 3 subdirectories. There is no data in the root of this image directory.

The remote office has an image storage directory with no subdirectories. All data is stored in the root of the directory.

I would like to mount the 3 subdirectories of the home office within the root directory of the remote office.

I configured autofs to mount the home office root directory as an SMBFS file sytem to the remote office /mnt directory. This seemed to work alright. I was able to access the mount via a samba share. I then created symlinks in the remote office root directory to the mounted subdirectories of the home office. I cannot get these symlinks to work.

I have the following lines added to my SMB.conf

follow symlinks = yes
wide links = yes

Is what I'm trying to do possible?

Is there an easier solution that I'm overlooking?

Both machines are RH8.0 2.4.18-14
Samba 2.2.5

Any help is greatly appreciated,

Old 02-27-2004, 08:58 AM   #2
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
This may stem from a authentication/security issue. Not sure though. You might try backing off all security and authentication for a period of testing and then add back as needed. Also, the two lines you show should be placed in the share sections not just the global Another thing just occurred to me also, make sure and check your file permissions and ownership. Make sure you are allowing the client to all the needed files. I think you might also want to add "hide dot files = no" in each of the needed shares. It defaults to yes so that might prevent access. try those and repost.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Symlinks not translated on Samba 3. pablob Linux - Networking 6 10-25-2005 11:56 AM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 10:27 AM
Symlinking and Samba, following symlinks to local root rather that servers! cyberFISH Linux - Networking 1 07-02-2004 06:25 PM
Samba is Slow w/ FreeS/WAN and Sentinel prismbiz Linux - Networking 5 12-14-2003 05:59 AM
Cant start samba accross Ethernet! Pezboy Linux - Networking 0 07-18-2002 04:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration