My Oracle Support Banner

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 APRIL 06, 2021

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 OVD server to a newly built target (destination) OVD server with oidcmprec fails:

ldap://<SOURCE_OVD_HOSTNAME>:<PORT>: Failed to get replicaid. May be ovd
ldap://<DESTINATION_OVD_HOSTNAME>:<PORT> : Failed to get replicaid. May be ovd

Error:
OVD adapter not configured for baseDN: cn=oraclecontext,dc=<OVD_DOMAIN>,dc=com

##############################################################################
## Source Directory Host : <SOURCE_OVD_HOSTNAME>
## Source Directory Port : <PORT>
## Source Directory Replicaid : ovd_s
##
## Destination directory Host :<DESTINATION_OVD_HOSTNAME>
## Destination directory Port : <PORT>
## 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=<OVD_DOMAIN>,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=<OVD_DOMAIN>,dc=com               |Attr(s) differ.    
          |                                                |Operation failed.
          |                                                |* orclversion
          |                                                |* orclaci
          |                                                |* orclentrylevelaci
          |                                                |                   
         2|cn=Products,cn=OracleContext,dc=<OVD_DOMAIN>,dc=com   |Attr(s) differ.    
          |                                                |Operation failed.
          |                                                |* orclaci
          |                                                |                   
         3|cn=OracleDBSecurityAdmins,cn=OracleContext,dc=<OVD_DOMAIN>,dc=com|Attr(s) differ.    
          |                                                |Operation failed.
          |                                                |* orclaci
          |                                                |* owner
          |                                                |* orclentrylevelaci

...<etc,etc>...

      12|cn=<ALIAS1>,cn=OracleContext,dc=<OVD_DOMAIN>,dc=com    |Only in source.    
          |                                                |Operation failed.
          |                                                |Operation failed.  
          |                                                |                   
        13|cn=<ALIAS2>,cn=OracleContext,dc=<OVD_DOMAIN>,dc=com   |Only in source.    
          |                                                |Operation failed.
          |                                                |Operation failed.  
          |                                                |                   
        14|cn=<ALIAS3>,cn=OracleContext,dc=<OVD_DOMAIN>,dc=com   |Only in source.    
          |                                                |Operation failed.
          |                                                |Operation failed.  
          |                                                |                  

...<etc,etc>...

      1420|cn=<USER>,cn=ProxyPermissions,cn=Oracl|No diff found.     
          |eDefaultDomain,cn=OracleDBSecurity,cn=Products,c|
          |n=OracleContext,dc=<OVD_DOMAIN>,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



[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=<OVD_DOMAIN>,dc=com" instead of the higher base of "dc=<OVD_DOMAIN>,dc=com" of the LSA EUS adapters.

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

##############################################################################
## 1
## DN :  cn=UsersGroups,dc=<OVD_DOMAIN>,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=<OVD_DOMAIN>,dc=com
##############################################################################
Error Code : -1
Error From : Compare and reconcile tool.
Error Message : Failed to locate attribute in schema. Attribute Name : sAMAccountType

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.