Encode user passwords with a specified storage scheme or determine whether a given clear-text value matches a provided encoded password.
encode-password --listSchemes
encode-password --listSchemes --authPasswordSyntax
encode-password --clearPassword admin123 --storageScheme SSHA
encode-password --clearPassword admin123 \ --encodedPassword 'SHA1$wnzPMUryHrQ=$Rb2fEUDeItz4cI3GN/FcZm+UQ4U=' \ --authPasswordSyntax
-V
--version
Description | Display Directory Server version information |
-H
--help
Description | Display general usage information |
--help-debug
Description | Display help for using debug options |
Advanced | Yes |
-l
--listSchemes
Description | List available password storage schemes |
-c {clearPW}
--clearPassword {clearPW}
Description | Clear-text password to encode or to compare against an encoded password |
Required | No |
Multi-Valued | No |
-f {file}
--clearPasswordFile {file}
Description | Clear-text password file |
Required | No |
Multi-Valued | No |
-e {encodedPW}
--encodedPassword {encodedPW}
Description | Encoded password to compare against the clear-text password |
Required | No |
Multi-Valued | No |
-E {file}
--encodedPasswordFile {file}
Description | Encoded password file |
Required | No |
Multi-Valued | No |
-s {scheme}
--storageScheme {scheme}
Description | Scheme to use for the encoded password |
Required | No |
Multi-Valued | No |
-a
--authPasswordSyntax
Description | Use the authentication password syntax rather than the user password syntax |
-r
--useCompareResultCode
Description | Use the LDAP compare result as an exit code for the password comparison |