Specifications

Chapter 9 Maintaining Open Directory Services 209
Parameter Description
diradmin_name
Name of the directory administrator
diradmin_password
Password of the directory administrator
Group Name
Real name to add or replace
comment
Comment or add or replace
1234
Time-to-live, in seconds, to add or replace
some keyword
Keyword to add
groupname
Group name
For more information, see the dseditgroup man page.
Adding or Removing LDAP Server Congurations
Use dsconfigldap to add or remove LDAP server congurations in directory services.
To add or remove LDAP server congurations:
To add an LDAP server: m
$ dsconfigldap -v -a myldap.example.com
To remove an LDAP server: m
$ dsconfigldap -v -r myldap.example.com
Conguring the Active Directory Connector
Use dsconfigad to congure the Active Directory connector from the command-line.
dsconfigad has the same functionality for conguring the Active Directory connector
as the Directory Utility application.
To add a computer to a directory:
To add a computer to a directory: m
$ dsconfigad -a computerid -u "administrator" -ou "CN=Computers,OU=Engine
ering,DC=ads,DC=demo,DC=com" -domain domain.ads.apple.com
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=Engineering,DC=ads,
DC=demo,DC=com
The LDAP domain name of the container used
for adding the computer. If this is not specied, it
defaults to the container.
domain
The fully-qualied domain name of the domain
used when adding the computer to the directory.
For more information, see the dsconfigad man page.