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.
Regards, Le vendredi 18 juin 2010 09:55:18, Jonathan Clarke a écrit : > Le 17/06/2010 21:15, Alexey Wasilyev a écrit : > > 17.06.2010 11:25, Clément OUDOT пишет: > >> Le 17 juin 2010 09:21, Alexey Wasilyev<[email protected]> a > >> > >> écrit : > >>> 17.06.2010 11:19, Clément OUDOT пишет: > >>>> 2010/6/17 Alexey Wasilyev<[email protected]>: > >>>>> Can anybody point me, how to set flag "disable user password > >>>>> changing", > >>>>> when > >>>>> i create user in ad with lsc? > >>>> > >>>> See here: http://support.microsoft.com/kb/305144 > >>>> > >>>> But this does not seems easy, or LDAP compliant, see: > >>>> http://msdn.microsoft.com/en-us/library/aa746398.aspx > >>>> > >>>> Clément. > >>> > >>> Can you provide an example for lsc? > >> > >> I've no time for that. You have to try to translate MS basic example > >> code into LSC scripting... > >> > >> Clément. > > > > Currently I can't understand lsc code logic. Is all ms user-state > > constants declared in AD module? > > All that we knew of at the time of implementation yes. See Gunter's link > for details. > > LSC can only interact with AD via LDAP, so if setting any of these > properties requires other actions it won't be possible. However, I doubt > it does. > > If setting "disable user password changing" is more complicated than > putting the right flag in userAccountControl, via the methods in the AD > class, I would be interested to understand how, and possibly implement a > simpler method into LSC. Will you let us know how you proceeded? > > Thanks, > Jonathan -- Sebastien BAHLOUL IAM and Security Solutions Manager LINAGORA : http://www.linagora.com/ Tel / Phone : +33 810 251 251 Mobile : +33 (0)6 45 63 27 39 74/80 rue Roque de Fillol 92800 Puteaux ----------- http://linid.org/ - http://linpki.org/ IAM and security Open Source projects _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

