Hi,
i am able to authenticate and authorize AD user with elasticsearch
[root@elastic1 ~]# curl -u abhay -k "http://192.168.58.174:9200/_cluster/health?pretty"
Enter host password for user 'abhay':
{
"cluster_name" : "els-cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 3,
"active_primary_shards" : 36,
"active_shards" : 72,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}
[root@elastic1 ~]#
but using this user i am not be able to login with kibana
{"statusCode":401,"error":"Unauthorized","message":"[security_exception] unable to authenticate user [ratan] for REST request [/_security/_authenticate], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } }"}
Thanks in Advance