Results 1 to 2 of 2

Thread: Sym-Linking to a Windows Network Share

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Beans
    1

    Sym-Linking to a Windows Network Share

    We have a Windows Network and each user has two user areas, 'Safe User Area' and 'Temporary User'.

    With many users starting to bring in and wanting support for mobile devices and with us planning a BYOD implementation, we are looking to prepare for this, so we have setup Owncloud an OpenSource self run cloud. On OwnCloud we have synced it with Active Directory to import all users.

    Now for the tricky part:

    I want to map the data folders stored on the OwnCloud server to the Windows Network Share for each user. I tried making a sym link;

    " ln -s [windows share path for user] [owncloud path for user]"

    e.g ln -s //server1/users/staff/jsmith /var/www/owncloud/data/jsmith

    When I attempt this it says system link broken. I am not even sure if what I am attempting is even possible. So could anyone help me achieve this or point me to something else that could achieve this.

    Thanks,

    James

  2. #2
    Join Date
    Jul 2010
    Location
    /run/shm
    Beans
    820
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Sym-Linking to a Windows Network Share

    First, you reversed ln, you need to first type What to link then Where to put it, appended with What to name it
    Code:
    ln -s /var/www/owncloud/data/jsmith  //server1/users/staff/jsmith/data
    but I'd doubt that would work in this use case. I think it would make more sense if you stored the OwnCloud server on the same server as your AD server. This way (If it's a Linux AD) you could simply link this way
    Code:
    ln -s /var/www/owncloud/data/jsmith  /home/jsmith/data
    Last edited by Lisiano; March 7th, 2013 at 01:16 PM.
    Quote Originally Posted by Linus Torvalds
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •