Mac Thread, AFP and SMB Home Folders in Technical; Has anybody managed to find a way of using both AFP home folders and SMB folders?
What I am trying ...
16th November 2012, 02:43 PM #1
- Rep Power
AFP and SMB Home Folders
Has anybody managed to find a way of using both AFP home folders and SMB folders?
What I am trying to do is have both setup on a students/staff login so that they can access there windows based home directory and also access the Mac home directories for things like Aperture, iphoto garage band etc which require a lot of storage room. We Limit Student storage to 150mb so we need to be able to use our current promise storage to store the home folders.
I have read a few forums with scripts on but i can't seem to get them to work.
I have got a working magic (golden) Triangle I can login to the any Mac with the any AD login and it works I can see there windows based home folder.
Any Help would be much appreciated.
Our Current setup is:
Mac OS X Server (xServe) 10.7.5 running OD as Master and bound to AD
Mac Clients 10.7.5
Windows 2008R2 Domain Controller
16th November 2012, 07:42 PM #2
What we've done is upped the limit for students who we know use the Macs (Art students mainly) so that they have 2GB instead of the usual 250MB. I know that you're not supposed to have things like iPhoto running over a network, but it's working so far!
17th November 2012, 10:16 AM #3
- Rep Power
Thanks for the idea but it won't really work in our environment as we mainly use aperture and the average aperture library is about 20GB. Our promise storage array is about 12tb so that's why we want to use that.
17th November 2012, 10:49 AM #4
We do this with Snow Leopard and have their home drives mounted via AFP and then use an Apple Script on login to mount their Windows my documents.
19th November 2012, 08:14 AM #5
- Rep Power
So are you are using there AD login or have you setup an OD account for them?
Can you send me the details of how you have done this so I can have a look to see if would work for us?
19th November 2012, 03:51 PM #6
Hey there......I would appreciate if you could share this script Ashm as I am trying trying to do just the same thing.....I am still well in the dark about it all. Kirchie: It looks as though we will have to increase to 2gb (for 250 users). Gulp!
20th November 2012, 12:44 PM #7
- Rep Power
like i said unfortunately that is not possible in our environment. We have 2500 students plus another 200 members of staff all sharing 4 terabytes worth of storage we just can't up all 40 or so student accounts to the required storage capacity that is required for aperture and stuff. We need a script that maps there current Mac home folder on the promise storage server we have to there AD account on there desktop (mac only) and if they don't have a home folder on the array then it creates one on log in.
20th November 2012, 08:07 PM #8
Yep AD logins, standard AD/OD magic triangle set up. We have accounts set up as mobile accounts so when a user logs in it syncs their mac homedir from the AFP share on the Xserve down to the local mac hard drive and will then sync changes in the background and also a final sync on log off. Seems to work well from a performance point of view as the user is essentially working from the hard disk rather than the live network share.
Originally Posted by Drapec
The Apple script we use to mount staff SMB home drives as a drive on the desktop is as follows (for the students it's Students-2012$ etc depending on year of entry):
There's probably a better way to do it, but I couldn't find an easy way at the time to get the current username so I resorted to using the whoami nix command.
set MyName to do shell script "whoami"
mount volume "smb://FILESERVER/Staff$/" & MyName & "/Documents"
Last edited by Ashm; 20th November 2012 at 08:09 PM.
22nd November 2012, 09:28 AM #9
- Rep Power
Thanks I will defiantly give this a try. However I might sound totally and utterly thick now so I apologies for this but how are you giving staff/students AFP home drives with there AD log-ins? have you un-ticked the use UNC option? and how have you pointed them to the xserve? sorry about this but i have inherited this from somebody else and they haven't left me with any instructions or anything?
3rd December 2012, 03:37 PM #10
I have this configured on our iMacs by mounting an AFP share at boot up, then using Folder Redirection on Workgroup Manager to redirect home drives to this AFP share. Users SMB home directories are then displayed on the desktop as a mounted volume by default.
We're running 10.6.8 Client & Server in a 'Magic Triangle'
If you'd like more info PM me.
By morganw in forum Scripts
Last Post: 22nd November 2010, 07:15 AM
By dgrams in forum How do you do....it?
Last Post: 26th February 2010, 05:15 PM
By Nick_Parker in forum Windows
Last Post: 1st October 2009, 11:42 AM
Last Post: 21st August 2009, 09:43 PM
By lovelldr in forum Windows
Last Post: 6th August 2007, 10:17 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread