Fix as described in http://forums.activiti.org/content/ldap-integration-error