<?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: Scheduled report for AD inactive accounts in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315486#M9497</link>
    <description>&lt;P&gt;Great, now if I wanted to compare the lastlogontimestamp value to todaysa date and fine users who havent logged in for 'X' days... how would someone do that?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 14:17:37 GMT</pubDate>
    <dc:creator>jfunderburg</dc:creator>
    <dc:date>2018-09-20T14:17:37Z</dc:date>
    <item>
      <title>Scheduled report for AD inactive accounts</title>
      <link>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315484#M9495</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am looking for a scheduled report on AD accounts which are inactive more than 90 days. The output of the report need to have these columns.&lt;/P&gt;

&lt;P&gt;AD Account Name, User Group, Last Login Date, Account Created, Days Inactive, Account Status (enabled/disabled)&lt;/P&gt;

&lt;P&gt;Thanks for your replies.&lt;/P&gt;

&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 01:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315484#M9495</guid>
      <dc:creator>SplunkVR</dc:creator>
      <dc:date>2018-01-15T01:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled report for AD inactive accounts</title>
      <link>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315485#M9496</link>
      <description>&lt;P&gt;Have you looked at SA-LDAP: &lt;A href="https://splunkbase.splunk.com/app/1151/"&gt;https://splunkbase.splunk.com/app/1151/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can query your directory for usert account statuses and get all of the detail your question mentions: &lt;BR /&gt;
An example query to get most of what you want would look&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| ldapsearch domain=your.domain.com search="(&amp;amp;(objectclass=user))" debug=false limit=100000 basedn="OU=your_users_ou,DC=your,DC=domain,DC=com" attrs="sAMAccountName,distinguishedName,manager,description,lastLogonTimestamp,userAccountControl,whenChanged,whenCreated" |  search userAccountControl=ACCOUNTDISABLE |table  sAMAccountName dn description lastLogonTimestamp userAccountControl whenChanged whenCreated
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jan 2018 09:16:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315485#M9496</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-15T09:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled report for AD inactive accounts</title>
      <link>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315486#M9497</link>
      <description>&lt;P&gt;Great, now if I wanted to compare the lastlogontimestamp value to todaysa date and fine users who havent logged in for 'X' days... how would someone do that?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 14:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Scheduled-report-for-AD-inactive-accounts/m-p/315486#M9497</guid>
      <dc:creator>jfunderburg</dc:creator>
      <dc:date>2018-09-20T14:17:37Z</dc:date>
    </item>
  </channel>
</rss>

