OVD 11g After Adding Plugins To AD Adapter, Cisco VPN Client Fails With "LDAP server does not support V3 protocol" And "LDAP Error 49 : Invalid operation for anonymous user" errors (Doc ID 1383794.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

Oracle Virtual Directory (OVD) 11g 11.1.1.1 through 11.1.1.3.0.

All connections were working before.

The problem started after adding the inetorgperson and the virtualAttribute plugins to an Active Directory (AD) adapter.

Then started to experience OVD bind issues from a VPN device, such as Cisco. OVD is reponding with "LDAP server does not support V3 protocol" error and "LDAP Error 49 : Invalid operation for anonymous user" errors, i.e.:

...<snip>...

[4008] Session Start
[4008] New request Session, context 0x53cfe698, reqType = Authentication
[4008] Fiber started
[4008] Creating LDAP context with uri=ldap://<OVD IP address>:6501
[4008] Connect to LDAP server: ldap://<OVD IP address>:6501, status = Successful
[4008] While getting rootDSE, LDAP server <OVD IP address> returned code (49) Invalid credentials
[4008] This LDAP server does not support V3 protocol.

...<snip>....


Oracle Access Manager (OAM) 11g and other applications working against OVD are still working ok.

An error occurs when using a 3rd party ldap client such as Softerra; when the client tries to connect to OVD, the following is logged:
"Error loading RootDSE entry from myovdhost.mycompany.com:6501"

But Softerra is able to ignore this error and proceeds to connect to OVD, so it is not a show stopper for Softerra as it is for Cisco VPN client.  Seems Softerra encounters this error but continues to bind and process results, but Cisco is dropping the connection if its unable to fetch the LDAP controls, i.e., looking for V3 compliance.

Cisco device is using a service account which has been tested and does connect from a test ldap client to OVD or directly to AD without problems.

OVD diagnostic log with high debug may show:

[2011-09-08T12:54:53.353-05:00] [octetstring] [TRACE] [] [com.octetstring.vde.DoSManager] [tid: 11] [ecid: 0000J7szUjU4Yruqw^jc6G1EL3Yy000002,0] [SRC_CLASS: com.octetstring.vde.util.VDELogger] [SRC_METHOD: debug] Current operations per connection (CN=myaccount,OU=ServiceAccounts,OU=myou,OU=myou3,DC=amer,DC=mycompany,DC=com/<IP address>, 0/0).
[2011-09-08T12:54:53.353-05:00] [octetstring] [TRACE] [] [com.octetstring.vde.DoSManager] [tid: 11] [ecid: 0000J7szUjU4Yruqw^jc6G1EL3Yy000002,0] [SRC_CLASS: com.octetstring.vde.util.VDELogger] [SRC_METHOD: debug] Current operations per connection (cn=orcladmin/<IP address>, 0/0).
[2011-09-08T12:55:17.124-05:00] [octetstring] [TRACE] [] [com.octetstring.vde.MessageHandler] [tid: 44] [ecid: 0000J9ABV044Yruqw^jc6G1EL3Yy0003ZP,0] [SRC_CLASS: com.octetstring.vde.util.VDELogger] [SRC_METHOD: debug] Request Dump: { messageID 1, protocolOp searchRequest: { baseObject ''H, scope 0, derefAliases 3, sizeLimit 0, timeLimit 0, typesOnly FALSE, filter present: '6F626A656374636C617373'H, attributes { '737570706F727465644C44415056657273696F6E'H, '737570706F727465645341534C4D656368616E69736D73'H, '64656661756C744E616D696E67436F6E74657874'H, '737570706F727465644C444150506F6C6963696573'H, '76656E646F724E616D65'H } } }
[2011-09-08T12:55:17.124-05:00] [octetstring] [ERROR] [OVD-60182] [com.octetstring.vde.OperationHandler] [tid: 44] [ecid: 0000J9ABV044Yruqw^jc6G1EL3Yy0003ZQ,0] [arg: LDAP Error 49 : Invalid operation for anonymous user.] Exception: LDAP Error 49 : Invalid operation for anonymous user..[[
com.octetstring.vde.util.DirectoryException: LDAP Error 49 : Invalid operation for anonymous user.
at com.octetstring.vde.MessageHandler.checkAnonymousAccess(MessageHandler.java:172)
at com.octetstring.vde.MessageHandler.answerRequest(MessageHandler.java:134)
at com.octetstring.vde.OperationHandler.run(OperationHandler.java:57)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

]]



Tried <Note:1333000.1> but then was not able to connect to OVD from the ldap client; the log shows some DN's that are not related to any adapters.

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