Apple Mac OS X Server Network Card User Manual


 
Chapter 15 Working with Open Directory 265
See the dseditgroup man page for more information.
Adding or Removing LDAP Server Configurations
dsconfigldap allows you to add or remove LDAP server configurations in directory
services.
To add an LDAP server:
$ dsconfigldap -v -a
myldap.example.com
To remove an LDAP server:
$ dsconfigldap -v -r
myldap.example.com
Configuring the Active Directory Plug-In
dsconfigad allows you 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
See the dsconfigad man page for more information.
some keyword
Keyword to add
groupname
Group name
Parameter Description
Parameter Description
computerid
Add the computer ID to the specified domain.
administrator
User name of a network account that has administrator privileges.
CN=Computers,OU=Engineer
ing,DC=ads,DC=demo,DC=co
m
The LDAP domain name of the container used for adding the
computer. If this is not specified, it will default to the container.
domain
Fully-qualified domain name of the domain to be used when
adding the computer to the directory.