<?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: nestedGroups is not working as expected for Active Directory LDAP in Security</title>
    <link>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130599#M3940</link>
    <description>&lt;P&gt;You are very welcome p1948040. I'm glad it helped someone out.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 13:11:25 GMT</pubDate>
    <dc:creator>joebisesi</dc:creator>
    <dc:date>2017-02-09T13:11:25Z</dc:date>
    <item>
      <title>nestedGroups is not working as expected for Active Directory LDAP</title>
      <link>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130595#M3936</link>
      <description>&lt;P&gt;I have a security group called &lt;CODE&gt;Splunk Users&lt;/CODE&gt; that is mapped to the &lt;CODE&gt;user&lt;/CODE&gt; role in Splunk.&lt;/P&gt;

&lt;P&gt;When I add a user &lt;EM&gt;directly&lt;/EM&gt; to this group they can auth fine. &lt;/P&gt;

&lt;P&gt;When they are in a group called &lt;CODE&gt;Developers&lt;/CODE&gt; which is in &lt;CODE&gt;Splunk Users&lt;/CODE&gt; they are not able to auth.&lt;/P&gt;

&lt;P&gt;Nested groups is selected.&lt;/P&gt;

&lt;P&gt;Here is my authentication.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[authentication]
authSettings = Acme
authType = LDAP

[roleMap_Acme]
admin = Splunk Admins
api-user = Splunk API Users
can_delete = Splunk Admins
power = Splunk Admins;Splunk Power Users
splunk-system-role = Splunk Admins;Splunk System Users
user = Splunk Admins;Splunk Users

[Acme]
SSLEnabled = 1
anonymous_referrals = 1
bindDN = CN=svc.splunk.ldapsearch,OU=Service and Administrative Accounts,DC=Acme,DC=net
bindDNpassword = 12345
charset = utf8
groupBaseDN = OU=Splunk,OU=Security Groups,DC=Acme,DC=net
groupMappingAttribute = dn
groupMemberAttribute = member
groupNameAttribute = cn
host = domaincontroller
nestedGroups = 1
network_timeout = 20
port = 636
realNameAttribute = cn
sizelimit = 10000
timelimit = 15
userBaseDN = OU=Employees,DC=Acme,DC=net;OU=Service and Administrative Accounts,DC=Acme,DC=net
userNameAttribute = samaccountname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Jul 2014 18:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130595#M3936</guid>
      <dc:creator>neiljpeterson</dc:creator>
      <dc:date>2014-07-03T18:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: nestedGroups is not working as expected for Active Directory LDAP</title>
      <link>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130596#M3937</link>
      <description>&lt;P&gt;Anyone? Bueller?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2014 14:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130596#M3937</guid>
      <dc:creator>neiljpeterson</dc:creator>
      <dc:date>2014-07-10T14:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: nestedGroups is not working as expected for Active Directory LDAP</title>
      <link>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130597#M3938</link>
      <description>&lt;P&gt;I know this is late, but maybe it will help someone out. We fought with this one for a little while. &lt;/P&gt;

&lt;P&gt;You would need to add the groupDN of the Developers group to the groupBaseDN line using a semi-colon.&lt;BR /&gt;
Here is an example of how mine is configured and it works fine:&lt;BR /&gt;
[Acme]&lt;BR /&gt;
SSLEnabled = 1&lt;BR /&gt;
anonymous_referrals = 1&lt;BR /&gt;
bindDN = Acme/splunkadmin&lt;BR /&gt;
bindDNpassword = 1234&lt;BR /&gt;
charset = utf8&lt;BR /&gt;
groupBaseDN = OU=Information Technology,OU=GL Groups,OU=Security Groups,DC=Acme,DC=com;OU=PRD-Splunk,OU=DL Groups,OU=Security Groups,DC=Acme,DC=com&lt;BR /&gt;
groupBaseFilter = (objectclass=group)&lt;BR /&gt;
groupMappingAttribute = dn&lt;BR /&gt;
groupMemberAttribute = member&lt;BR /&gt;
groupNameAttribute = cn&lt;BR /&gt;
host = domain-controller&lt;BR /&gt;
nestedGroups = 1&lt;BR /&gt;
network_timeout = 20&lt;BR /&gt;
port = 636&lt;BR /&gt;
realNameAttribute = displayname&lt;BR /&gt;
sizelimit = 5000&lt;BR /&gt;
timelimit = 15&lt;BR /&gt;
userBaseDN = OU=Information Technology,OU=All Users,DC=Acme,DC=com&lt;BR /&gt;
userBaseFilter = (objectclass=user)&lt;BR /&gt;
userNameAttribute = samaccountname&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130597#M3938</guid>
      <dc:creator>joebisesi</dc:creator>
      <dc:date>2020-09-29T07:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: nestedGroups is not working as expected for Active Directory LDAP</title>
      <link>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130598#M3939</link>
      <description>&lt;P&gt;Thank you very much joebisesi for your follow up post - your fix has just resolved the same issue I have been trying to resolve!&lt;/P&gt;

&lt;P&gt;Thanks again for taking the time to add this tip as a follow up.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 10:13:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130598#M3939</guid>
      <dc:creator>p1948040</dc:creator>
      <dc:date>2017-02-09T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: nestedGroups is not working as expected for Active Directory LDAP</title>
      <link>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130599#M3940</link>
      <description>&lt;P&gt;You are very welcome p1948040. I'm glad it helped someone out.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 13:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/nestedGroups-is-not-working-as-expected-for-Active-Directory/m-p/130599#M3940</guid>
      <dc:creator>joebisesi</dc:creator>
      <dc:date>2017-02-09T13:11:25Z</dc:date>
    </item>
  </channel>
</rss>

