LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba symlinks accross a wan (https://www.linuxquestions.org/questions/linux-newbie-8/samba-symlinks-accross-a-wan-150764/)

jse580 02-26-2004 10:33 AM

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,

Jay

ScooterB 02-27-2004 07:58 AM

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.


All times are GMT -5. The time now is 07:03 AM.