Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to create custom attributes & object classes through ldif files in OID

user11957197Feb 23 2010 — edited Feb 23 2010
Hi,

I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
I tried creating an attribute through this command

ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif

this ldif file contains inf. for creating a new attributes:

dn: cn=subschemasubentry
changetype: add
add: attributetypes
attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )

I am getting error: Object class violation
Failed to find add in mandatory or optional attribute list.

Please help to find where I am going wrong...


Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2010
Added on Feb 23 2010
4 comments
1,563 views