How to import custom attribute types and objectclasses to OpenDJ 3.0?

◇◆丶佛笑我妖孽 提交于 2020-06-17 09:34:47

问题


I have OpenDJ v3.0.0 and need to import custom attribute typesand objectclasses from OUD - Oracle Unified Directory. Unfortunately I can't use GUI - Control Panel due to a problem with x11.

/tmp/attribute_types_oud.txt
===================
dn: cn=schema
attributetypes: ( 2.5.4.19 NAME 
'physicalDeliveryOfficeName' EQUALITY 
caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch 
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} X-ORIGIN 
'RFC 4519' )
....

/tmp/objectclasses_oud.txt
===================
dn: cn=schema
objectclasses: ( 2.5.6.0 NAME 'top' ABSTRACT MUST 
objectClass X-ORIGIN 'RFC 4512' )
...

I tried to add both attribute types and objectclasses into 99-user.ldif under /install_path/config/schema then restart its service and tried to import users data but it didn't make a difference.

Can someone teach me how to import them?

来源:https://stackoverflow.com/questions/61877490/how-to-import-custom-attribute-types-and-objectclasses-to-opendj-3-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!