Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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+0000 | Information | (GenericLDAP.GenericLDAPProvider) Setting domainname to DSP1 |
20160824T120456.381+0000 | Warning | (GenericLDAP.GenericLDAPProvider+CachedDirectoryEntryHolder) Fetching directoryentry LDAP://sub.domain.com:636/DC=sub,DC=domain,DC=com failed: The server is not operational. |
20160824T120456.381+0000 | Error | (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+0000 | Warning | (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+0000 | Information | (ActiveDirectory.ActiveDirectoryProvider) nCName: DC=sub,DC=domain,DC=com |
20160824T120456.382+0000 | Information | (ActiveDirectory.ActiveDirectoryProvider) Looking up RootDSE: LDAP://RootDSE |
20160824T120458.654+0000 | Warning | (ActiveDirectory.ActiveDirectoryProvider+CachedDirectoryEntryHolder) Fetching directoryentry LDAP://RootDSE failed: The specified domain either does not exist or could not be contacted. |
20160824T120458.654+0000 | Warning | (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+0000 | Error | (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+0000 | Warning | (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+0000 | Information | (GenericLDAP.GenericLDAPProvider) Setting domainname to DSP1 |
20160824T120458.692+0000 | Warning | (GenericLDAP.GenericLDAPProvider+CachedDirectoryEntryHolder) Fetching directoryentry LDAP://sub.domain.com:636/DC=sub,DC=domain,DC=com failed: The server is not operational. |
20160824T120458.692+0000 | Error | (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+0000 | Warning | (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+0000 | Information | (ActiveDirectory.ActiveDirectoryProvider) nCName: DC=sub,DC=domain,DC=com |
20160824T120458.710+0000 | Information | (ActiveDirectory.ActiveDirectoryProvider) Looking up RootDSE: LDAP://RootDSE |
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.