<?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: Can Splunk be configured to add a single active directory user instead of a group? in Security</title>
    <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133095#M4048</link>
    <description>&lt;P&gt;settings &amp;gt;&amp;gt; System settings &amp;gt;&amp;gt; System Logging&lt;/P&gt;</description>
    <pubDate>Fri, 06 Feb 2015 20:36:56 GMT</pubDate>
    <dc:creator>sanjay_shrestha</dc:creator>
    <dc:date>2015-02-06T20:36:56Z</dc:date>
    <item>
      <title>Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133087#M4040</link>
      <description>&lt;P&gt;Can Splunk be configured to pull a single AD user instead of a group? I have tried a number of user base filters with no success. My group filters work without issue.&lt;/P&gt;

&lt;P&gt;I have tried to use the following for the user base filter options:&lt;/P&gt;

&lt;P&gt;• (&amp;amp;(objectCategory=person)(objectClass=user)(sAMAccountName=someone))&lt;BR /&gt;
• (&amp;amp;(objectClass=user)(sAMAccountName=someone))&lt;BR /&gt;
• (&amp;amp;(objectCategory=person)(objectClass=user)(cn=someone))&lt;BR /&gt;
• (&amp;amp;(objectClass=user)(cn=someone))&lt;/P&gt;

&lt;P&gt;I am getting the following errors in splunkd.log.&lt;BR /&gt;
• ERROR AdminHandler:AuthenticationHandler - Failed to retrieve a group with these settings. Consult your LDAP admin or see splunkd.log with ScopedLDAPConnection set to DEBUG for more information.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133087#M4040</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2015-02-06T19:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133088#M4041</link>
      <description>&lt;P&gt;It is possible if you add constraint in the User Settings:&lt;/P&gt;

&lt;P&gt;User Base Filter&lt;BR /&gt;
(&amp;amp;(objectClass=user)(cn=someone))&lt;/P&gt;

&lt;P&gt;And check in the Group Settings:&lt;/P&gt;

&lt;P&gt;Static group search filter should have constraint for the group where someone exists.&lt;BR /&gt;
e.g.&lt;BR /&gt;
(&amp;amp;(objectClass=group)(cn=Splunk-Someones-Group))&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133088#M4041</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2015-02-06T19:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133089#M4042</link>
      <description>&lt;P&gt;I tried that. Still doesn't work. &lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133089#M4042</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2015-02-06T19:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133090#M4043</link>
      <description>&lt;P&gt;Can you post User Settings &amp;amp; Group Settings?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133090#M4043</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2015-02-06T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133091#M4044</link>
      <description>&lt;P&gt;Sure.&lt;/P&gt;

&lt;P&gt;User Base DN:&lt;BR /&gt;
OU=Contractors,OU=Non-main Users,OU=main_users,DC=domain,DC=org&lt;BR /&gt;
User Base Filter:&lt;BR /&gt;
(&amp;amp;(objectClass=user)(cn=someone))&lt;BR /&gt;
Group base DN:&lt;BR /&gt;
OU=Contractors,OU=Non-main Users,OU=main_users,DC=domain,DC=org&lt;BR /&gt;
Group Filter:&lt;BR /&gt;
(&amp;amp;(objectclass=group)(cn=Contractors)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133091#M4044</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2020-09-28T18:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133092#M4045</link>
      <description>&lt;P&gt;Can you try adding following:&lt;/P&gt;

&lt;P&gt;User name attribute &amp;gt;&amp;gt; samaccountname&lt;BR /&gt;
Real name attribute &amp;gt;&amp;gt; cn&lt;BR /&gt;
Group mapping attribute &amp;gt;&amp;gt;dn&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Group name attribute &amp;gt;&amp;gt; cn&lt;BR /&gt;
Static member attribute &amp;gt;&amp;gt; member&lt;/P&gt;

&lt;P&gt;P.S. I tried in my system and able to pull only one user. I had these extra parameters set.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133092#M4045</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2015-02-06T19:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133093#M4046</link>
      <description>&lt;P&gt;Those are all already set. I've tested the syntax against LDAP and the work to pull the single user. No idea why it won't work for me within Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 20:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133093#M4046</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2015-02-06T20:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133094#M4047</link>
      <description>&lt;P&gt;Do you know where I can set the ScopedLDAPConnection  to DEBUG? I can't find it in the log.cfg.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 20:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133094#M4047</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2015-02-06T20:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133095#M4048</link>
      <description>&lt;P&gt;settings &amp;gt;&amp;gt; System settings &amp;gt;&amp;gt; System Logging&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 20:36:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133095#M4048</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2015-02-06T20:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133096#M4049</link>
      <description>&lt;P&gt;Thanks. So here is what i am getting.&lt;/P&gt;

&lt;P&gt;02-06-2015 15:52:47.923 -0500 DEBUG ScopedLDAPConnection - strategy="contractor_person" Adding attribute="cn" with value="Person"&lt;BR /&gt;
02-06-2015 15:52:47.923 -0500 DEBUG ScopedLDAPConnection - strategy="contractor_person" Adding attribute="sAMAccountName" with value="xxxxx"&lt;BR /&gt;
02-06-2015 15:52:47.923 -0500 DEBUG ScopedLDAPConnection - strategy="contractor_person" Adding attribute="mail" with value="&lt;A href="mailto:person@domain.org" target="_blank"&gt;person@domain.org&lt;/A&gt;"&lt;BR /&gt;
02-06-2015 15:52:47.923 -0500 DEBUG ScopedLDAPConnection - strategy="contractor_person" Attempting to read entry at DN="OU=Contractors,OU=Non-Main Users,OU=Main,DC=domain,DC=org"&lt;BR /&gt;
02-06-2015 15:52:47.923 -0500 DEBUG ScopedLDAPConnection - strategy="contractor_person" Attempting to search subtree at DN="OU=Contractors,OU=Non-Main Users,OU=Main,DC=domain,DC=org" using filter=""&lt;BR /&gt;
02-06-2015 15:52:47.925 -0500 DEBUG ScopedLDAPConnection - strategy="contractor_person" Search duration="1992 microseconds"&lt;BR /&gt;
ScopedLDAPConnection - strategy="contractor_person" LDAP Server returned no entries in search for DN="OU=Contractors,OU=Non-domain Users,OU=Main,DC=domain,DC=org" filter="(&amp;amp;(&amp;amp;(objectclass=group)(cn=Contractors))(cn=&lt;EM&gt;)(member=&lt;/EM&gt;))".&lt;BR /&gt;
02-06-2015 15:52:47.928 -0500 ERROR AdminHandler:AuthenticationHandler - Failed to retrieve a group with these settings. Consult your LDAP admin or see splunkd.log with ScopedLDAPConnection set to DEBUG for more information.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:52:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133096#M4049</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2020-09-28T18:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133097#M4050</link>
      <description>&lt;P&gt;I'm wondering if it's timing out. It found the user but the filters aren't working. even though they've been tested.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 21:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133097#M4050</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2015-02-06T21:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133098#M4051</link>
      <description>&lt;P&gt;This is what worked for me in the end. Setting the group base and user base filters and DN to the same value, the user base values. I also modified the groupMemberAttribute to mimic the userMember Attribute.&lt;BR /&gt;
Settings to add a single user:&lt;/P&gt;

&lt;P&gt;[Team_Contractors]&lt;BR /&gt;
host = ldap.domain.org&lt;BR /&gt;
port = 389&lt;BR /&gt;
SSLEnabled = 0&lt;BR /&gt;
anonymous_referrals = 1&lt;BR /&gt;
bindDN = domain\XXXXXXX&lt;BR /&gt;
bindDNpassword = XXXXXXXXXXXXXX&lt;BR /&gt;
charset = utf8&lt;BR /&gt;
emailAttribute = mail&lt;BR /&gt;
userBaseDN = OU=Contractors,OU=Non-domain Users,OU=domain_Main,DC=domain,DC=org&lt;BR /&gt;
userBaseFilter = (&amp;amp;(objectclass=user)(|(sAMAccountName=XXXXX)(sAMAccountName=XXXXX)))&lt;BR /&gt;
groupBaseDN = OU=Contractors,OU=Non-domain Users,OU=domain_Main,DC=domain,DC=org&lt;BR /&gt;
groupBaseFilter = (&amp;amp;(objectclass=user)(|(sAMAccountName=XXXXX)(sAMAccountName=XXXXX)))&lt;BR /&gt;
nestedGroups = 0&lt;BR /&gt;
userNameAttribute = samaccountname&lt;BR /&gt;
realNameAttribute = cn&lt;BR /&gt;
groupMappingAttribute = cn&lt;BR /&gt;
groupMemberAttribute = samaccountname&lt;BR /&gt;
groupNameAttribute = cn&lt;BR /&gt;
timelimit = 10&lt;BR /&gt;
network_timeout = 20&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133098#M4051</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2020-09-28T18:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk be configured to add a single active directory user instead of a group?</title>
      <link>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133099#M4052</link>
      <description>&lt;P&gt;I ended up using the following syntax to get it to work.&lt;/P&gt;

&lt;P&gt;Settings to add a single user:&lt;/P&gt;

&lt;P&gt;[Strategy]&lt;BR /&gt;
host = *****&lt;BR /&gt;
port = 389&lt;BR /&gt;
SSLEnabled = 0&lt;BR /&gt;
anonymous_referrals = 1&lt;BR /&gt;
bindDN = ******&lt;BR /&gt;
bindDNpassword =********&lt;BR /&gt;
charset = utf8&lt;BR /&gt;
emailAttribute = mail&lt;BR /&gt;
userBaseDN = OU=Contractors,OU=Non-domain Users,OU=domain,DC=domain,DC=com&lt;BR /&gt;
userBaseFilter = (&amp;amp;(objectclass=user)(|(sAMAccountName=***&lt;STRONG&gt;&lt;EM&gt;)(sAMAccountName=&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)))&lt;BR /&gt;
groupBaseDN =OU=Contractors,OU=Non-domain Users,OU=domain,DC=domain,DC=com&lt;BR /&gt;
groupBaseFilter = (&amp;amp;(objectclass=user)(|(sAMAccountName=&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)(sAMAccountName=&lt;/EM&gt;&lt;/STRONG&gt;***)))&lt;BR /&gt;
nestedGroups = 0&lt;BR /&gt;
userNameAttribute = samaccountname&lt;BR /&gt;
realNameAttribute = cn&lt;BR /&gt;
groupMappingAttribute = cn&lt;BR /&gt;
groupMemberAttribute = samaccountname&lt;BR /&gt;
groupNameAttribute = cn&lt;BR /&gt;
timelimit = 10&lt;BR /&gt;
network_timeout = 20&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-Splunk-be-configured-to-add-a-single-active-directory-user/m-p/133099#M4052</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2020-09-28T19:17:50Z</dc:date>
    </item>
  </channel>
</rss>

