Dirsync: UserAccountControl attributes like "Password Never Expires" and “User cannot change password” does not sync
説明
We noticed the UserAccountControl attributes like "Password Never Expires" and “User cannot change password” does not sync. How do we get these synced.
原因
This will require an update to the Dirsync Template Attribute Mapping for the UserAccountControl attribute
対策
Open Dirsync dashboard, click on Hamburger menu button | Templates Select the template which is being used by your current Dirsync workflow. Click Settings | Mapping Double-click on UserAccountControl Change the Value from: GetUserAccountControl() to s.useraccountcontrol Save Template This will allow the AccountControlAttributes to synchronize
Note: The "User cannot change password" is not an AD attribute and is not part of userAccountControl and cannot be syncrhonized.