Using the command line
You can copy an attribute using the instructions provided here at command line.
About this task
View the attributes contained in the schema issue the
command:
idsldapsearch -b cn=schema -s base objectclass=* attributeTypes IBMAttributeTypesSelect
the attribute that you want to copy. Use an editor to change the appropriate
information and save the changes to <filename>. Then
issue the following command:
idsldapmodify -D <adminDN> -w <adminPW> -i <filename>where <filename>contains: dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( <mynewAttribute-oid> NAME '<mynewAttribute>' DESC '<A new
attribute I copied for my LDAP application> EQUALITY 2.5.13.2
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 {200} USAGE userApplications )
-
add: ibmattributetypes
ibmattributetypes: ( myAttribute-oidDBNAME ( 'myAttrTable' 'myAttrColumn' )
ACCESS-CLASS normal LENGTH 200 )