2014-02-26 15:44 GMT+01:00 Plumel Louis-Marie <[email protected]>:

> Hello,
>
> I need to disable my users in AD who have a specific
> pwdAccountLockedTime value in openLdap.
>
> Is there anybody who already done it ?
>
>
Yes, you can use the AD LSC library with this method:
http://lsc-project.org/javadoc/2.0-SNAPSHOT/org/lsc/utils/directory/AD.html#userAccountControlSet%28int,%20java.lang.String[]%29

Use
http://lsc-project.org/javadoc/2.0-SNAPSHOT/org/lsc/utils/directory/AD.html#UAC_SET_LOCKOUTvalue
to lock account on AD.



Clément.
_______________________________________________________________
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