Posted on 01-04-2018 08:59 AM
Hello,
I know you can gui attach an open directory server to a mac client all day long and twice on sunday using the GUI tool directory utility.
Is there a way to do this via command line? if so, can an example be provided.
Thanks
Posted on 01-04-2018 09:40 AM
Haven’t used OD in years, BUT the command back in the day was dsconfigldap.
I would suggest reading the man page for that command on your most modern MacOS.
This page is one guy’s command example:
https://www.google.com/amp/s/jamauai.wordpress.com/2013/05/01/how-to-bind-macs-to-server-via-command-line/amp/
Posted on 01-04-2018 11:36 AM
I use this command (same article as above - best reference I have found):
sudo dsconfigldap -sfa server.domain.com -n "server-name" -u directoryAdminName -p "password" -N