Full_Name: raj kas Version: e16 OS: oracle linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (50.135.212.242)
Today while working on APIGEE installation i ran into an ldap issue, clearly explained below.
first installed apigee successfully and then i have to configure that apigee with openldap. For that i downloaded some openldap-clients and server rpms. After that changed password using SHA updated the slapd.conf file then restarted the ldap. Then i try to run a curl command {curl -v -X POST 'http://localhost:8080/v1/securityprofile' -H'content-type: application/xml' -d '<SecurityProfile><UserAccessControl enabled="true"/></SecurityProfile>'} to enable the user access, the response i got is 200ok but try to look in to apigee logs found an error as below
17:18:25.778 qtp60863806-35 INFO SERVICES.SECURITY - LDAPClient.createOrganizationalUnit() : LDAPClient.createOrganizationalUnit : Look up failed. Binding ou=users,dc=apigee,dc=com 17:18:25.783 qtp60863806-35 INFO SERVICES.SECURITY - LDAPClient.createOrganizationalUnit() : LDAPClient.createOrganizationalUnit : Look up failed. Binding ou=userroles,dc=apigee,dc=com 17:18:25.808 qtp60863806-35 INFO SERVICES.SECURITY - LDAPClient.initRoles() : LDAPClient.init() : Roles are not defined in ldap store. Initializing roles under dir ou=roles,dc=apigee,dc=com 17:47:11.259 qtp60863806-38 WARN SERVICES.SECURITY - UserAccessController.authorize() : UserAccessController.authorize : User name is not populated in the subject. Skipping authorization. 17:47:11.322 qtp60863806-39 WARN SERVICES.SECURITY - UserAccessController.authorize() : UserAccessController.authorize : User name is not populated in the subject. Skipping authorization. 17:47:11.324 qtp60863806-39 INFO SERVICES.SECURITY - LDAPClient.createOrganizat ionalUnit() : LDAPClient.createOrganizationalUnit : Look up failed. Binding ou=g lobal,ou=userroles,dc=apigee,dc=com