This article provides a procedure to synchronize account attributes that are marked as "Propagation Allowed" but are excluded from standard template synchronization due to IsPolicySync settings.
Certain account attributes, such as "Smart card is required for interactive logon" (eTADSuserAccountControl, bit 18), do not synchronize automatically during the Accounts/Template synchronization process. This occurs because the attribute is defined as "initial" rather than "capability," resulting in IsPolicySync: no within the parser table.
While the attribute is "Propagation Allowed," it is excluded from the standard synchronization engine because it lacks the "capability" designation in the parser table (IsPolicySync: no).
To propagate changes in the template for this attribute, use the following etautil script.
ETAHOME, DOMAIN, USER, PASSWD, and TEMPLATE variables are set correctly in the script below.@ECHO ON
set ETAHOME="C:\Program Files (x86)\CA\Identity Manager\Provisioning Server"
rem Provisioning Domain Name
set DOMAIN=
rem Provisioning Server administrator
set USER=
rem Provisioning Server administrator password
set PASSWD=
set TEMPLATE=
%ETAHOME%\bin\etautil -d %DOMAIN% -u %USER% -p %PASSWD% select 'eTADSPolicyContainerName=Active Directory Policies, eTNamespaceName=CommonObjects' eTADSPolicy eTADSPolicyName=%TEMPLATE% >TemplateAttributes.txt
IF %ERRORLEVEL% NEQ 0 GOTO:EOF
:: Loop reading TemplateAttributes.txt file
set ORIVAL=null
FOR /F "tokens=1,2,3 delims= " %%A IN (TemplateAttributes.txt) DO IF "%%A"=="eTADSuserAccountControl" set ORIVAL=%%C
echo %ORIVAL%
IF %ORIVAL% == null GOTO:EOF
%ETAHOME%\bin\etautil -d %DOMAIN% -u %USER% -p %PASSWD% update 'eTADSPolicyContainerName=Active Directory Policies, eTNamespaceName=CommonObjects' eTADSPolicy eTADSPolicyName=%TEMPLATE% to eTSyncAccounts=1 eTADSuserAccountControl=%ORIVAL%
del TemplateAttributes.txt
dumpptt -f -t adsparse -of adsparse.txt.