<?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 mapping users to role in Security</title>
    <link>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109524#M3508</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have created LDAP configuration in our SPLUNK deployment.&lt;/P&gt;

&lt;H1&gt;Version 6.0&lt;/H1&gt;

&lt;H1&gt;DO NOT EDIT THIS FILE!&lt;/H1&gt;

&lt;H1&gt;Please make all changes to files in $SPLUNK_HOME/etc/system/local.&lt;/H1&gt;

&lt;H1&gt;To make changes, copy the section/stanza you want to change from $SPLUNK_HOME/etc/system/default&lt;/H1&gt;

&lt;H1&gt;into ../local and edit there.&lt;/H1&gt;

&lt;H1&gt;This file configures authentication.&lt;/H1&gt;

&lt;P&gt;[authentication]&lt;BR /&gt;
authType = LDAP&lt;BR /&gt;
authSettings = SHC&lt;/P&gt;

&lt;H1&gt;Note: the caching specified in this stanza only applies to scripted authentication.&lt;/H1&gt;

&lt;H1&gt;If you are using scripted authentication, you can override these cache timing values in&lt;/H1&gt;

&lt;H1&gt;your $SPLUNK_HOME/etc/system/local/authentication.conf&lt;/H1&gt;

&lt;P&gt;[SHC]&lt;BR /&gt;
host = XXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;
port = 389&lt;BR /&gt;
SSLEnabled = 0&lt;/P&gt;

&lt;H1&gt;bindDN = anonymous&lt;/H1&gt;

&lt;H1&gt;User Configurations&lt;/H1&gt;

&lt;P&gt;realNameAttribute = cn&lt;BR /&gt;
userBaseDN = ou=people,o=intra,dc=sears,dc=com&lt;BR /&gt;
userBaseFilter = (objectclass=*)&lt;BR /&gt;
userNameAttribute = uid&lt;/P&gt;

&lt;H1&gt;Group Configurations&lt;/H1&gt;

&lt;P&gt;groupBaseDN = ou=people,o=intra,dc=sears,dc=com&lt;BR /&gt;
groupBaseFilter = (objectclass=*)&lt;BR /&gt;
groupMappingAttribute = uid&lt;BR /&gt;
groupMemberAttribute = uid&lt;BR /&gt;
groupNameAttribute = uid&lt;/P&gt;

&lt;P&gt;[roleMap_SHC]&lt;BR /&gt;
admin = lbirnba;pbussie;rsen0;vjaiswa&lt;/P&gt;

&lt;P&gt;All the users have got added. But they they are not able to login(except for the admin users). I think I need to assign each user to a role before they can login. I am thinking of assigning the "user" role to all users. How do I achieve that without using groups. We do not use groups in our LDAP. &lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2014 14:38:20 GMT</pubDate>
    <dc:creator>romitsn</dc:creator>
    <dc:date>2014-03-27T14:38:20Z</dc:date>
    <item>
      <title>mapping users to role</title>
      <link>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109524#M3508</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have created LDAP configuration in our SPLUNK deployment.&lt;/P&gt;

&lt;H1&gt;Version 6.0&lt;/H1&gt;

&lt;H1&gt;DO NOT EDIT THIS FILE!&lt;/H1&gt;

&lt;H1&gt;Please make all changes to files in $SPLUNK_HOME/etc/system/local.&lt;/H1&gt;

&lt;H1&gt;To make changes, copy the section/stanza you want to change from $SPLUNK_HOME/etc/system/default&lt;/H1&gt;

&lt;H1&gt;into ../local and edit there.&lt;/H1&gt;

&lt;H1&gt;This file configures authentication.&lt;/H1&gt;

&lt;P&gt;[authentication]&lt;BR /&gt;
authType = LDAP&lt;BR /&gt;
authSettings = SHC&lt;/P&gt;

&lt;H1&gt;Note: the caching specified in this stanza only applies to scripted authentication.&lt;/H1&gt;

&lt;H1&gt;If you are using scripted authentication, you can override these cache timing values in&lt;/H1&gt;

&lt;H1&gt;your $SPLUNK_HOME/etc/system/local/authentication.conf&lt;/H1&gt;

&lt;P&gt;[SHC]&lt;BR /&gt;
host = XXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;
port = 389&lt;BR /&gt;
SSLEnabled = 0&lt;/P&gt;

&lt;H1&gt;bindDN = anonymous&lt;/H1&gt;

&lt;H1&gt;User Configurations&lt;/H1&gt;

&lt;P&gt;realNameAttribute = cn&lt;BR /&gt;
userBaseDN = ou=people,o=intra,dc=sears,dc=com&lt;BR /&gt;
userBaseFilter = (objectclass=*)&lt;BR /&gt;
userNameAttribute = uid&lt;/P&gt;

&lt;H1&gt;Group Configurations&lt;/H1&gt;

&lt;P&gt;groupBaseDN = ou=people,o=intra,dc=sears,dc=com&lt;BR /&gt;
groupBaseFilter = (objectclass=*)&lt;BR /&gt;
groupMappingAttribute = uid&lt;BR /&gt;
groupMemberAttribute = uid&lt;BR /&gt;
groupNameAttribute = uid&lt;/P&gt;

&lt;P&gt;[roleMap_SHC]&lt;BR /&gt;
admin = lbirnba;pbussie;rsen0;vjaiswa&lt;/P&gt;

&lt;P&gt;All the users have got added. But they they are not able to login(except for the admin users). I think I need to assign each user to a role before they can login. I am thinking of assigning the "user" role to all users. How do I achieve that without using groups. We do not use groups in our LDAP. &lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109524#M3508</guid>
      <dc:creator>romitsn</dc:creator>
      <dc:date>2014-03-27T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: mapping users to role</title>
      <link>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109525#M3509</link>
      <description>&lt;P&gt;See accepted answer in this post if its of any use.&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/43842/mapping-ldap-user-to-roles-matched-groups-are-not-found-in-roles"&gt;http://answers.splunk.com/answers/43842/mapping-ldap-user-to-roles-matched-groups-are-not-found-in-roles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109525#M3509</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-27T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: mapping users to role</title>
      <link>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109526#M3510</link>
      <description>&lt;P&gt;We are using LDAP group and then map Splunk role with each LDAP group.  Role is assigned to LDAP users by adding them to the appropriate LDAP group.&lt;/P&gt;

&lt;P&gt;In your case without using LDAP groups, if admin role users can log in then by the same token, you can assign users to Splunk role 'user' as follow under 'roleMap_SHC' stanza:&lt;/P&gt;

&lt;P&gt;[roleMap_SHC]&lt;BR /&gt;
admin = lbirnba;pbussie;rsen0;vjaiswa&lt;BR /&gt;
user = &lt;USR1&gt;;&lt;USR2&gt;;&lt;USR3&gt;&lt;/USR3&gt;&lt;/USR2&gt;&lt;/USR1&gt;&lt;/P&gt;

&lt;P&gt;Ming&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:18:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109526#M3510</guid>
      <dc:creator>yungro</dc:creator>
      <dc:date>2014-03-27T15:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: mapping users to role</title>
      <link>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109527#M3511</link>
      <description>&lt;P&gt;The only problem is that I cannot add all users like that. Is there any way to set all users to have "user" role by default.Something like --&lt;/P&gt;

&lt;P&gt;user = ALL&lt;BR /&gt;
or&lt;BR /&gt;
user = *&lt;/P&gt;

&lt;P&gt;I tried both but not working.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 16:07:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109527#M3511</guid>
      <dc:creator>romitsn</dc:creator>
      <dc:date>2014-03-27T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: mapping users to role</title>
      <link>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109528#M3512</link>
      <description>&lt;P&gt;The only way I can think of is to use scripted authentication.&lt;/P&gt;

&lt;P&gt;You can find more info at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Security/ConfigureSplunkToUsePAMOrRADIUSAuthentication"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Security/ConfigureSplunkToUsePAMOrRADIUSAuthentication&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;-Ming&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 16:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/mapping-users-to-role/m-p/109528#M3512</guid>
      <dc:creator>yungro</dc:creator>
      <dc:date>2014-03-27T16:56:55Z</dc:date>
    </item>
  </channel>
</rss>

