LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   symlinking smbfs across a wan (https://www.linuxquestions.org/questions/linux-networking-3/symlinking-smbfs-across-a-wan-150783/)

jse580 02-26-2004 11:11 AM

symlinking smbfs across 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,

Jay

bdp 02-27-2004 01:21 AM

i've traced so many probs back to autofs i refuse to use it for anything. does it work by:
*changing autofs to soft nfs mount, specify soft, intr in fstab
* use mount -bind instead of symlinks?

dunno otherwise, mounts follow symlinks using samba over WAN for us.


All times are GMT -5. The time now is 04:50 AM.