Detailed data synchronization mechanism for modifying AD user passwords

Source: Internet
Author: User

Phenomenon:

Accidentally found a very strange phenomenon, the user to change the password of their own ad account, the new password is immediately available, but the old password is also available.

Test:

To understand the nature of the problem, I did a lot of testing, found that the problem is indeed universal, and the old and new passwords can be used in time, precise control in 5 minutes, a few seconds, a few.

To minimize interference from other factors, each password modification process is performed on the DC. The total test DC has 3 units, DC01, DC02 for the same site, where DC01 is the PDC emulator, and the other is the DC03 for the field site. To improve efficiency, a query interface was written using ws-* to return "OK" or "incorrect" value to indicate that the password was correct or wrong. Next to open windows from the always, accurate to the second to observe.

Let's talk about the site testing.

Test Account Original password is "11", enter the password "11" Return the result "OK", enter the password "22" Return the result "incorrect".

Modify the password on the DC02 "22", enter the password "22" to return the result "OK", enter the password "11" also return the result "OK".

Keep trying the password "11" and return the "OK" result. After 5 minutes, the return result becomes "incorrect".

Modify the password on the DC01 "33", enter the password "33" to return the result "OK", enter the password "22" still return the result "OK".

As before, always try the password "22", all return "OK" result. After 5 minutes, the return result becomes "incorrect".

It is noteworthy that if the password is modified at the same time on the DC01 and DC02, then the old password will be invalidated immediately.

The situation between the site is roughly equivalent, I connect the local AD site to query, DC random, modify password operation in the field of DC03.

For a clearer explanation of the problem, the following illustration shows a screenshot of ADSI information, from left to right, which is the ADSI attribute option for DC01, DC02, and DC03.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.