Skip to content

Commit aa09cb8

Browse files
committed
CA-399256: Ensure AD domain name check is case insensitive
Signed-off-by: Elijah Sadorra <[email protected]>
1 parent f45e406 commit aa09cb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocaml/xapi/xapi_pool.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ let pre_join_checks ~__context ~rpc ~session_id ~force =
322322
slavetobe_auth_type slavetobe_auth_service_name ;
323323
if
324324
slavetobe_auth_type <> master_auth_type
325-
|| slavetobe_auth_service_name <> master_auth_service_name
325+
|| String.lowercase_ascii slavetobe_auth_service_name
326+
<> String.lowercase_ascii master_auth_service_name
326327
then (
327328
error
328329
"Cannot join pool whose external authentication configuration is \

0 commit comments

Comments
 (0)