<?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 Re: Document authentication with Active Directory in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414255#M154104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using the NTDomainSID still doesn't work. And in my workaround, where I feed the AD data from a csv file I don't use the NTDomainSID, so I don't really understand what is it there for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 13:05:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-15T13:05:13Z</dc:date>
    <item>
      <title>Document authentication with Active Directory</title>
      <link>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414253#M154102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to establish document authentication using credentials from the Active Directory (AD) in the access point. I already have AD authentication for the access point but I want to know who is who inside each document, so I tried to connect and extract the data from the AD users inside the QV documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can extract the data I need for authentication, which is the &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;sAMAccountName&lt;/SPAN&gt; (username) and &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;title&lt;/SPAN&gt; (which I would like to use later for authorization). I can list these information on a QV document. My problem is when I try to feed this information to a access table (ACCESS | NTNAME).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code shows what I tried to do on the reload script (the AD connection is not shown, but that is not the problem since I can extract the data from there)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13502973309649510" jivemacro_uid="_13502973309649510"&gt;&lt;P&gt;OLEDB CONNECT TO [A PROVIDER]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;activedirectory:&lt;/P&gt;&lt;P&gt; load&lt;/P&gt;&lt;P&gt; sAMAccountName,&lt;/P&gt;&lt;P&gt; title;&lt;/P&gt;&lt;P&gt; sql select sAMAccountName, title from 'LDAP CONNECTION';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;users:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'ADMIN' AS ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'DOMAIN\' &amp;amp; &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;sAMAccountName&lt;/SPAN&gt; AS NTNAME&lt;/P&gt;&lt;P&gt;RESIDENT activedirectory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to access this document through the access point I'm asked for further authentication (Username, Password).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workaround where I extract the data from the AD with another application and create a csv file with this data, then feed it to QV and then it works. But I can't understand why I can't connect directly with the QV document to the AD for authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone shed a light in this matter? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 10:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414253#M154102</guid>
      <dc:creator />
      <dc:date>2012-10-15T10:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Document authentication with Active Directory</title>
      <link>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414254#M154103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You also need to get the NTDomainSID string. The only way I know of creating this is from within QlikView developer on the server machine (Edit Script &amp;gt; Insert &amp;gt; Domain SID). I think you should be able to hard code it though as it doesn't get changed in normal operations.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 11:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414254#M154103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-15T11:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Document authentication with Active Directory</title>
      <link>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414255#M154104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using the NTDomainSID still doesn't work. And in my workaround, where I feed the AD data from a csv file I don't use the NTDomainSID, so I don't really understand what is it there for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 13:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-authentication-with-Active-Directory/m-p/414255#M154104</guid>
      <dc:creator />
      <dc:date>2012-10-15T13:05:13Z</dc:date>
    </item>
  </channel>
</rss>

