I am trying to connect to external LDAP(OUD) for authenticating proxy service users in OUD and to search some attritbutes. I followed the steps mentioned in apigee doc https://docs.apigee.com/api-platform/reference/policies/ldap-policy
I am getting error while executing ldap policy
“{ “fault”: { “faultstring”: “Ldap connection provider com.apigee.messaging.runtime.ldap.ExternalLdapProvider not found”, “detail”: { “errorcode”: “steps.ldap.LdapConnectionProviderNotFound” } } }”
Please let me know if I am missing any thing ?
Do we need any jar from target system OUD ?
Do I need to explicitly add reference of custom-ldap.jar
I did steps mentioned below.
1.Downloaded the custom-ldap.jar_.zip from the link provided in apigee doc
2.Execute below command to move tha jar to resource file.
Command:
curl -v -u : -H Content-Type: multipart/form-data \ -X POST -F file=@{jar_file} \ http://<:8080/v1/organizations/payroll/resourcefiles?name={jar_file}&type=java
3.Restart apigee server including management server
4.Execute below command to create ldap resources.
Command :
curl -X POST -H “Content-Type: application/xml” \ http://:/v1/organizations//environments/dev/ldapresources \ -u userName:Password -d \ ‘ false 3 simple jndi com.apigee.messaging.runtime.ldap.ExternalLdapConProvider(I extracted it from custom-ldap.jar) 30000 50 30 ou=PMS,ou=Users,dc=gosi,dc=com,dc=sa secret ’