On 18/06/2010 10:09, Sebastien Bahloul wrote:
Hi all,

As I can see there http://www.winserverkb.com/Uwe/Forum.aspx/windows-server-
ad/3885/LDAP-Query-for-User-Cannot-Change-Password, it seems to be a
userAccountControl flag.

From Clément's link on microsoft.com:
"PASSWD_CANT_CHANGE
Note You cannot assign this permission by directly modifying the UserAccountControl attribute. For information about how to set the permission programmatically, see the "Property flag descriptions" section."

Therefore there is a flag, but apparently it's not sufficient to change it for the modification to be effective.

The document that Clément posted details an approach using Microsoft APIs, but I can't see clearly how to adapt this to LSC in Java... It would involve more work I think!

Jon
--
--------------------------------------------------------------
Jonathan Clarke - [email protected]
--------------------------------------------------------------
Ldap Synchronization Connector (LSC) - http://lsc-project.org
--------------------------------------------------------------
_______________________________________________________________
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