Specifications
266 Chapter 15 Configuring and Managing Open Directory
Configuring the Active Directory Plug-In
Use dsconfigad to configure the Active Directory plug-in from the command-line.
dsconfigad has the same functionality for configuring the Active Directory plug-in as
the Directory Access application.
To add a computer to a directory:
$ dsconfigad -a
computerid
-u “
administrator
” -ou
"
CN=Computers,OU=Engineering,DC=ads,DC=demo,DC=com
" -domain
domain.ads.apple.com
For more information, see the dsconfigad man page.
Configuring the RADIUS Server
To view and configure most RADIUS server settings, use the radiusconfig tool.
To view RADIUS server settings:
$ sudo radiusconfig -appleversion -getconfig -getconfigxml -nascount
-naslist -naslistxml -ver -help -q
Parameter Description
computerid
The computer ID to add to the domain.
administrator
The user name of a network account that has administrator
privileges.
CN=Computers,OU=Engineeri
ng,DC=ads,DC=demo,DC=com
The LDAP domain name of the container used for adding the
computer. If this is not specified, it defaults to the container.
domain
The fully-qualified domain name of the domain used when
adding the computer to the directory.
Command Option Description
-appleversion Displays the version of the toll, including the build version.
-getconfig Displays configuration data stored in the radiusd.conf and eap.conf
files in an abbreviated, user-friendly format.
-getconfigxml Displays configuration data stored in the radiusd.conf and eap.conf
files in xml plist format.
-nascount Displays the number of RADIUS clients.
-naslist Displays the list of RADIUS clients formatted for the clients.conf file.
-naslistxml Displays the list of RADIUS clients in xml plist format.
-ver Displays a specific build version.
-help Displays usage information.
-q Suppresses prompts.