-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ldap-diff to support legacy exit codes
Updated the ldap-diff to add support for a --useLegacyExitCode argument that can be used to indicate that the tool should use the same exit codes as a legacy version of the tool. These legacy exit codes are: * 0 -- Success with no differences identified (the same as the non-legacy exit code). * 3 -- Success with one or more differences identified (as opposed to a non-legacy exit code of 5, which corresponds to the LDAP compareFalse result code). * 2 -- An argument parsing error occurred (as opposed to a non-legacy exit code of 89, which corresponds to the LDAP paramError result code). * 1 -- An unknown error occurred (as opposed to a non-legacy exit code that corresponds to the LDAP result code that most closely reflects the error that occurred).
- Loading branch information
Showing
3 changed files
with
287 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters