Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Security 2021-06-28
Description
Mongoldap defaults to outputing in color. It should be changed to not log in color when outputing to a non-tty.
By default LDAPToolOptions.color defaults to true on Linux. The color set LDAPToolOptions.color to false if the user did not specify color on the command line.
See https://man7.org/linux/man-pages/man3/isatty.3.html for detecting if stdout is a tty.