OID 11g 11.1.1.9 External Authentication Plugin Fails on AIX Environment with Error "UnKnown Error Encountered (Doc ID 2164921.1)

Last updated on AUGUST 23, 2016

Applies to:

Oracle Internet Directory - Version 11.1.1.9.0 to 11.1.1.9.3 [Release 11g]
Information in this document applies to any platform.

Symptoms

OID 11.1.1.9.x
AD External Authentication Plugin Doesn't work for the synchronized users

ldapbind / ldapcompare commands fail

Example:

$ ldapbind -h <OID_host> -p <OID_port> -D "cn=aduser1,cn=users,dc=oracle,dc=com" -w Welcome123
ldap_bind: UnKnown Error Encountered

$ ldapcompare -h <OID_host> -p <OID_port> -D "cn=orcladmin" -w <orcladmin_password> -b "cn=aduser1,cn=users,dc=oracle,dc=com" -a userpassword -v Welcome123

ldap_compare_s: UnKnown Error Encountered

 

Same user is able to bind against AD using the same password

$ ldapbind -h <AD_host> -p <AD_port> -D "cn=aduser1,cn=users,dc=ad,dc=com" -w Welcome123

bind successful

 

Following error is seen in the OID logs after enabling debug for Java plugins (orcldebugflag=134217729)

 

BEGIN
ConnID:2276 mesgID:1 OpID:0 OpName:bind ConnIP:::ffff:xxx.xx.x.xx:0 ConnDN:Anonymous
INFO : gslfbidbDoBind * Version=3 BIND dn="cn=aduser1,cn=users,dc=oracle,dc=com" method=128
ConnId = 2276, op=0, IpAddr=::ffff:xxx.xx.x.xx
2016-06-23T13:42:16.701181 * CLASSPATH = -Djava.class.path=/u03/DEVSSO/Oracle_IDM1/ldap/jlib/ospf.jar:...............................

2016-06-23T13:42:16.755200 * ERROR * sgslpvm_getJvmEnv * Creation of the JVM failed with errorcode=-4
2016-06-23T13:42:16.755244 * ERROR * sgslpbi_bindJPlugin * Can not obtain JVM and JNI Environment
2016-06-23T13:42:16.769508 * ERROR * gslsbbExecWhenReplacePlugin * Error when executing when_replace_bind Java plug-in
2016-06-23T13:42:16.773330 * INFO:gsleswrASndResult OPtime=71214 micro sec RESULT=73 tag=97 nentries=0
END

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