So, I'm trying to do some /etc/authorization shenanigans that I can't get sorted. Spent like 3 hours on this last night.
Our Macs are bound to our Active Directory, users are setup as a mobile account. They will NOT have admin rights (woooo hooo). The problem is, many of them travel. So, changing things like date and time and timezone are things they're locked out of as they're not admins.
In comes /etc/authorization shenanigans.
Here's my issue: I can't seem to get the ability for local users in the admin group (don't plan for them, but there may be a case for the need to have one) AND AD accounts to be able to unlock the pref (and other ones that I want to do like Energy Saver).
I've tried changing the group that can unlock to "everyone" but that doesn't seem to be working. (10.7.4 here). If I log in as an AD user and do an id -g, "everyone" is indeed listed, but it doesn't seem to actually work.
So, I thought I would try and setup a definition where users in the admin OR netaccounts groups could unlock the prefs. However, no luck.
I think what I'm most frustrated about is that /etc/authorization is not documented AT ALL so it's a lot of shooting blind figuring out what the various keys do.
Any ideas??