From 66a59e5c6d62982c032903e6d7ad8ee06933cbe4 Mon Sep 17 00:00:00 2001 From: Sai Kiran Akula <87731960+saikiranakula-amzn@users.noreply.github.com> Date: Mon, 22 Jan 2024 21:58:25 -0800 Subject: [PATCH] Update gmsa_service.cpp --- api/src/gmsa_service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/gmsa_service.cpp b/api/src/gmsa_service.cpp index c3c6140b..31025ced 100644 --- a/api/src/gmsa_service.cpp +++ b/api/src/gmsa_service.cpp @@ -31,7 +31,8 @@ //https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/bb726984 // (v=technet.10) static const std::vector invalid_characters = { - '&', '|', ';', ':', '$', '*', '?', '<', '>', '!',' ', '\\', '.',']', '[', '+', '\'', '`', '~'}; + '&', '|', ';', ':', '$', '*', '?', '<', '>', '!',' ', '\\', '.',']', '[', '+', '\'', '`', + '~', '}', '{', '"', ')', '('}; static const std::vector invalid_characters_ad_name = { '&', ':', ']', '[', '+', '|', ';', '$', '*', '?', '<', '>', '!',' ', '/', '\\', '\'', '`', '~'};