USER PASSWORD

Level

base,modify

History

dn appears in Netasq 6.0.0
password appears in Netasq 6.0.0
method appears in Netasq 6.0.0
hash appears in Netasq 6.0.0
method disappears in Netasq Netasq 9.1.0
DomainName appears in 3.4.0

Description

Update a user password.

Usage

dn=<User ID>|<User DN> password=<newpassword> [hash=<[S]MD5|[S]SHA|[S]SHA256|[S]SHA384|[S]SHA512|PBKDF2|PBKDF2-SHA1|PBKDF2-SHA256|PBKDF2-SHA512|CRYPT|NONE>] [domainName=<ldap>]

Returns

Error code

Remark

All users with MODIFY right can update their own passwords.
USER and MODIFY rights are needed to update passwords for users who are not administrators.
ADMIN and MODIFY rights are needed to update an administrator's password.
Arguments are not logged.

Example

user password dn=jd password=foo
100 Password updated for user jd

user password dn=jd password=bar method=SRP_LDAP
100 Password updated for user jd

user password dn=jd password=bar method=SRP_LDAP hash=SSHA
100 Password updated for user jd