<?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: LDAP Map users to roles in Security</title>
    <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126432#M3842</link>
    <description>&lt;P&gt;LOL... Well now you can tell them that a random person on an internet forum thinks you're right!&lt;/P&gt;

&lt;P&gt;Honestly, I had about 3-6 months of debates before I was able to convince those who controlled our AD infrastructure that delegating an OU for Splunk groups was the correct course of action. I can only wish you best of luck!&lt;/P&gt;</description>
    <pubDate>Sun, 24 May 2015 03:00:50 GMT</pubDate>
    <dc:creator>acharlieh</dc:creator>
    <dc:date>2015-05-24T03:00:50Z</dc:date>
    <item>
      <title>LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126424#M3834</link>
      <description>&lt;P&gt;Working LDAP where i can map LDAP groups to roles. &lt;BR /&gt;
[XYZ Corporate AD]&lt;BR /&gt;
SSLEnabled = 1&lt;BR /&gt;
anonymous_referrals = 1&lt;BR /&gt;
bindDN = CN=a1dpsapacheuser,OU=Administrative,DC=CORP,DC=XYZ,DC=com&lt;BR /&gt;
bindDNpassword = password&lt;BR /&gt;
charset = utf8&lt;BR /&gt;
emailAttribute = mail&lt;BR /&gt;
groupBaseDN = OU=Groups,OU=Location Corporate,OU=ABC,DC=CORP,DC=XYZ,DC=com&lt;BR /&gt;
groupMappingAttribute = dn&lt;BR /&gt;
groupMemberAttribute = member&lt;BR /&gt;
groupNameAttribute = cn&lt;BR /&gt;
host = x.x.x.x&lt;BR /&gt;
nestedGroups = 0&lt;BR /&gt;
network_timeout = -1&lt;BR /&gt;
port = 636&lt;BR /&gt;
realNameAttribute = givenname&lt;BR /&gt;
sizelimit = 1000000&lt;BR /&gt;
timelimit = 29&lt;BR /&gt;
userBaseDN = OU=ABC,DC=CORP,DC=XYZ,DC=com&lt;BR /&gt;
userNameAttribute = samaccountname&lt;/P&gt;

&lt;P&gt;[roleMap_XYZ Corporate AD]&lt;BR /&gt;
admin = XYZ - Admin Splunk Distribution&lt;BR /&gt;
splunkuser = GlobalUsers&lt;/P&gt;

&lt;P&gt;[authentication]&lt;BR /&gt;
authSettings = XYZ Corporate AD&lt;BR /&gt;
authType = LDAP&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Trying to achieve, LDAP map users to Roles. I have followed &lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/43842/mapping-ldap-user-to-roles-matched-groups-are-not-found-in-roles.html" target="_blank"&gt;http://answers.splunk.com/answers/43842/mapping-ldap-user-to-roles-matched-groups-are-not-found-in-roles.html&lt;/A&gt;  &amp;amp; &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Security/ConfigureLDAPwithconfigurationfiles" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Security/ConfigureLDAPwithconfigurationfiles&lt;/A&gt;  as is but no luck. Here's the config i came up with&lt;/P&gt;

&lt;P&gt;[XYZ Corporate AD]&lt;BR /&gt;
SSLEnabled = 1&lt;BR /&gt;
anonymous_referrals = 1&lt;BR /&gt;
bindDN = CN=a1dpsapacheuser,OU=Administrative,DC=CORP,DC=XYZ,DC=com&lt;BR /&gt;
bindDNpassword = password&lt;BR /&gt;
charset = utf8&lt;BR /&gt;
emailAttribute = mail&lt;BR /&gt;
groupBaseDN = OU=ABC,DC=CORP,DC=XYZ,DC=com&lt;BR /&gt;
groupBaseFilter = (|(samaccountname=*))&lt;BR /&gt;
groupMappingAttribute = samaccountname&lt;BR /&gt;
groupMemberAttribute = samaccountname&lt;BR /&gt;
groupNameAttribute = samaccountname&lt;BR /&gt;
host = x.x.x.x&lt;BR /&gt;
nestedGroups = 0&lt;BR /&gt;
network_timeout = -1&lt;BR /&gt;
port = 636&lt;BR /&gt;
realNameAttribute = cn&lt;BR /&gt;
sizelimit = 1000000&lt;BR /&gt;
timelimit = 29&lt;BR /&gt;
userBaseDN = OU=ABC,DC=CORP,DC=XYZ,DC=com&lt;BR /&gt;
userNameAttribute = samaccountname&lt;/P&gt;

&lt;P&gt;[roleMap_XYZ Corporate AD]&lt;BR /&gt;
newadmin = rgomatha&lt;/P&gt;

&lt;P&gt;[authentication]&lt;BR /&gt;
authSettings = XYZ Corporate AD&lt;BR /&gt;
authType = LDAP&lt;/P&gt;

&lt;P&gt;And i can't login. Is it because we have too many groups? I am sure more than 1000! What am i doing wrong?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;BR /&gt;
Regards,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126424#M3834</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2020-09-28T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126425#M3835</link>
      <description>&lt;P&gt;Is "newadmin" a role defined in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Authorizeconf"&gt;authorize.conf&lt;/A&gt;? Does the newadmin role extend the built in "user" role? (There is a way to enable login for roles that aren't user but it's tricky last I remember)&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2015 18:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126425#M3835</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-23T18:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126426#M3836</link>
      <description>&lt;P&gt;Correct, i created a role newadmin. It is inherited from built-in admin role&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2015 18:41:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126426#M3836</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-05-23T18:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126427#M3837</link>
      <description>&lt;P&gt;So, i guess the culprit was the LDAP group (Too big to handle i guess). Once i picked a relatively smaller group, it started to show users as groups and let me add users to individual roles. Now the problem is, it's not reflecting until i restart splunkd every addition/updates. Is there any other way to avoid the restart as it could become a pain with more and more users request access &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;P.S: Though debug/refresh isn't going refresh authentication...tried it to just to be sure. Didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 02:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126427#M3837</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-05-24T02:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126428#M3838</link>
      <description>&lt;P&gt;Why do you want to map users directly to roles in Splunk? As you've found out changing mappings you're going to likely wind up with restarts. If you could get your AD Admin to delegate you an OU for Splunk groups, and create groups per Splunk role in that OU, then adding/removing users to roles requires no restart. (As you're then just adding / removing users to groups within AD... the mapping stays the same). &lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 02:26:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126428#M3838</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-24T02:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126429#M3839</link>
      <description>&lt;P&gt;I agree and that's how we had it configured first. We have close to 80 indexes and the ask is to have different levels of elevated privileges to individuals (i know exactly how this sounds :)). So even if i create 100 roles in Splunk , since i cannot have everyone from that One Mega Splunk AD group access it, this route. Please let me know if you have a better strategy and i can certainly propose it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;In a nut shell, cannot request multiple AD groups, Can create whatever no. of roles in splunk i can, several levels of user access required.&lt;/P&gt;

&lt;P&gt;Thank you Charlie!&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 02:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126429#M3839</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-05-24T02:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126430#M3840</link>
      <description>&lt;P&gt;As several levels of user access are required, make a role and corresponding LDAP group that maps to each piece you want to authorize. If a user needs 3 different levels of access, add his account to the 3 corresponding LDAP groups. As a user, you can have multiple roles in Splunk (like you can be a member of multiple groups in Active Directory). &lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 02:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126430#M3840</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-24T02:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126431#M3841</link>
      <description>&lt;P&gt;Yeah, i proposed the exact same...manage more from AD side and role....i guess some people just don't get it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks Charlie..cheers!&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 02:53:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126431#M3841</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-05-24T02:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126432#M3842</link>
      <description>&lt;P&gt;LOL... Well now you can tell them that a random person on an internet forum thinks you're right!&lt;/P&gt;

&lt;P&gt;Honestly, I had about 3-6 months of debates before I was able to convince those who controlled our AD infrastructure that delegating an OU for Splunk groups was the correct course of action. I can only wish you best of luck!&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 03:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126432#M3842</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-24T03:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126433#M3843</link>
      <description>&lt;P&gt;Thanks again for you help Charlie.....Cheers!&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 15:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126433#M3843</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-05-24T15:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Map users to roles</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126434#M3844</link>
      <description>&lt;P&gt;Looks like i have to go with AD groups to Splunk roles instead of Users to Splunk roles for lot of reasons.&lt;/P&gt;

&lt;P&gt;Thanks to Charlie for adding weight to the approach 1&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2015 18:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Map-users-to-roles/m-p/126434#M3844</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-05-25T18:23:00Z</dc:date>
    </item>
  </channel>
</rss>

