E LDIF Files

This appendix lists the LDIF files necessary to set up secure search with Oracle Calendar and Oracle Content Database sources.

calPlugin.ldif

# create product
dn: cn=oses,cn=products,cn=oraclecontext
changetype: add
objectClass: orclContainer
objectClass: top

# create application entity
dn: orclapplicationcommonname=ocscalplugin,cn=oses,cn=products,cn=oraclecontext
changetype: add
objectClass: orclApplicationEntity
objectClass: top
orclApplicationCommonName: ocscalplugin
userpassword: welcome1

# grant proxy privilege to the application entity
dn: cn=UserProxyPrivilege,cn=Calendar,cn=Products,cn=OracleContext,dc=us,dc=oracle,dc=com
changetype: modify
add: uniquemember
uniquemember: orclApplicationCommonName=ocsCalPlugin, cn=oses, cn=Products, cn=OracleContext

csPlugin.ldif

# create the application entity
dn: orclApplicationCommonName=ocsCsPlugin,cn=ifs,cn=Products,cn=OracleContext
changetype: add
objectClass: orclApplicationEntity
objectClass: top
orclApplicationCommonName: ocsCsPlugin
userpassword: welcome1

# add the application entity into the uniquemember of the trusted application
dn: cn=Trusted Applications,cn=Groups,cn=OracleContext
changetype: modify
add: uniquemember
uniquemember: orclApplicationCommonName=ocsCsPlugin,cn=ifs,cn=Products,cn=OracleContext

# add the application entity into uniquemember of the userproxyprivilage
dn: cn=userproxyprivilege,cn=groups,cn=oraclecontext
changetype: modify
add: uniquemember
uniquemember: orclApplicationCommonName=ocsCsPlugin,cn=ifs,cn=Products,cn=OracleContext

# add trusted applications as the application entity's orcltrustedapplicationgroup member
dn: orclApplicationCommonName=ocsCsPlugin,cn=IFS,cn=Products,cn=OracleContext
changetype: modify
add: orcltrustedapplicationgroup
orcltrustedapplicationgroup: cn=Trusted Applications,cn=groups,cn=oraclecontext

# enable Userpassword Reversible Encryption
dn: cn=PwdPolicyEntry,cn=Common,cn=Products,cn=OracleContext
changetype: modify
replace: orclpwdencryptionenable
orclpwdencryptionenable: 1