AFP548 Changing the world one server at a time.

10.4 OD “Connect to” question

Home › Forums › OS X Server and Client Discussion › Open Directory › 10.4 OD “Connect to” question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #371025
    rangerwwc
    Participant

    Running a 10.4 OD Server with AFP sharepoints. I want to be able to connect directly to a users home folder w/o having to input the specific user name. In Windows all you do is connect to (start, run) \\server\share\%username% & whoever your logged in as is the folder that will pop up (assuming that your user name & folder is named the same).

    Is there any way to do the equivalent in the MAC “Connect to” line?

    I’ve tried (with and w/o afp://) with no luck –

    afp://server/sharepoint/$uid$
    afp://server/sharepoint/$username$

    Any thoughts…………..anyone…………..Bueller?

    Thanks in advanced.

    ~ Will

    #371034
    mosx86
    Participant

    rangerwwc wrote:

    Running a 10.4 OD Server with AFP sharepoints. I want to be able to connect directly to a users home folder w/o having to input the specific user name. In Windows all you do is connect to (start, run) \\server\share\%username% & whoever your logged in as is the folder that will pop up (assuming that your user name & folder is named the same).

    Is there any way to do the equivalent in the MAC “Connect to” line?

    I’ve tried (with and w/o afp://) with no luck –

    afp://server/sharepoint/$uid$
    afp://server/sharepoint/$username$

    Any thoughts…………..anyone…………..Bueller?

    Thanks in advanced.

    ~ Will

    afp://username@server/share

    Type this in textedit, drag the text to the desktop and viola… You can simply click on the resultant file to bring up the share, all you have to do is enter your password (unless kerberos is involved). If you want to be less secure, afp://username:password@server/share will get you right in.

    You can even create login items this way so the server mounts on login.

    #371055
    rangerwwc
    Participant

    Here is my goal: I want to start using local home folders with network logins and have each user have their own network folder where they can dump work stuff. I don’t want to use mobile accounts.

    In response to macshome, thats exactly what I want to do – is mount a share upon startup, but I want to do it for all my users so they have their own network folder mounted on the desktop or dock.

    Mosx86’s idea doesn’t give me a global way of using one command or script to allow a specific user to connect to their specific network folder. It would have to be done on each machines with their specific username & pswd.

    Any further help on writing a script would be helpful. And how would I incorporate that into a login policy?

    #371155
    luke
    Participant

    I didn’t fully test this, but something like this should work if you type it into the script editor…

    set username to system attribute "USER"
    mount volume "afp://hostname/share/" & username & "/"
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.