Jump to content

Advanced AppleScript

Recommended Posts

Hi Everyone,


We are a windows campus except for 50 macs in two labs that I manage. I have successfully bound them to our active directory server using directory utility.


On the windows machine, we have a script that runs at login to automount SMB network shares. From my network admin, I was able to obtain that script.


I was wondering how I could convert this script to an apple script so that when a student / faculty member logs onto a mac their credentials are checked against the AD server and then they are automapped based off of the AD server info.


For example, here is a small section of the script:


IF InGroup("GED Staff")

Use s: "\\GCC-FS1\GED$"

Use m: "\\GCC-ACT2\GED_MATH$



The InGroup section is the data information that is pulled from active directory users and computers to see which department they belong to. I'm not sure if this is possible to do on a mac but if you could offer any advice that would be awesome!


Thanks :)

Share this post

Link to post
Share on other sites

More info on the setup will be needed. Are the shares on an apple server? Are you running a golden triangle confg? How is the AD set up? With the OD extensions?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing

    No registered users viewing this page.

  • Who's Online (See full list)

    There are no registered users currently online