dsconfigldap -f -a my.od.server -u odadminname -p odadminpassword -v
to try and bind the machine to an OD master, but it is unsuccessful and gives me a "Bus Error" - real handy error description..
Anyway, here is the output of the command:
dsconfigldap verbose mode
Options selected by user:
Force (un)binding option selected
Add server option selected
Server name provided as <my.od.server>
Network username provided as <odadminname>
Network user password provided as <odadminpassword>
Local username determined to be <root>
Step 1 - Server Information Discovery
Status: Success - Server Responded.
Step 2 - Validating Record/Attribute Mapping
Status: Success - Valid Record/Attribute Mapping
Step 3 - Detecting Required Security Levels and Binding requirements
Status: Success
WARNING: No Security Levels configured by Administrator!
Your LDAP server supports Secure authentication.
Directory Binding is ENABLED but OPTIONAL.
Directory Binding is being Forced as requested.
Bus error
I am running the command as root. I can run the command without the -f switch and it runs successfully but does not bind the machine to OD. I can manually run Directory Access and create a new LDAP Connection, the "Directory Binding" section pops up and I enter the odadmin usernamd and password and it binds successfuly.
It it possible to do this through dsconfigldap?