Parameter

Description

some keyword

Keyword to add

 

 

groupname

Group name

 

 

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 -uadministrator-ou

"CN=Computers,OU=Engineering,DC=ads,DC=demo,DC=com" -domain

domain.ads.apple.com

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 The LDAP domain name of the container used for adding the ing,DC=ads,DC=demo,DC=co computer. If this is not specified, it will default to the container. m

domain

Fully-qualified domain name of the domain to be used when

 

adding the computer to the directory.

 

 

See the dsconfigad man page for more information.

Chapter 15 Working with Open Directory

265

Page 265
Image 265
Apple Mac OS X Server manual Adding or Removing Ldap Server Configurations, Configuring the Active Directory Plug-In