Skip to content

Commit fec9f97

Browse files
committed
CA-399256: Ensure AD domain name check is case insensitive
1 parent f45e406 commit fec9f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xapi_pool.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ 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 <> String.lowercase_ascii master_auth_service_name
326326
then (
327327
error
328328
"Cannot join pool whose external authentication configuration is \

0 commit comments

Comments
 (0)