LDAP driver throws Java exception on anonymous bind

  • 7002399
  • 19-Jan-2009
  • 26-Apr-2012

Environment

Novell Identity Manager 3.5.1
Novell Identity Manager 3.6
Novell Identity Manager Driver - LDAP

Situation

- LDAP driver is configured to use anonymous bind to the LDAP data store.

- No "authentication ID" is specified during driver creation because anonymous bind does not need an "Authentication ID".

- A Java Null Pointer Exception is reported when the driver starts up. More details on the exception are in the Additional Notes section.


Resolution


Specify a space ("") in the Authentication ID field as a workaround and restart the driver.

The LDAP driver does not currently support an empty Authentication ID field which is required for the anonymous bind configuration. An enhancement request has been logged for Novell Engineering to provide this support.

Additional Information



If the "Authentication ID" is empty, the following exception is reported.


DirXML Log Event -------------------
     Driver:   \LINUXTREE\dirxml\Driver Set\LDAP_new
     Channel:  Publisher
     Status:   Error
     Message:  Code(-9010) An exception occurred: java.lang.NullPointerException
        at com.novell.nds.dirxml.driver.ldap.LDAPPublisher.getConnectionSearchChecksum(LDAPPublisher.java:2784)
        at com.novell.nds.dirxml.driver.ldap.LDAPPublisher.ldapSearchPoll(LDAPPublisher.java:576)
        at com.novell.nds.dirxml.driver.ldap.LDAPPublisher.doPoll(LDAPPublisher.java:120)
        at com.novell.nds.dirxml.driver.ldap.LDAPPublicationShim.start(LDAPPublicationShim.java:331)
        at com.novell.nds.dirxml.engine.Publisher.run(Publisher.java:420)
        at java.lang.Thread.run(Unknown Source)