Re: How to permanently mount AD Share?

Tech-Archive recommends: Fix windows errors by optimizing your registry



hey! That was excellent. Thank You!



"Todd" <ToddR@xxxxxxxxxxxxxxxx> wrote in message
news:ToddR-AD958F.13130304102007@xxxxxxxxxxxxxxxxxxxxxxx
In article <OsHqyZiBIHA.4956@xxxxxxxxxxxxxxxxxxxx>,
"wdsnews" <wdsnews.0640@xxxxxxxxxxxxxx> wrote:

Thank you for this. Is there a more detailed document that I can
reference
until there's time to learn about AppleScript? I assume it's as simple
as a
NET USE command, but I don't know the command, or file formatting and
naming
issues.

In brief, open Script Editor, paste the following into a new script
(editing the "server" and "share" text to match the server and share
name in question), and save as a compiled application with a name and to
a location that you like. Then add it to the login items for the account
in question, and you're set. The user will be prompted to authenticate
the connection, but if they choose the option to remember the login in
the Keychain, the mount will happen silently without a login prompt in
the future. Hope that helps!

--- Start script

tell application "Finder"

mount volume "cifs://server/share"

end tell

--- End script

- Todd R


.



Relevant Pages

  • Re: Expect script to install sshkey
    ... you have mentioned that you are using "lynx" for the download, would it be possible you to use wget/any other file retrieval utility from www rather than a information browser. ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: problem with login
    ... login session" after I create their account. ... If your script is using the mkuser command, ...
    (comp.unix.aix)
  • Re: Expect script to install sshkey
    ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: Group Policy deployed logon scripts
    ... if i were to put the regedit.exe /s command into the login script, ... changes wouldn't take effect until the next login. ... that login (as registry CSE's are processed before script CSE's) ... Am I correct in saying that ADM templates would have immediate effect? ...
    (microsoft.public.windows.group_policy)
  • Re: Black screen before login
    ... The graphical login prompt appears; ... The graphical login prompt appears again; ... Pressed ctrl+alt+F1, the command line appears, with the text of the Xorg.0.log printted in the screen. ... Switch to a virtual console using the key combination ctrl-alt-f1. ...
    (Debian-User)