Skip to main content
Question

Extension Attribute Help Finding Open Directory Binding

  • January 4, 2013
  • 1 reply
  • 0 views

Forum|alt.badge.img+3

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.

1 reply

Forum|alt.badge.img+31
  • Employee
  • 920 replies
  • January 4, 2013

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

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings