简体   繁体   中英

ldap server connection in esb wso2

Could we connect to ldap server without providing any value in securityPrincipal and securityCredentials parameters in init in esb wso2? If not, what exactly should be the value we need to provide for securityPrincipal and securityCredentials parameters in init operation for connecting to ldap server in esb wso2.

I am getting below error while calling searchEntry operation after init operation in esb wso2.

 {
"error": {
    "errorMessage": "simple bind failed: ldapxxx.xxx.com:389",
    "errorCode": 7000002
}
 }

I got it working by setting below parameters.

"securityPrincipal":"",
   "securityCredentials":"",
   "secureConnection":"true",
   "disableSSLCertificateChecking":"true",

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM