<?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: Active Directory Group Memberships in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Active-Directory-Group-Memberships/m-p/540708#M153004</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230897"&gt;@Inthegetto&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1151/" target="_self"&gt;Splunk Supporting Add-on for Active Directory&lt;/A&gt; includes the &lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/latest/User/Theldapsearchcommand" target="_self"&gt;ldapsearch&lt;/A&gt; command. When properly configured for your AD domain(s), you can search for users in both groups with an appropriate LDAP filter:&lt;/P&gt;&lt;P&gt;| ldapsearch search="(&amp;amp;(objectCategory=person)(sAMAccountName=*)(memberOf:&lt;SPAN&gt;1.2.840.113556.1.4.1941:=cn=GroupA,ou=Groups,DC=example,DC=com&lt;/SPAN&gt;)(memberOf:&lt;SPAN&gt;1.2.840.113556.1.4.1941:=cn=GroupB,ou=Groups,DC=example,DC=com&lt;/SPAN&gt;))"&lt;/P&gt;&lt;P&gt;Running as a scheduled search, you can trigger an alert when the result count is greater than 0.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 07:15:34 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2021-02-21T07:15:34Z</dc:date>
    <item>
      <title>Active Directory Group Memberships</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Active-Directory-Group-Memberships/m-p/537316#M151884</link>
      <description>&lt;P&gt;I am new to splunk and trying to determine how to setup an alert when a user in active directory is in two different AD groups. For example if a user is in group A and B alert. Anyone have some direction on how to achieve this?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 21:35:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Active-Directory-Group-Memberships/m-p/537316#M151884</guid>
      <dc:creator>Inthegetto</dc:creator>
      <dc:date>2021-01-26T21:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory Group Memberships</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Active-Directory-Group-Memberships/m-p/540708#M153004</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230897"&gt;@Inthegetto&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1151/" target="_self"&gt;Splunk Supporting Add-on for Active Directory&lt;/A&gt; includes the &lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/latest/User/Theldapsearchcommand" target="_self"&gt;ldapsearch&lt;/A&gt; command. When properly configured for your AD domain(s), you can search for users in both groups with an appropriate LDAP filter:&lt;/P&gt;&lt;P&gt;| ldapsearch search="(&amp;amp;(objectCategory=person)(sAMAccountName=*)(memberOf:&lt;SPAN&gt;1.2.840.113556.1.4.1941:=cn=GroupA,ou=Groups,DC=example,DC=com&lt;/SPAN&gt;)(memberOf:&lt;SPAN&gt;1.2.840.113556.1.4.1941:=cn=GroupB,ou=Groups,DC=example,DC=com&lt;/SPAN&gt;))"&lt;/P&gt;&lt;P&gt;Running as a scheduled search, you can trigger an alert when the result count is greater than 0.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 07:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Active-Directory-Group-Memberships/m-p/540708#M153004</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2021-02-21T07:15:34Z</dc:date>
    </item>
  </channel>
</rss>

