Details
-
Bug
-
Resolution: Duplicate
-
Major
-
6.5.0
-
6.5.0-3555
Description
create a user called comusr on ldap , with user roles as cluster admin
create two ldap groups called grp1 and grp2 with group roles as admin and cluster admin respectively
add comusr to grp1 and grp2
try to login on the UI using comusr as the username and password as password
expected: successfull log in
observed: the UI doesnt display any message and remains in the same page
the tail of debug.log of the corresponding node shows the following message:
[ns_server:error,2019-06-19T22:25:59.594-07:00,ns_1@cb.local:<0.24434.6>:menelaus_web:loop:163]Server error during processing: ["web request failed",
,
,
,
{what,
{case_clause,
{"Administrator",
{auth,
[
,
{<<"sha512">>,
{[
,
,
{<<"sha256">>,
{[{<<"h">>, <<"I78UJ7iS3AB1T5ILJBiKcwWjKfbzuNbmYo+xNjsDcgM=">>},
{<<"s">>, <<"lEJYJgAzMqDeSWoGF1fMnQtinll1v/TnO1qaqZtmf9Q=">>},
{<<"i">>,4000}
]}},
{<<"sha1">>,
{[
,
,
]}}]}}}},
{trace,
[{ns_config_auth,authenticate_non_special,
2,
[
{line,121}]},
{ns_config_auth,authenticate,2,
[{file,"src/ns_config_auth.erl"}
,
]},
{menelaus_auth,authenticate,1,
[
{line,300}]},
{menelaus_auth,verify_login_creds,1,
[{file,"src/menelaus_auth.erl"}
,
]},
{menelaus_auth,uilogin,2,
[
,
]},
{request_throttler,do_request,3,
[
,
]},
{menelaus_web,loop,2,
[
,
]},
{mochiweb_http,headers,5,
[
,
]}]}]