5.18.4 ADD
This command allows you to add an LDAP entry.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
ADD
|
DN
|
|
Required. The entry name you want to add.
|
|
Lists and Variables
The application must supply a working list from which the ADD command will pass the new attributes. The working list must contain either one or two fields as follows:
- The first field is mandatory and will contain the attribute name for each added attribute.
Suggested field length: you will need to ensure that the field is long enough to hold the longest possible attribute name for your LDAP Server. The field length will be character.
- The second field is optional. If supplied, it will contain the attribute value for each added attribute.
Suggested field length: you will need to ensure that the field is long enough to hold the longest possible attribute value for your LDAP Server. The field length will be character.
Example
ADD DN(cn=John, cn=users, o=ibmteldir) #WRKLST(ATNAME,ATVALUE)