OVD 11g ForkJoin Plug-in Executes Other Plug-ins Configured in Join View Adapter Twice for an LDAP Search with Base Scope

(Doc ID 1293754.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.1.0 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Configure the ForkJoin plug-in & Virtual Attribute plug-in in the JoinView
Adapter. Due to a bug in ForkJoin plug-in implementation when handling LDAP
search with base scope, ForkJoin plug-in invokes the Virtual Attribute
plug-in twice for the same Entry in case of base scope. This results in
Virtual Attribute plug-in adding the virtual attribute value twice to the
Entry.

Example: If virtualAttribute plugin is configured for orclprincipalname attribute and a search like the following is attempted, you'll see duplicate values for the orclprincipalname attribute.

$ ldapsearch -p 1389 -D"cn=orcladmin" -w xxxxx -b "uid=meschler,ou=people,dc=us,dc=oracle,dc=com" -s base "objectclass=*"
uid=meschler,ou=people,dc=us,dc=oracle,dc=com
employeenumber=26618
mail=meschler@oracle.com
objectclass=oblixorgperson
objectclass=top
objectclass=person
objectclass=organizationalPerson
objectclass=inetOrgPerson
objectclass=orclUser
objectclass=orclUserV2
orclUserPrincipalName=MESCHLER@US.ORACLE.COM
orclUserPrincipalName=MESCHLER@US.ORACLE.COM

-snipit-


However, a scope of SUB will return the proper values:
ldapsearch -p 1389 -Z -b "ou=people,dc=us,dc=oracle,dc=com"
-D "cn=orcladmin" -w - uid=meschler orcluserprincipalname
Enter bind password:
version: 1
dn: uid=meschler,ou=people,dc=us,dc=oracle,dc=com
orclUserPrincipalName: MESCHLER@US.ORACLE.COM

Changes

 

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