Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sntomjans
Partner - Contributor II
Partner - Contributor II

QMC Directory Service Connector LDAPS

Hello,

I'm trying to create a configurable LDAP directory service connector with secure ldap from a Azure active directory. With a self signed certificate. I have added this certificate to the Trusted certificates on the server.

I can connect with LDAP Admin but with qlik i get "Setting up connection failed; The server is not operational." i have tried the following urls

LDAP://sub.domain.com:636

LDAPS://sub.domain.com/

LDAP://sub.domain.com:636/DC=sub,DC=domain,DC=com

LDAPS://sub.domain.com/DC=sub,DC=domain,DC=com

LDAP://111.111.111.111:636/DC=sub,DC=domain,DC=com

LDAPS://111.111.111.111/DC=sub,DC=domain,DC=com

Below is the log file from de Directory server connector

20160824T120456.357+0000Information(GenericLDAP.GenericLDAPProvider) Setting domainname to DSP1
20160824T120456.381+0000Warning(GenericLDAP.GenericLDAPProvider+CachedDirectoryEntryHolder) Fetching directoryentry LDAP://sub.domain.com:636/DC=sub,DC=domain,DC=com failed: The server is not operational.
20160824T120456.381+0000Error(DSC.DirectoryFramework) setup path not successful for user 'ldap' at 'LDAPS://sub.domain.com/DC=sub,DC=domain,DC=com': System.Exception: Setting up connection failed; The server is not operational. ||  ---> System.Runtime.InteropServices.COMException: The server is not operational. ||  ||    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) ||    at System.DirectoryServices.DirectoryEntry.Bind() ||    at System.DirectoryServices.DirectoryEntry.get_NativeObject() ||    at GenericLDAP.GenericLDAPProvider.CachedDirectoryEntryHolder.RefreshEntry() ||    --- End of inner exception stack trace --- ||    at GenericLDAP.GenericLDAPProvider.CachedDirectoryEntryHolder.RefreshEntry() ||    at GenericLDAP.GenericLDAPProvider.CachedDirectoryEntryHolder..ctor(String path, String username, String password, LogMessage logger) ||    at GenericLDAP.GenericLDAPProvider.SetupPath(String path, String username, String password) ||    at DSC.DirectoryFramework.SetupResource(Guid id, String type, String path, String username, String password, IDictionary`2 newSettings)
20160824T120456.381+0000Warning(DSC.DirectoryFramework) Setting up ldapDSP 'LDAPS://sub.domain.com/DC=sub,DC=domain,DC=com' wasn't successful: Setting up connection failed; The server is not operational.
20160824T120456.382+0000Information(ActiveDirectory.ActiveDirectoryProvider) nCName: DC=sub,DC=domain,DC=com
20160824T120456.382+0000Information(ActiveDirectory.ActiveDirectoryProvider) Looking up RootDSE: LDAP://RootDSE
20160824T120458.654+0000Warning(ActiveDirectory.ActiveDirectoryProvider+CachedDirectoryEntryHolder) Fetching directoryentry LDAP://RootDSE failed: The specified domain either does not exist or could not be contacted.
20160824T120458.654+0000Warning(ActiveDirectory.ActiveDirectoryProvider) Exception while initializing LDAPS://111.111.111.111/DC=sub,DC=domain,DC=com: Setting up connection failed; The specified domain either does not exist or could not be contacted.
20160824T120458.654+0000Error(DSC.DirectoryFramework) setup path not successful for user 'ldap@sub.domain.com' at 'LDAPS://111.111.111.111/DC=sub,DC=domain,DC=com': System.Exception: Setting up connection failed; The specified domain either does not exist or could not be contacted. ||  ||    at ActiveDirectory.ActiveDirectoryProvider.CachedDirectoryEntryHolder.get_Entry() ||    at ActiveDirectory.ActiveDirectoryProvider.GetDirectoryEntry(String path) ||    at ActiveDirectory.ActiveDirectoryProvider.SetupPath(String _path, String _username, String _password) ||    at DSC.DirectoryFramework.SetupResource(Guid id, String type, String path, String username, String password, IDictionary`2 newSettings)
20160824T120458.654+0000Warning(DSC.DirectoryFramework) Setting up adDSP 'LDAPS://111.111.111.111/DC=sub,DC=domain,DC=com' wasn't successful: Setting up connection failed; The specified domain either does not exist or could not be contacted.
20160824T120458.677+0000Information(GenericLDAP.GenericLDAPProvider) Setting domainname to DSP1
20160824T120458.692+0000Warning(GenericLDAP.GenericLDAPProvider+CachedDirectoryEntryHolder) Fetching directoryentry LDAP://sub.domain.com:636/DC=sub,DC=domain,DC=com failed: The server is not operational.
20160824T120458.692+0000Error(DSC.DirectoryFramework) setup path not successful for user 'CN=ldap,DC=sub,DC=domain,DC=com' at 'LDAPS://sub.domain.com/DC=sub,DC=domain,DC=com': System.Exception: Setting up connection failed; The server is not operational. ||  ---> System.Runtime.InteropServices.COMException: The server is not operational. ||  ||    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) ||    at System.DirectoryServices.DirectoryEntry.Bind() ||    at System.DirectoryServices.DirectoryEntry.get_NativeObject() ||    at GenericLDAP.GenericLDAPProvider.CachedDirectoryEntryHolder.RefreshEntry() ||    --- End of inner exception stack trace --- ||    at GenericLDAP.GenericLDAPProvider.CachedDirectoryEntryHolder.RefreshEntry() ||    at GenericLDAP.GenericLDAPProvider.CachedDirectoryEntryHolder..ctor(String path, String username, String password, LogMessage logger) ||    at GenericLDAP.GenericLDAPProvider.SetupPath(String path, String username, String password) ||    at DSC.DirectoryFramework.SetupResource(Guid id, String type, String path, String username, String password, IDictionary`2 newSettings)
20160824T120458.692+0000Warning(DSC.DirectoryFramework) Setting up ldapDSP 'LDAPS://sub.domain.com/DC=sub,DC=domain,DC=com' wasn't successful: Setting up connection failed; The server is not operational.
20160824T120458.710+0000Information(ActiveDirectory.ActiveDirectoryProvider) nCName: DC=sub,DC=domain,DC=com
20160824T120458.710+0000Information(ActiveDirectory.ActiveDirectoryProvider) Looking up RootDSE: LDAP://RootDSE
1 Reply
sntomjans
Partner - Contributor II
Partner - Contributor II
Author

bump

Anyone have a idea. I'm out of things to try i have looked at some existing questions like this one LDAP over SSL but unfortunately i wasn't able to solve my problem with these answers.