<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Moving from LDAP to LDAPS for loading User Data into an app in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Moving-from-LDAP-to-LDAPS-for-loading-User-Data-into-an-app/m-p/1813355#M9101</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using a OLE DB data connection to retrieve User data from Windows AD. See below example. Now Microsoft announces the withdraw of LDAP and move to LDAPS.&lt;/P&gt;&lt;P&gt;How to change our connections and scripts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This setup works well for LDAP&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mg_gsi_da_0-1623063071965.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56413iC42091C0B8036760/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mg_gsi_da_0-1623063071965.png" alt="mg_gsi_da_0-1623063071965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mg_gsi_da_1-1623063163929.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56415iE474752129F625A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mg_gsi_da_1-1623063163929.png" alt="mg_gsi_da_1-1623063163929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I already tried changing the Address in the data connection to&lt;/P&gt;&lt;P&gt;LDAPS://hostname:636&lt;/P&gt;&lt;P&gt;This also establishs a working connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our app we use the following script to pull the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'AD-Connector'&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;*&lt;BR /&gt;,'ACTIVE' as UserFlag&lt;BR /&gt;,cn as name&lt;BR /&gt;,sAMAccountName as "userid"&lt;BR /&gt;,'group' as "type"&lt;BR /&gt;,'$(vGroupName)' as "value";&lt;BR /&gt;SQL SELECT distinguishedName,cn,displayName,sAMAccountName,objectCategory,objectClass,mail,department FROM &lt;FONT color="#FF0000"&gt;'LDAP://hostname'&lt;/FONT&gt;&lt;BR /&gt;WHERE memberOf='cn=$(vGroupName),ou=xxx_yy,ou=vvv_ww,dc=campus,dc=xxx,dc=de' and 'userAccountControl:1.2.840.113556.1.4.803:'&amp;lt;&amp;gt;2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it sufficient to only change the address in the Data Connection called 'AD-Connector' to LDAPS://hostname:636? And keep the SQL statement as is.&lt;/LI&gt;&lt;LI&gt;If not, how to change the address in the SQL Select statement marked in red? I already tried to change this the same way as in the Data Connection above but it does not work (Connector reply error, without further details)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is welcome&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 11:12:12 GMT</pubDate>
    <dc:creator>mg_gsi_da</dc:creator>
    <dc:date>2021-06-07T11:12:12Z</dc:date>
    <item>
      <title>Moving from LDAP to LDAPS for loading User Data into an app</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Moving-from-LDAP-to-LDAPS-for-loading-User-Data-into-an-app/m-p/1813355#M9101</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using a OLE DB data connection to retrieve User data from Windows AD. See below example. Now Microsoft announces the withdraw of LDAP and move to LDAPS.&lt;/P&gt;&lt;P&gt;How to change our connections and scripts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This setup works well for LDAP&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mg_gsi_da_0-1623063071965.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56413iC42091C0B8036760/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mg_gsi_da_0-1623063071965.png" alt="mg_gsi_da_0-1623063071965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mg_gsi_da_1-1623063163929.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56415iE474752129F625A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mg_gsi_da_1-1623063163929.png" alt="mg_gsi_da_1-1623063163929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I already tried changing the Address in the data connection to&lt;/P&gt;&lt;P&gt;LDAPS://hostname:636&lt;/P&gt;&lt;P&gt;This also establishs a working connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our app we use the following script to pull the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'AD-Connector'&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;*&lt;BR /&gt;,'ACTIVE' as UserFlag&lt;BR /&gt;,cn as name&lt;BR /&gt;,sAMAccountName as "userid"&lt;BR /&gt;,'group' as "type"&lt;BR /&gt;,'$(vGroupName)' as "value";&lt;BR /&gt;SQL SELECT distinguishedName,cn,displayName,sAMAccountName,objectCategory,objectClass,mail,department FROM &lt;FONT color="#FF0000"&gt;'LDAP://hostname'&lt;/FONT&gt;&lt;BR /&gt;WHERE memberOf='cn=$(vGroupName),ou=xxx_yy,ou=vvv_ww,dc=campus,dc=xxx,dc=de' and 'userAccountControl:1.2.840.113556.1.4.803:'&amp;lt;&amp;gt;2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it sufficient to only change the address in the Data Connection called 'AD-Connector' to LDAPS://hostname:636? And keep the SQL statement as is.&lt;/LI&gt;&lt;LI&gt;If not, how to change the address in the SQL Select statement marked in red? I already tried to change this the same way as in the Data Connection above but it does not work (Connector reply error, without further details)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is welcome&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 11:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Moving-from-LDAP-to-LDAPS-for-loading-User-Data-into-an-app/m-p/1813355#M9101</guid>
      <dc:creator>mg_gsi_da</dc:creator>
      <dc:date>2021-06-07T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from LDAP to LDAPS for loading User Data into an app</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Moving-from-LDAP-to-LDAPS-for-loading-User-Data-into-an-app/m-p/2123156#M12856</link>
      <description>&lt;P&gt;This is more for anyone else who stumbles into this.&lt;/P&gt;
&lt;P&gt;The LDAP data connection should be changed to LDAPS:/host-name:port as specified by your IT.&lt;/P&gt;
&lt;P&gt;note the user-id and password should be empty, and if you have a current connection with one, just create a new&lt;/P&gt;
&lt;P&gt;one without the user id and password.&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;The SQL should preferably the OUs for that LDAP, check with your LDAP admin for the value&lt;/P&gt;
&lt;P&gt;for ex:&lt;BR /&gt;SELECT&lt;BR /&gt;SAMAccountName&lt;BR /&gt;From 'LDAP://OU=ID Users,DC=corp,DC=comp,DC=test'&lt;/P&gt;
&lt;P&gt;it can also remain just LDAP://server-name as well, but check with your LDAP admin&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 18:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Moving-from-LDAP-to-LDAPS-for-loading-User-Data-into-an-app/m-p/2123156#M12856</guid>
      <dc:creator>amit_ghaste</dc:creator>
      <dc:date>2023-09-27T18:36:39Z</dc:date>
    </item>
  </channel>
</rss>

