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 -b "dc=cluster,dc=private" -x

slapconfig -setldapstatic

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
Employee Posts Tech Notes News Featured Articles
Sort by

Setting up LOM on an Apple XServe from the command line

Apple’s XServe comes with a Lights Out Management (LOM) capability. For anyone dealing with co-located
2009-12-03 10:48:05


2017 HPC Trends in Life Sciences

2017-01-06 13:38:13


  • 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