Skip to content

object operation passwordset

Ryan Newington edited this page Jun 6, 2016 · 2 revisions

<object-operation xsi:type="sshma:object-operation-PasswordSet"> element

A password set operation is called when password synchronization is configured within FIM, and the MA is configured as a password synchronization target.

The <object-operation> element must contain the following child element;

  • commands element The <object-operation> element must contain the following attributes;
XML Attribute Name Description Allowed Values
xsi:type The type of object-operation This value must be sshma:object-operation-PasswordSet

Allowed Declarations

During a password set operation, only the following value declarations can be used

  • {dn}
  • {newpassword}

Example

<object-operation xsi:type="sshma:object-operation-PasswordSet">
    <commands>
        <async-command>
            <send-when expect="$ " timeout="5">/usr/local/bin/sudo /usr/bin/passwd {dn:$1}</send-when>
            <send-when expect="New Password: " timeout="5">{newpassword}</send-when>
            <send-when expect="assword: " timeout="5">{newpassword}</send-when>
            <success-when expect="password successfully changed for {dn:$1}" timeout="5"/>
        </async-command>
    </commands>
</object-operation>
Clone this wiki locally