Thank you Clément,
But i did an bad request or not as explicit as i would like.

I know that if i want to disable a user in openldap, i had to put a
value in pwdAccountLockedTime. (But when i use an ldapbrowser i do not
see this name pwdAccountLockedTime, but i know it exists.)

My question is how i can test if there is a value or not in
pwdAccounLockedTime ? I'm sorry to ask such question but i'm not a
specialist of LDAP.
When i will know how to check this value, i want to disable or not users
in AD.

Thanks,

LMP




On 26/02/14 15:51, Clément OUDOT wrote:
>
>
>
> 2014-02-26 15:44 GMT+01:00 Plumel Louis-Marie
> <[email protected] <mailto:[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_LOCKOUT
> value 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