Posted on 05-08-2013 06:30 AM
Whats the easiest way to get a smartgroup of the machines enrolled with the wrong user name. I don't see a way to do a smartgroup off that.
Posted on 05-08-2013 07:18 AM
How do you define "wrong user name"?
Posted on 05-08-2013 07:36 AM
sorry, I was using a quickadd package that added our main local admin account, and it was overwriting the jss account. So under Managed, they are showing the wrong account/username. As I try to push people more towards using Self Service - those with the local admin account as the managed account are having problems.
Posted on 05-08-2013 08:07 AM
You'll might just have to make a Static Group based off an Advanced Search. That's the only way I see how to do it. You'd think they could just add the Managed field into the smart group criteria. Feature request?
Posted on 05-08-2013 08:29 AM
Blast the entire environment with a QuickAdd :)
Posted on 05-09-2013 05:02 AM
Agreed. They need to be recon'ed again, whether or not you use recon itself, quickadd or a policy.
Posted on 05-09-2013 07:00 AM
We do this today with an Extension Attribute script that pulls the management account for the Mac using the Casper API. From there we have a Smart Group using something like "Management Account | Is Not | adminacct"
Those Macs then get a QuickAdd.pkg pushed down to them that uses the proper Casper service account as its management account.
While you could blast a QuickAdd out to all your managed clients, keep in mind that since JAMF changed the enrollment process embedded in the QuickAdd's to do an "enroll" and not a plain recon, you may get those Macs running policies all over again. That's one of the side affects that can happen when a Mac gets re-enrolled, which may or may not be an issue for you.
Edit: @luke.j.nelson- there already is a feature Request for this-
https://jamfnation.jamfsoftware.com/featureRequest.html?id=833
Posted on 05-09-2013 07:08 AM
With regards to a re-enrollment possibly triggering policies to run again, that's a good argument for having your policies being ultimately tied to an Extension Attribute, the presence of an installer receipt or something else that's independent of the policy logging.
If the policy run is tied to an EA's status report, or an installer receipt being there / not being there, there's less worry about policies running again when you don't want them to.
Posted on 05-09-2013 07:35 AM
@Rich, Yeah it is a good argument for tightenning up all policies to prevent those kinds of iussues. It isn't always proactical to do this, but it could be considered best practice. I simply wanted to make sure John knew that re-running policies could occur in some cases when a Mac gets re-enrolled. We've been bite by it before, so just trying to save some hassle for others.
That said, I still don't see the necessity of running a QuickAdd against all clients just to correct what may be a small percentage of machines that aren't in compliance. If JAMF would allow us to build a Smart Group against the management account used instead of just Managed or Not Managed, this would be an easy fix. For now, we'll continue to use our EA to gather that data and scope the policy that way.
Posted on 05-09-2013 07:40 AM
By doing a re-enrollment, do you loose the saved filevault keys on each machine?
Posted on 05-09-2013 10:49 AM
Got a response from Jamf on this, as long as the database is the same, the filevault keys will not change.
Posted on 05-09-2013 10:49 AM
Got a response from Jamf on this, as long as the database is the same, the filevault keys will not change.