Custom Attribute (custattr.ldif):
1 2 3 4 | dn: cn=schema changetype: modify add: attributetypes attributeTypes: ( 3.5.7.7.1.1.1 NAME 'customattr' DESC 'customattr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{100} SINGLE-VALUE X-ORIGIN 'RFC 4519' USAGE userApplications ) |
Sample command to execute:
ldapmodify -h testlab.com -p 1389 -D "cn=Directory Manager" -w password -v -a -f /home/oracle/LDIFFILES/custattr.ldif > /home/oracle/LDIFFILES/custattr.txt
Custom Objectclass (custObjectclass.ldif):
1 2 3 4 | dn: cn=schema changetype: modify add: objectClasses objectClasses: ( 3.5.7.7.1.1 NAME 'customPerson' DESC 'Custom obj class' SUP orclIDXPerson STRUCTURAL MAY ( customattr ) ) |
Sample command to execute:
ldapmodify -h testlab.com -p 1389 -D "cn=Directory Manager" -w password -v -a -f /home/oracle/LDIFFILES/custObjectclass.ldif > /home/oracle/LDIFFILES/custObjectclass.txt