ITGeek123 Posted October 21, 2014 Posted October 21, 2014 Need some help! I work as an IT Technician at a secondary school. We are a school who provide iPads to the students to do school work on. If for whatever reason printing server is down for iPads we tell the teachers to tell the kids to upload there work to webdav through there iPads which is fantastic because they can access the shared network drives which they need too. But, if a student is on a mac and has logged in with there AD (Active directory) details they can only access there user area drive not the shared drives they would be able to access if they had logged on to a windows computer. I was wondering if there is a way of resolving this? Or is there an alternative to webdav navigator you get on iPads and iPhones?.
Marshall_IT Posted October 21, 2014 Posted October 21, 2014 Hi, you need to add a new drive to the windows shared drive. You can do this by pressing command + k and typing the address like this Smb://server/share You can then go to login items in preferences for the user and get it to open at login. Your other option is to create an apple script to map the drives on log on. I have a script at work i can dig out but I'm pretty sure there is one on here under the Mac OS X forum. Let me know if you can't find it.
ITGeek123 Posted October 21, 2014 Author Posted October 21, 2014 Thank you Marshall_IT I will have a look and if I cannot find it I will let you know.
ITGeek123 Posted October 21, 2014 Author Posted October 21, 2014 I found these two. Please tell me if I have found the wrong ones! http://www.edugeek.net/forums/mac/138789-mac-login-scripts.html & http://www.edugeek.net/forums/mac/46738-macs-drive-mapping.html
Marshall_IT Posted October 21, 2014 Posted October 21, 2014 Yes those are the ones I was of, you should hopefully be able to get something that works from there. If not I'll dig out what I use tomorrow.
ITGeek123 Posted October 22, 2014 Author Posted October 22, 2014 Hi Marshall_IT Just wondering if you have managed to dig out the script you had at work?
Marshall_IT Posted October 22, 2014 Posted October 22, 2014 Hi, I've done it a slightly different way. I created an AppleScript tell application "Finder" mount volume "smb://domain.local/shares/xdrv" mount volume "smb://domain.local/shares/Office" end tell Saved it as an Application and then create a .plist file called local.domain.SharedDrives.plist and placed it in /library.LaunchAgents/ Label local.domain.SharedDrives LaunchOnlyOnce ProgramArguments open /domain/MountSharedDrives.app RunAtLoad ServiceDescription Mount Shared Drives That then launches the app each log on. This might not be the best method, but it works for me. Hopefully i didn't miss anything. You could just save the AppleScript and run that (i think).
ITGeek123 Posted October 23, 2014 Author Posted October 23, 2014 Thank you Marshall_IT! Where you have domain.local. Do I need to put the school domain? sorry I am new to this kind of stuff. What parts do I need to edit?
Marshall_IT Posted October 23, 2014 Posted October 23, 2014 Yes you do. You probably only need to edit the share location after the smb:// to be your server and share and the domain.local to be your fqdn.
ITGeek123 Posted October 23, 2014 Author Posted October 23, 2014 Hiya dude! I am getting an error message popping up saying the following " There was a problem connecting to the server "hmwd014.my school server name.local. Any ideas why?
ITGeek123 Posted October 23, 2014 Author Posted October 23, 2014 Right, found out why it was playing up. After all of this, my manager wants me to able to mount the students user areas to either the dock or finder. Is this possible? The kids log on to the mac with there AD user name and password.
Marshall_IT Posted October 23, 2014 Posted October 23, 2014 Yes, it depends on how the shares are set. OSX (It might have changed with 10.10 doesn't like mounting to subfolders of a share. So if you share is like mine was \\server\home\ Then with a staff and student folder and then year groups under that, it doesn't like it. You have to detect what year group the student is in then connect to a different share depending on that. One of the solutions in those 2 threads should be able to help you better than altering the script I've posted.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now