USER PASSWORD

Level

base+modify

History

dn Appears in 6 0 0
password Appears in 6 0 0
method Appears in 6 0 0
hash Appears in 6 0 0
method disapear in 9 1 0
DomainName appears in 3 4 0

Description

Update an user's password

Implementation notes

A call to fw_ldap_update(), with many checks about method/hash, etc

Usage

dn=<User ID>|<User DN> password=<newpassword> [hash=<MD5|SMD5|SHA|SSHA|CRYPT|NONE>] [domainName=<ldap>]

Returns

Error code

Remark

Every user with MODIFY right can update his own password
Need USER and MODIFY rights to update passwords for users who are not administrators
Need ADMIN and MODIFY rights to update an administrator's password
Arguments aren't 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