Unable to save LDAP configuration and getting Error "Could not update master user list"
For sample logs:
2017-08-21T09:21:30.411-0700 | 3811F15F6AE686BC | INFO | http-nio-14443-exec-11 | com.citrix.cg.identity.ldap.LdapManager | Given baseDN 'dc=domain,dc=example,dc=com'is valid:true
2017-08-21T09:21:30.921-0700 | 3811F15F6AE686BC | ERROR | http-nio-14443-exec-11 | com.citrix.xms.oca.imil.service.impl.MasterUserListServiceImpl | Could not update Master User List.
com.citrix.xms.oca.imil.exception.IMILException: Invalid input data in Group base DN
or
Error:User '' bind failed with domain 'example.domain.com' Reason:Xxx.yyy.zzz.ddd
From the :3269 - We can see the global catalog is rejecting the configuration.
or
In XenMobile Server logs you will come across the following error messages:
2015-12-30T13:20:27.476+0100 | BFEA67E3D920C0B3 | ERROR | http-nio-14443-exec-1 | com.citrix.xms.oca.imil.service.util.LDAPUtils | Check LDAP details validation fails: javax.naming.CommunicationException: simple bind failed: example.domain.com [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:219) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) 2015-12-30T13:20:27.478+0100 | BFEA67E3D920C0B3 | ERROR | http-nio-14443-exec-1 | com.citrix.xms.oca.imil.service.util.LDAPUtils | Error in inputvalidation: com.citrix.xms.oca.imil.exception.InputDataValidationException: simple bind failed: example.domain.com:636 at com.citrix.xms.oca.imil.service.util.LDAPUtils.checkMasterUserList(LDAPUtils.java:424) 2015-12-30T13:20:27.479+0100 | BFEA67E3D920C0B3 | ERROR | http-nio-14443-exec-1 | com.citrix.cg.bo.spring.impl.InternalUserListServiceImpl | Input Data validation Failed in updateMasterUserList: Please upload the certificate before enable secure connection for LDAP 2015-12-30T13:20:27.482+0100 | BFEA67E3D920C0B3 | ERROR | http-nio-14443-exec-1 | com.citrix.xms.oca.imil.service.impl.MasterUserListServiceImpl | Failed to update Master User List to ZDM com.citrix.xms.oca.imil.exception.IMILException: Please upload the certificate before enable secure connection for LDAP
Upload the root certificate that signed the DC's certificate. This lets XenMobile trust the DC certificate.
LDAPS certificate should be exported from the DC and imported on the XenMobile. Verify that the correct certificate has been imported to the XenMobile server before configuring LDAP.
This issue usually happens due to following reasons