<?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 Active Directory Timestamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176792#M44646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your connection string is creating an anonymous bind, so my first guess is that these fields require an authenticated login to retrieve. (That's been the case when I've had a blank field issue.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the "OLE DB Provider for Microsoft Directory Services", mostly to create the password hash, and it should create a connection similar to this:&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=ADsDSOObject;User ID=&lt;B&gt;Domain\&lt;/B&gt;user;Encrypt Password=False;Data Source=&lt;B&gt;LDAP://&lt;/B&gt;ldap.acme.com;Mode=Read;Bind Flags=0;ADSI Flag=-2147483648] (XPassword is ZXXXXXXXXXXXXXXXXXB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lemme know if that does it.&lt;/P&gt;&lt;P&gt;-DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 17:21:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-06T17:21:06Z</dc:date>
    <item>
      <title>Active Directory Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176791#M44645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a problem selecting data from an AD directory structure using the following SQL...&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=ADsDSOObject;Encrypt Password=False;Integrated Security=SSPI;Location={IP Address};Mode=Read;Bind Flags=0;ADSI Flag=-2147483648];&lt;BR /&gt;LET arg=chr(01); // Set search start name to a very low value&lt;BR /&gt;DO&lt;BR /&gt;UserTable:&lt;BR /&gt; LOAD&lt;BR /&gt; name as "Network ID",&lt;BR /&gt; sn as "Last Name",&lt;BR /&gt; givenName as "First Name",&lt;BR /&gt; distinguishedName as UserDN,&lt;BR /&gt; mail,&lt;BR /&gt; lastLogon,&lt;BR /&gt; pwdLastSet&lt;BR /&gt; ;&lt;BR /&gt; SQL select&lt;BR /&gt; name, distinguishedName, sn, givenName, mail, department, lastLogon, pwdLastSet // Fields to select&lt;BR /&gt; FROM 'LDAP://dc={company name},dc=com';&lt;/P&gt;&lt;P&gt;I can retrieve data for all the attributes except the timestamp items (lastLogon &amp;amp; pwdLastSet). They return as blanks.&lt;/P&gt;&lt;P&gt;Does anyone have an idea of what I'm doing wrong?&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated,&lt;BR /&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 14:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176791#M44645</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2011-03-23T14:33:10Z</dc:date>
    </item>
    <item>
      <title>Active Directory Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176792#M44646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your connection string is creating an anonymous bind, so my first guess is that these fields require an authenticated login to retrieve. (That's been the case when I've had a blank field issue.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the "OLE DB Provider for Microsoft Directory Services", mostly to create the password hash, and it should create a connection similar to this:&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=ADsDSOObject;User ID=&lt;B&gt;Domain\&lt;/B&gt;user;Encrypt Password=False;Data Source=&lt;B&gt;LDAP://&lt;/B&gt;ldap.acme.com;Mode=Read;Bind Flags=0;ADSI Flag=-2147483648] (XPassword is ZXXXXXXXXXXXXXXXXXB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lemme know if that does it.&lt;/P&gt;&lt;P&gt;-DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 17:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176792#M44646</guid>
      <dc:creator />
      <dc:date>2011-04-06T17:21:06Z</dc:date>
    </item>
    <item>
      <title>Active Directory Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176793#M44647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions, but it turned out being a LDAP Timestamp issue. Here's the modified load statement that I used...&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; name as "Network ID",&lt;BR /&gt; sn as "Last Name",&lt;BR /&gt; givenName as "First Name",&lt;BR /&gt; distinguishedName as UserDN,&lt;BR /&gt; mail,&lt;BR /&gt; IF(lastLogon &amp;gt; 0, (date(left(lastLogon,11)/86400-109205,'YYYY-MM-DD')),'') as "Last Logon",&lt;BR /&gt; IF(pwdLastSet &amp;gt; 0, (date(left(pwdLastSet,11)/86400-109205,'YYYY-MM-DD')),'') as "Last Password Reset"&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 20:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176793#M44647</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2011-04-06T20:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176794#M44648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The QVW which tries to load the data from LDAP loads only the partial data frequently. We are unable to find the root cause of the issue as the QVW doesn't fails but it loads only the partial data.Can someone please help us to identify the root cause of the issue. It has been happening from quite a long time but we didn't succeed in finding the root cause of the issue. Hope someone can help us for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 16:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176794#M44648</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-07-22T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176795#M44649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you helped a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 11:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Directory-Timestamps/m-p/176795#M44649</guid>
      <dc:creator />
      <dc:date>2015-02-12T11:27:17Z</dc:date>
    </item>
  </channel>
</rss>

