<?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: How can I exclude disabled Active Directory user accounts from Splunk? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132259#M4022</link>
    <description>&lt;P&gt;To configure Splunk to ignore inactive account, simply add the userAccountControl as follow in the "User base filter" field:&lt;/P&gt;

&lt;P&gt;(&amp;amp;(objectCategory=Person)(sAMAccountName=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2015 20:23:50 GMT</pubDate>
    <dc:creator>yungro</dc:creator>
    <dc:date>2015-04-09T20:23:50Z</dc:date>
    <item>
      <title>How can I exclude disabled Active Directory user accounts from Splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132257#M4020</link>
      <description>&lt;P&gt;When a user leaves the company, our IT department has a strict policy in place to deactivate the UserAccount instead of deleting it from the AD.  This actually leaves a hole for us because Splunk will continue to sync the account as it does not understand the account has been deactivated within our AD. &lt;/P&gt;

&lt;P&gt;While this Answer &lt;A href="http://answers.splunk.com/answers/118596/using-ldap-authentication-can-i-block-access-to-a-particular-user-in-splunk-without-removing-them-from-the-ad-group.html#answer-118602"&gt;post&lt;/A&gt; seems to fit my situation, I'd prefer to NOT hide the account, and just ignore it. &lt;/P&gt;

&lt;P&gt;Anyone know of a workaround to have Splunk ignore disabled accounts??&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 17:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132257#M4020</guid>
      <dc:creator>Chubbybunny</dc:creator>
      <dc:date>2015-04-09T17:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I exclude disabled Active Directory user accounts from Splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132258#M4021</link>
      <description>&lt;P&gt;I'll readily admit that I haven't done such in Splunk, but I've used LDAP queries to find disabled accounts. In Splunk you would modify the user base filter, to include a match that the appropriate bit(s) in the userAccountControl attribute are set or not set.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.selfadsi.org/ads-attributes/user-userAccountControl.htm"&gt;This site&lt;/A&gt; seems to have an excellent guide to all of the bits that are encoded in the userAccountControl attribute. They also have &lt;A href="http://www.selfadsi.org/ldap-filter.htm#BitAndOr"&gt;a guide to the bitwise ldap filters&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Edit: Maybe a filter like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(&amp;amp;
    (objectClass=user)
    (userAccountControl:1.2.840.113556.1.4.803:=512)
    (!
        (userAccountControl:1.2.840.113556.1.4.803:=2)
    )
)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;A user, who is a normal user and not a computer or something, where the account disable bit is not set. One line for easy copying:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(&amp;amp;(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=512)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Apr 2015 18:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132258#M4021</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-04-09T18:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I exclude disabled Active Directory user accounts from Splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132259#M4022</link>
      <description>&lt;P&gt;To configure Splunk to ignore inactive account, simply add the userAccountControl as follow in the "User base filter" field:&lt;/P&gt;

&lt;P&gt;(&amp;amp;(objectCategory=Person)(sAMAccountName=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132259#M4022</guid>
      <dc:creator>yungro</dc:creator>
      <dc:date>2015-04-09T20:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I exclude disabled Active Directory user accounts from Splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132260#M4023</link>
      <description>&lt;P&gt;I have used it. Say I have two users in AD with attributes like&lt;/P&gt;

&lt;P&gt;AD User/account 'Rbal' has  accountExpires=08/9/2015&lt;BR /&gt;
and user 'Bill Paul' with accountExpires=never&lt;/P&gt;

&lt;P&gt;In Splunk Configured "User base filter" as &lt;/P&gt;

&lt;P&gt;User base filter” as (accountExpires=9223372036854775807)  ( where 9223372036854775807 is for never)&lt;/P&gt;

&lt;P&gt;Now if I check under Access controls » Users  found user 'Bill Paul' is filtered.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-exclude-disabled-Active-Directory-user-accounts-from/m-p/132260#M4023</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2015-04-17T17:44:00Z</dc:date>
    </item>
  </channel>
</rss>

