So, long story short, again, I hope:
Here is the situation. School with far less than a 1:1 ratio of students:Macs. Network home folders have long been a deprecated technology, and have suffered from increasing issues post-Snow Leopard, making it a solution that needs to be moved away from.
We have moved to OS X Server 5.x and Profile Manager on Sierra and all Sierra clients.
Since we don't have a device per student, assigning profiles/settings/apps by users and groups of users is out of the question , we will have to manage things by devices and groups of devices. (Want to have some fun? Watch what happens when you try to manage devices AND users given network home folders on Open Directory from Mac OS X Server 5.x; it's possible to completely take-down the server and permanently break it in about 10 minutes that way. It goes absolutely ape-****-crazy trying to figure out why managed users are logging-in on multiple devices (not at the same time, mind you), throws up it's hands, and kisses it's arse goodbye. Good going Apple! Your continued destruction of your once excellent Server/Client software in the pursuit of forcing a 1:1 ratio of devices to users isn't making you any friends. If schools ever have to go 1:1 guess what? The vast, vast majority of them won't be able to go Apple even if they wanted to, due to per-unit cost!)
Anyway, off my high-horse and back to the topic. Since we won't be creating network home-folders moving forward, we will move back to a shared resource for file-storage so that students can access their work from any computer they might be using.
The best solution seems to me to be encrypted disk images (sparsebundle so they will backup without filling up the backup drives instantly) housed on this network volume. Students can connect if they wish and open their disk image. Using a disk-image allows me to easily limit their available disk-usage, say to 32GB per student, AND they can save iMovie libraries to the disk image, something that can't be done directly to the shared volume. So in many ways this is an elegant solution. We hand the students their password and ask them not to share it with others. Yes, I have to create the disk-images, but that's an easy process and really not a burden.
The only problem is the inability to disable the "save to keychain" feature. The systems needs to work normally (teachers need to save website passwords easily, etc), so locking the login keychain is not an option. But unless there is some way to disable that students will invariably click the "save to keychain" option, allowing other students access to their work.
So I'm looking for a solution, something along the following would work:
1) An applescript or automator function that asks a user which disk-image is theirs and prompts for their password, bypassing the Finder's "save to keychain" dialog completely.
2) Third-party software which creates a disk-image which asks for a password in a proprietary way, bypassing the "save to keychain" function.
3) If there is no way to prevent the "save to keychain" option from being available, then the next best option might be an automator/applescript application that asks for credentials, mounts the requested disk image, and then immediately deletes that specific password from the keychain. (I've found some examples of this, but so far nothing that actually looks doable; most of them are logout hooks, and a lot of times students don't logout properly).
4) Something else I haven't thought of...
Well, that wasn't short, but any suggestions would be helpful, thank you!
Here is the situation. School with far less than a 1:1 ratio of students:Macs. Network home folders have long been a deprecated technology, and have suffered from increasing issues post-Snow Leopard, making it a solution that needs to be moved away from.
We have moved to OS X Server 5.x and Profile Manager on Sierra and all Sierra clients.
Since we don't have a device per student, assigning profiles/settings/apps by users and groups of users is out of the question , we will have to manage things by devices and groups of devices. (Want to have some fun? Watch what happens when you try to manage devices AND users given network home folders on Open Directory from Mac OS X Server 5.x; it's possible to completely take-down the server and permanently break it in about 10 minutes that way. It goes absolutely ape-****-crazy trying to figure out why managed users are logging-in on multiple devices (not at the same time, mind you), throws up it's hands, and kisses it's arse goodbye. Good going Apple! Your continued destruction of your once excellent Server/Client software in the pursuit of forcing a 1:1 ratio of devices to users isn't making you any friends. If schools ever have to go 1:1 guess what? The vast, vast majority of them won't be able to go Apple even if they wanted to, due to per-unit cost!)
Anyway, off my high-horse and back to the topic. Since we won't be creating network home-folders moving forward, we will move back to a shared resource for file-storage so that students can access their work from any computer they might be using.
The best solution seems to me to be encrypted disk images (sparsebundle so they will backup without filling up the backup drives instantly) housed on this network volume. Students can connect if they wish and open their disk image. Using a disk-image allows me to easily limit their available disk-usage, say to 32GB per student, AND they can save iMovie libraries to the disk image, something that can't be done directly to the shared volume. So in many ways this is an elegant solution. We hand the students their password and ask them not to share it with others. Yes, I have to create the disk-images, but that's an easy process and really not a burden.
The only problem is the inability to disable the "save to keychain" feature. The systems needs to work normally (teachers need to save website passwords easily, etc), so locking the login keychain is not an option. But unless there is some way to disable that students will invariably click the "save to keychain" option, allowing other students access to their work.
So I'm looking for a solution, something along the following would work:
1) An applescript or automator function that asks a user which disk-image is theirs and prompts for their password, bypassing the Finder's "save to keychain" dialog completely.
2) Third-party software which creates a disk-image which asks for a password in a proprietary way, bypassing the "save to keychain" function.
3) If there is no way to prevent the "save to keychain" option from being available, then the next best option might be an automator/applescript application that asks for credentials, mounts the requested disk image, and then immediately deletes that specific password from the keychain. (I've found some examples of this, but so far nothing that actually looks doable; most of them are logout hooks, and a lot of times students don't logout properly).
4) Something else I haven't thought of...
Well, that wasn't short, but any suggestions would be helpful, thank you!