Thursday, November 6, 2014

OIM11gR2 PS2 - LDAP Sync - Referential Integrity

OUD - Adding ACL


ACL to give access on an OU in OUD.

dn: dc=ovm,dc=com
changetype: modify
add: aci
aci: (target = "ldap:///dc=ovm,dc=com")(targetattr = "*")(version 3.0; acl "Allow OIMAdminGroup add, read and write access to all attributes"; allow (add, read, search, compare,write, delete, import,export) (groupdn = "ldap:///cn=oimAdminGroup,cn=systemids,dc=ovm,dc=com");)

 
./ldapmodify -h iamnode1.ovm.com -p 1389 -D "cn=Directory Manager"  -j  /data/workspace/oudpassword.txt -c -v -f /data/workspace/aclmodify.ldi

To check the added ACL

./ldapsearch -h iamnode1.ovm.com -p 1389 -D "cn=Directory Manager"  -j  /data/workspace/oudpassword.txt -b "dc=ovm,dc=com" -s base "objectclass=*" aci


Referential Integrity needs to be enabled on the underlying LDAP server for rename of role names /move users to a different organizational unit.

To enable referential integrity on a OUD server, run the following command

./dsconfig -h <hostname> -p <adminserver port> -D "cn=Directory Manager" -j "/data/stage/ldapsync/oudpassword.txt" -n set-plugin-prop --plugin-name "Referential Integrity" --set enabled:true --trustAll

Configure the following system property in OIM to indicate "referential integrity" is enabled on the underlying LDAP Server.

XL.IsReferentialIntegrityEnabledInLDAP - Default Value is "FALSE" , change this to "TRUE"
LDAPEvaluateContainerRulesForModify - true

Tested Environment
OIM11gR2 PS2

No comments:

Post a Comment