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
Employee Posts Tech Notes News Featured Screencasts Training
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

22

2017 HPC Trends in Life Sciences

2017-01-06 13:38:13

10

HUBzero on AWS – Stage 1

2012-12-25 13:10:07

10

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