Hi,
I have created LDAP configuration in our SPLUNK deployment.
[authentication]
authType = LDAP
authSettings = SHC
[SHC]
host = XXXXXXXXXXXXXXXXXXXXX
port = 389
SSLEnabled = 0
realNameAttribute = cn
userBaseDN = ou=people,o=intra,dc=sears,dc=com
userBaseFilter = (objectclass=*)
userNameAttribute = uid
groupBaseDN = ou=people,o=intra,dc=sears,dc=com
groupBaseFilter = (objectclass=*)
groupMappingAttribute = uid
groupMemberAttribute = uid
groupNameAttribute = uid
[roleMap_SHC]
admin = lbirnba;pbussie;rsen0;vjaiswa
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.
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.
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:
[roleMap_SHC]
admin = lbirnba;pbussie;rsen0;vjaiswa
user =
Ming
The only way I can think of is to use scripted authentication.
You can find more info at http://docs.splunk.com/Documentation/Splunk/latest/Security/ConfigureSplunkToUsePAMOrRADIUSAuthentic....
-Ming
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.
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:
[roleMap_SHC]
admin = lbirnba;pbussie;rsen0;vjaiswa
user =
Ming
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 --
user = ALL
or
user = *
I tried both but not working.
See accepted answer in this post if its of any use.
http://answers.splunk.com/answers/43842/mapping-ldap-user-to-roles-matched-groups-are-not-found-in-r...