Update the way that the password policy import plugin encodes passwords during
an LDIF import. The basic practice is as follows:
- If the entry specifies a particular password policy, then the default
password storage schemes for that policy will be used to encode the password.
- If the entry does not specify a particular password policy, then the server
will use the password scheme(s) specified in the
ds-cfg-default-user-password-storage-scheme or
ds-cfg-default-auth-password-storage-scheme attribute in the plugin
configuration entry, if they are present.
- If the configuration entry does not specify a default set of storage
schemes, but it uses a password attribute that has the same syntax as the
password attribute used by the server's default password policy, then the
default password storage schemes from the server's default password policy
will be used.
- If all else fails, the server will use SSHA for passwords with the user
password syntax, or SHA1 for passwords with the auth password syntax.
OpenDS Issue Number: 849