Ask the Community
Groups
EMM: AD Integration fails with error message "Unable to calculate Domain name from search Base" - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>Problem:</strong></p> <p>AD Integration fails with below shown error message in c:\kaseya\logs\services\directory-webservice.log</p> <p><em>INFO [2015-03-10 06:53:12,441] com.kaseya.directory.web.resources.OrganizationResource: Received request for test directory resource with key 1,21371661792152351123814592</em><br><em>ERROR [2015-03-10 06:53:12,515] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: bede5f66cc44f700</em><br><em>! com.kaseya.directory.core.exceptions.LdapServiceException: <strong>Unable to calculate Domain name from search Base</strong></em></p> <p> </p> <p><strong>Resolution:</strong></p> <p>Please follow below steps to resolve the issue</p> <p>1. Please verify the settings as per</p> <p><a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fhelpdesk.kaseya.com%2Fentries%2F104730073-Enterprise-Mobility-Management-How-to-troubleshoot-Active-Directory-Integration-Fail-">https://helpdesk.kaseya.com/entries/104730073-Enterprise-Mobility-Management-How-to-troubleshoot-Active-Directory-Integration-Fail-</a></p> <p>2.Please restart Kaseya Directory Integration Service</p> <p>3. In your AD integration settings in EMM,for an example domain 'company.com', please select your search base to be like below</p> <p>DC=company,DC=com</p> <p>so in your case DC=yourdomain,DC=com</p> <p>Please avoid space before and after comma(,)</p> <p>Does this work?</p> <p>If not, please check 'c:\kaseya\logs\services\directory-webservice.log' to see the recent entry for this connection attempt. Do you still see the same error?If you see the same error, please verify above details works with ldp.exe as described in the above linked KB article</p> <p>4. If it works with above Search Base DN, then please include other parts one at a time and verify if it still works or not</p> <p>So please go ahead and add OU part like shown below. You need an OU and that OU should contain of 3 security groups i.e high security policy, medium security policy and low security policy</p> <p>OU=Kaseya EMM Groups,DC=xxxx,DC=xxxx</p> <p>Please avoid space before and after comma(,)</p> <p> </p> <p>Further Investigation</p> <p>Please create a ticket with kaseyasupport and please include this article as a reference</p> <p> </p> <p>Applies to</p> <p>EMM, R9, on premise</p> </article> </main>