Posted on 08-26-2014 12:04 PM
We have never been able to get the binding to an OD server while imaging via Casper to work consistently. (Not with Casper Remote either) We are currently running version 9.32.
I found this script via this thread : https://jamfnation.jamfsoftware.com/discussion.html?id=7733 posted by @DamSAM
--------
#!/bin/sh
dsconfigldap -v -a phs-replica.perkins.k12.oh.us <<EOF
y
EOF
-------
It seems to work for the most part, but if you look at the output that comes back it is asking about adding the certificates which I don't think it does.
If you look at the output we get it looks something like this :
--------
LABWORKSTATION101 (10.1.1.1)
dsconfigldap verbose mode
Using suggested computer ID <labworkstation101>
Options selected by user:
Add server option selected
Server name provided as <our_osx_server.example.com>
Computer ID provided as <labworkstation101>
Local username determined to be <root>
Adding new node to search policies
Certificates are available for this server.
Would you like to add them to system keychain automatically (y/n)?
-------
If you end there the machine looks like it is bound but I'm not 100% sure it is complete.
Sounds like many get it all to work from Casper, but for some reason not us. Works great when binding to AD. And we can manually bind machines to OD without a problem. Anyone else got a good script that works consistently ? We are running 10.9 clients. Mac 10.8 server.