Hi All Guru
Next year our school will go for BYOD, students are allow to bring their own Mac Book to school and it is not bind to AD but they have to enroll with Casper. How could i write the script that will map the student share and home folder share. I am not familiar with apple script at all.
These is the example scenario will be like:
A year 7 student and his username is 1234. In AD, he is in a permission group call Year 7. In the windows share server there is a share folder call serveryear7_share$.
Also have a home share drive call serverstudent_home$username (serverstudent_home$1234).
So when that year 7 student log on to his own Mac Book (local username), there is a mapping script on the desktop, and if he want to map the network share, he just need to run the mapping script.
So the script will prompt him the username and password. Then the script will take his username and password and check against the AD authentication to see which permission group he is in. If he is in year 7, the script will map serveryear7_share$ and serverstudent_home$username.
This script will apply through year 7 - 12
Hope someone could help about this.