ADPasswordFormatValve

Valve for formatting a string property to a Microsoft Active Directory password.

An AD password is a binary UTF-16 string (little-endian byte order) enclosed in double quotes (“).

Before format, the configured property must be a regular string property, after format the property will be binary.

In order to update an Active Directory user with the new password, a write must be performed. This is not done by this valve but can be performed using, for instance, LDAPModifyValve.

Properties

Name Description Default value Mandatory Supports property expansion
name Name of the password property to format, fetched from the first item. unicodePwd   No

Example Configuration

{
        "name": "ADPasswordFormatValve",
        "config":
           {
              "name":"password"
        }
}

In the example above, the config property password contains the string value for the password to be formatted.
So syntax is "name" : "<item attribute>".

Requirements