OVD 11g Reconciliation of LSA Adapters for EUS with oidcmprec Fails for Most Entries and/or Data is Not Sync'd Correctly. Log Errors Include: Operation failed | Error Code : -1 / Failed to locate attribute in schema. (Doc ID 2000542.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Virtual Directory (OVD) 11g with Enterprise User Security (EUS) configuration.

Reconciling Local Store Adapters (LSA) entries from a source/master OVD server to a newly built target OVD server with oidcmprec fails:

ldap://sourceovdhost:6501 : Failed to get replicaid. May be ovd
ldap://targetovdhost:6501 : Failed to get replicaid. May be ovd

Error:
OVD adapter not configured for baseDN: cn=oraclecontext,dc=eusovd,dc=com.

##############################################################################
## Source Directory Host : sourceovdhost
## Source Directory Port : 6501
## Source Directory Replicaid : ovd_s
##
## Destination directory Host : targetovdhost
## Destination directory Port : 6501
## Destination directory Replicaid : ovd_d
##
## Operation : reconcile
## Conflict rules : entos : add to other directory
## entod : delete
## atros : add to other directory
## atrod : delete
## svatrdif : use source directory's value
## mvatrdif : use source directory's value
## dndif : use source directory's value
## adefos : add to other directory
## adefod : delete
## adefdif : use source directory's value
## odefos : add to other directory
## odefod : delete
## odefdif : use source directory's value
## Scope of operation : subtree
## Filter : (objectclass=*)
## Base DN(s) : 1. cn=oraclecontext,dc=eusovd,dc=com
##
## Excluded attribute(s) : 1. createtimestamp
## : 2. creatorsname
## : 3. modifiersname
## : 4. modifytimestamp
## : 5. objectGUID
## : 6. orclentrydn
## : 7. orclGUID
## : 8. orclNetAddrList
## : 9. orclnormdn
## :10. uSNChanged
## :11. uSNCreated
## :12. whenChanged
##
## Number of worker threads : 2
## Number of DN threads : 2
##
## Report file name : ovd_s.ovd_d.20150413.144004.rpt
## S -> D file name : ovd_s.ovd_d.20150413.144004.s2d.ldif
## D -> S file name : ovd_s.ovd_d.20150413.144004.d2s.ldif
## DIF file name : ovd_s.ovd_d.20150413.144004.dif.rpt
## EOS file name : ovd_s.ovd_d.20150413.144004.eos.rpt
## EOD file name : ovd_s.ovd_d.20150413.144004.eod.rpt
## ERR file name : ovd_s.ovd_d.20150413.144004.err
##
##############################################################################

----------+------------------------------------------------+--------------------
  Sl. No. |                     DN                         |       Result
----------+------------------------------------------------+--------------------
         1|cn=OracleContext,dc=eusovd,dc=com               |Attr(s) differ.    
          |                                                |Operation failed.
          |                                                |* orclversion
          |                                                |* orclaci
          |                                                |* orclentrylevelaci
          |                                                |                   
         2|cn=Products,cn=OracleContext,dc=eusovd,dc=com   |Attr(s) differ.    
          |                                                |Operation failed.
          |                                                |* orclaci
          |                                                |                   
         3|cn=OracleDBSecurityAdmins,cn=OracleContext,dc=eu|Attr(s) differ.    
          |sovd,dc=com                                     |Operation failed.
          |                                                |* orclaci
          |                                                |* owner
          |                                                |* orclentrylevelaci

...<etc,etc>...

      12|cn=test3,cn=OracleContext,dc=eusovd,dc=com     |Only in source.    
          |                                                |Operation failed.
          |                                                |Operation failed.  
          |                                                |                   
        13|cn=test4,cn=OracleContext,dc=eusovd,dc=com   |Only in source.    
          |                                                |Operation failed.
          |                                                |Operation failed.  
          |                                                |                   
        14|cn=test5,cn=OracleContext,dc=eusovd,dc=com   |Only in source.    
          |                                                |Operation failed.
          |                                                |Operation failed.  
          |                                                |                  

...<etc,etc>...

      1420|cn=test_user_proxy1,cn=ProxyPermissions,cn=Oracl|No diff found.     
          |eDefaultDomain,cn=OracleDBSecurity,cn=Products,c|
          |n=OracleContext,dc=eusovd,dc=com                |
          |                                                |                   
----------+------------------------------------------------+--------------------

Statistics:
No. of entries available in both dirs that have no diff : 2
No. of entries available in both dirs that have diff : 154
No. of entries available only in source directory : 1264
No. of entries available only in destination directory : 0
No. of entries that failed during operation : 0
Total no. of entries processed : 1420


Start time : 13-APR-2015 15:06:53
End time : 13-APR-2015 15:13:53
Time taken : 0 hr 7 min 0 sec

adding new entry cn=TEST_01,cn=ProxyPermissions,cn=OracleDefaultDomain,cn=OracleDBSecurity,cn=Products,cn=OracleContext,dc=eusovd,dc=com


[Note:  Initial errors (OVD adapter not configured for baseDN) can be ignored as per <Document 1526485.1>.]


Initially using an incorrect Base DN of "cn=oraclecontext,dc=eusovd,dc=com" instead of the higher base of "dc=eusovd,dc=com" of the LSA EUS adapters.

However, even with base of "dc=eusovd,dc=com" the same and/or other errors continued.  For example from the .err report file:

##############################################################################
## 1
## DN :  cn=UsersGroups,dc=eusovd,dc=com
##############################################################################
Error Code : -1
Error From : Compare and reconcile tool.
Error Message : Failed to locate attribute in schema. Attribute Name : auditingPolicy

##############################################################################
## 2
## DN :  cn=CustomImport,cn=UsersGroups,dc=eusovd,dc=com
##############################################################################
Error Code : -1
Error From : Compare and reconcile tool.
Error Message : Failed to locate attribute in schema. Attribute Name : sAMAccountType

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms