macOS / binaries /

dsconfigad

/usr/sbin/dsconfigad
Retrieves/changes configuration for active directory

This tool allows command-line configuration of the Active Directory. dsconfigad has the same functionality for configuring the Active Directory as the Directory Utility application.

source: man