Posted on 01-04-2013 09:17 AM
I need to be able to find what open directory each computer is bound to. I think the only way is to create an extension attribute to pull it with inventory. I want to use this information to eventually re-bind some machines to their building specific OD.
Posted on 01-04-2013 09:29 AM
In a bit of serendipity, Sonic84 just posted an extension attribute for AD that (with very minor editing), you could use for OD:
https://jamfnation.jamfsoftware.com/discussion.html?id=6253
This extension attribute should show the OD server that particular machines are bound to:
#!/bin/bash
result="`dscl /Search -read / | grep "/LDAPv3/" | sort -u`"
echo "<result>$result</result>"
exit 0