} is  at the end of my dataset string value. i forgot to copy it in my
mail ....

pwdAccountLockedTime is declared in source fetchedAttributes




On 28/02/14 09:51, Clément OUDOT wrote:
>
>
>
> 2014-02-28 9:36 GMT+01:00 Plumel Louis-Marie
> <[email protected] <mailto:[email protected]>>:
>
>     I tried this but nothing changed.
>     I see in my AD that useraccountcontrol is still at accountdisable
>     for a
>     user who is still active...
>
>     maybe there is a mistake in my test ...and i don't see it....
>
>                                            
>     <name>userAccountControl</name>
>                                             <policy>FORCE</policy>
>                                             <createValues>
>                                             <string>
>     if (srcBean.getDatasetById("pwdAccountLockedTime") == null
>     {
>     AD.userAccountControlSet( "0", [ AD.UAC_SET_NORMAL_ACCOUNT,
>     AD.UAC_UNSET_ACCOUNTDISABLE]);
>     }
>     {
>     AD.userAccountControlSet( "0", [  AD.UAC_SET_ACCOUNTDISABLE]);
>                                             </string>
>                                             </createValues>
>                                     </dataset>
>                                     <dataset>
>                                             <name>pwdLastSet</name>
>                                             <policy>KEEP</policy>
>                                             <createValues>
>                                                     <string>"0"</string>
>                                             </createValues>
>                                     </dataset>
>                                     <dataset>
>                                             <name>UnicodePwd</name>
>                                             <policy>KEEP</policy>
>                                             <createValues>
>
>     <string>AD.getUnicodePwd("changethis")</string>
>                                             </createValues>
>                                     </dataset>
>                             </propertiesBasedSyncOptions>
>                     </task>
>             </tasks>
>     </lsc>
>
>
>
> Seems you miss a } at the end of your dataset string value..
>
>  Is pwdAccountLockedTime declared in source fetchedAttributes ?

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to