The dsconfigad -show command in the macOS Terminal is used to display the current settings of the Active Directory (AD) binding of a macOS system.
dsconfigad -show
Active Directory is a directory service developed by Microsoft for Windows domain networks. It is included in most Windows Server operating systems. In a network, a directory service like Active Directory provides a way to manage, organize and provide access to resources.
If your macOS system is bound to an Active Directory domain, you can use dsconfigad -show to view information like:
-
The domain to which your macOS system is bound.
The computer ID (essentially the name of your macOS system as known by Active Directory).
How your macOS system handles Active Directory groups and users.
Any advanced options that are set, like packet signing and encryption.
Please note that using the dsconfigad -show command, or any dsconfigad command, typically requires administrator-level access to the macOS system, as these commands can significantly affect how the system works and interacts with other systems.