Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
prajwala
Contributor II
Contributor II

LDAP Connection issue

Hello All,

I have a requirement to pull from an LDAP source (not exactly Active Directory). I have these below details and my query. I always get "An Operations error occured" error.

Source: ldap.xx.xx.xx

Base DN: ou=users,dc=XXX,ou=YYY,ou=XXX

User DN: CN=AccountName,OU=ServiceAccounts,OU=XX,OU=YY,OU=XX,OU=ZZ,ou=YYYY,ou=ZZ,ou=XX

I am not really familiar with the LDAP Structure but these are the details given to me. I have a password for the Account used in the User DN.

Below is my query:

OLEDB CONNECT32 TO [Provider=ADsDSOObject;Encrypt Password=False;Integrated Security=SSPI;Data Source=LDAP;Location=ldap.xx.xx.xx;Mode=Read;Bind Flags=0;ADSI Flag=-2147483648];

  UserTable:

  LOAD

  sn;

  SQL select

  sn

  FROM 'LDAP://$(Based DN)'  WHERE UNIQUEIDENTIFIER='00100xxxx';

UNIQUEIDENTIFIER is a field available in this source.

Thank you!

0 Replies