Kibana4_server role error

security

(piyush) #1

Hi Team,
I mapped my AD user with default role i.e. kibana4_server, which i picked up from default roles.yml file. But i am getting below error on Kibana console:

As privileges are set to all, i am not sure why it's not working, please suggest.

====================
Kibana Error:
[security_exception] action [cluster:monitor/nodes/info] is unauthorized for user [test1]

=====================
roles_mapping.yml:
kibana4_server:

  • "cn=gp-ops-es-admin,ou=ccs,dc=ad,dc=----,dc=----,dc=com"

===================

roles.yml:

The required permissions for the kibana 4 server

kibana4_server:
cluster:
- monitor
indices:
- names: '.kibana'
privileges:
- all

Thanks & Regards


(Jay Modi) #2

HI @piyush,

I was looking at the log message you provided in the previous topic and it seems like the group you are mapping with is not being retrieved from Active Directory. Do you see a log message like:

the roles [], are mapped from these [] groups [] for realm []


(piyush) #3

Yes, it was due to CN issue.
It got resolved, Thanks Jai...


(system) #4