Binding Question

ChrisTech
Contributor

Hi,

We have an AD binding in our imaging configuration that doesn't seem like it's working. Computer images fine, but when the machine reboots, it's still unbound. I checked the imaging logs for a few of the computers but nothing in the logs helped. What's a good place to start narrowing down this issue?

9 REPLIES 9

mbezzo
Contributor III

Can you bind manually with the settings in Casper? I guess I'd try that first.

bentoms
Release Candidate Programs Tester

@ChrisTech You'll want to bind at reboot.

But before binding, you'll probably want to make sure that the Macs time is correct.

I normally do both via a postflight policy.

ChrisTech
Contributor

Thanks for the responses. The account is valid, I even tried another account. Time is synched before it's supposed to bind in the configuration. I can do a manual bind no problem while logged in with a local account. I'll look into the postflight policy.. it's supposed to bind with the configuration after imaging right? We have two AD configs, the desktops don't get a mobile account while the laptops do.

Chris

stevevalle
Contributor III

@ChrisTech Are you able to run the bind from Casper Remote? If not, then you may want to look at the settings of your bind in Casper Admin.

In our workflow, the AD bind happens straight after restart in the first run script.

ChrisTech
Contributor

Yes, I just used Casper Remote to unbind and rebind a machine. Works fine. In Casper Imaging, machines image, and then reboot and are not bound to the domain. Should it be binding after imaging and then after it reboots from imaging, be bound to the domain? I just created a new configuration to test in the morning.

Chris

stevevalle
Contributor III

The bind happens only once, at first run.

69f6a6d078464be3a9a3e771c2e35776

Have a look in the jamf.log (/var/log/jamf.log). Is there an error?

ChrisTech
Contributor

Yeah I will look at the logs in the morning. Thanks @stevevalle

ChrisTech
Contributor

So, the jamf logs say nothing about binding. I reimaged a machine with the new configuration. It rebooted and was not bound to the domain. How can you tell if the FirstRun script has ran?

Update: so after rebooting, it bound to the domain.....I checked the jamf log and there it was.

stevevalle
Contributor III

Sounds like the AD bind wasn't part of the configuration!

In the jamf.log, you will see the computer name change from the netboot name to the computer name. This shows the computer restarted and started its first run. This is an extract from an old jamf.log file:

Wed Feb 24 15:19:40 NetBoot150 jamf[3551]: Creating .AppleSetupDone...
...
...
...
Tue Feb 23 20:21:43 iMac jamf[5145]: Creating user (hidden management user)...
Tue Feb 23 20:23:53 iMac jamf[6194]: Checking for policies triggered by "enrollmentComplete"...
Tue Feb 23 20:23:54 iMac jamf[6194]: Upgrading JAMF notification service...
Tue Feb 23 20:23:55 iMac jamf[6194]: Upgrading Self Service.app...
Tue Feb 23 20:23:57 iMac jamf[6313]: Binding iMac to (domain.name.here)…
Tue Feb 23 20:24:04 iMac jamf[6313]: Bound to Active Directory (domain.name.here)
Tue Feb 23 20:24:53 iMac jamf[6065]: Successfully installed Adobe Acrobat Pro DC.pkg.zip.
...
...
...
Wed Feb 24 15:28:43 iMac jamf[14398]: Deleting user (hidden management user)...
Wed Feb 24 15:28:44 iMac jamf[14398]: Deleting home directory for (hidden management user)...
Wed Feb 24 15:28:44 iMac jamf[14409]: Immediate Restart
Wed Feb 24 15:28:44 iMac jamf[14409]: Sending restart to System Events
Wed Feb 24 15:28:44 iMac jamf[14409]: Sending Restart command
Wed Feb 24 15:28:44 iMac jamf[14409]: Attempting normal restart
...
...

Glad it's working for you!