Home › Forums › OS X Server and Client Discussion › Open Directory › 10.4 OD “Connect to” question
- This topic has 3 replies, 3 voices, and was last updated 18 years, 10 months ago by
luke.
-
AuthorPosts
-
January 9, 2008 at 7:29 pm #371025
rangerwwc
ParticipantRunning 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
January 9, 2008 at 9:41 pm #371034mosx86
Participantrangerwwc 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.
January 10, 2008 at 3:44 pm #371055rangerwwc
ParticipantHere 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?
January 18, 2008 at 2:09 am #371155luke
ParticipantI 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 & "/" -
AuthorPosts
- You must be logged in to reply to this topic.