To add: This is the event logs you will see at Windows 2012 R2 if the code was successful in changing the username password

you can filter it by this numbers in Windows Security event logs search for: 4662,4723,4724,627,628,4771,4738

4662 - An operation was performed on an object

4723 - An attempt was made to change an account's password

4724 - An attempt was made to reset an accounts password

627 - Change Password Attempt

628 - User Account password set

4771 - Kerberos pre-authentication failed

4738 - A user account was changed

=========================================

Log Name: Security Source: Microsoft Windows Security Event ID: 4738 Keywords: Audit Success

============================================================

user account was changed. Subject: Security ID: devfsmendoza\useradmin Account Name: useradmin Account Domain: devfsmendoza Logon ID: 0x65F62 Target Account: Security ID: devfsmendoza\user1 Account Name: user1 Account Domain: devfsmendoza Changed Attributes: SAM Account Name: - Display Name: - User Principal Name: - Home Directory: - Home Drive: - Script Path: - Profile Path: - User Workstations: - Password Last Set: 24/2/2017 1:55:09 PM Account Expires: - Primary Group ID: - AllowedToDelegateTo: - Old UAC Value: - New UAC Value: - User Account Control: - User Parameters: - SID History: - Logon Hours: - Additional Information: Privileges: -

In reply to Re: Resolved: It does not change password in LDAP Windows 2012 R2 by fsmendoza
in thread Resolved: It does not change password in LDAP Windows 2012 R2 by francism8

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.