Binding Apple's Open Directory from the Command Line

29 Oct 2009 Binding Apple's Open Directory from the Command Line

Here is a trick I use a couple of times a month to get finicky compute nodes in a Apple compute clusters to correctly bind to their LDAP / Open Directory master. This started working as of OS X 10.4, and to my knowledge it still works as of OS X 10.6.1.

Bioteam uses a pretty standard architecture, where the portal has the IP address and domain settings below. Modifying those for your particular setup is left as an exercise for the reader.

ldapsearch -h 192.168.2.254 -b "dc=cluster,dc=private" -x

slapconfig -setldapstatic 192.168.2.254

Apple’s “Directory Utility” GUI app is great, but for cluster maintenance you really can’t beat the command line.

Related Posts
Filter by
Post Page
Science Employee Posts Featured Articles Tech Notes Community Video
Sort by
1Comment
  • scottyb
    Posted at 03:10h, 27 August Reply

    Chris, still works as of 10.6.7 😀 Just used it to bind all of my nodes, which did not seem to want to bind via the GUI….

Post A Comment