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 Congurations
Use dsconfigldap to add or remove LDAP server congurations in directory services.
To add or remove LDAP server congurations:
To add an LDAP server: m
$ dsconfigldap -v -a myldap.example.com
To remove an LDAP server: m
$ dsconfigldap -v -r myldap.example.com
Conguring the Active Directory Connector
Use dsconfigad to congure the Active Directory connector from the command-line.
dsconfigad has the same functionality for conguring 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 specied, it
defaults to the container.
domain
The fully-qualied domain name of the domain
used when adding the computer to the directory.
For more information, see the dsconfigad man page.