If command line control characters are included in the arguments of commands that will be executed when specifying the settings to link to an external authentication server, escape the characters correctly according to the specifications of the command line.
Also, you must pay attention to backslashes (\) included in the arguments because they are treated specially in the command line.
The following explains how to escape when running the hcmds64ldapuser command, hcmds64radiussecret command, or hcmds64checkauth command.
- In Windows:
- If the following characters are included in an argument, enclose the argument in double quotation marks (") or use a caret (^) to escape each character:
Spaces & | ^ < > ( )
A backslash might be treated as an escape character depending on the character that follows it. Therefore, if a backslash and any of the previous characters are included in an argument, use a caret to escape each character rather than enclose the argument in double quotation marks.
Also, if there is a backslash at the end of an argument, escape it by using another backslash.
- In Linux:
- If the following characters are included in an argument, enclose the argument in
double quotation marks or use a backslash to escape each character:
Spaces # & ' ( ) ~ \ ` < > ; |
Note that a backslash in an argument is treated as an escape character even if the argument is enclosed in double quotation marks. If a backslash is included in an argument, escape it by using another backslash.
For example, if a shared secret to be registered by the hcmds64radiussecret command is secret01\, escape it as follows: