Le 24/05/2010 13:39, Jonathan Clarke a écrit :

On 20/05/2010 13:55, Romain wrote:
Le 20/05/2010 10:57, Romain a écrit :
Le 19/05/2010 20:55, Jonathan Clarke a écrit :

Le 19/05/2010 19:33, Jonathan Clarke a écrit :
Which says:
"The date and time that the password for this account was last changed.
This value is stored as a large integer that represents the number of
100 nanosecond intervals since January 1, 1601 (UTC)."

So 1, means 100 nanoseconds after January 1, 1601 - an unlikely
value :-)

Basically, you need to put a valid value in this field. LSC has support
for reading a field like this (getNumberOfWeeksSinceLastLogon in the
org.lsc.utils.AD class), but not for writing. Maybe we should
implement it.

I just added some methods to the AD class to convert to and from AD
timestamps like this one. They can convert to and from Unix timestamps.
See http://tools.lsc-project.org/issues/217.

Do you think any other formats would be useful?

Jonathan

So I am obliged to change password ? I have not understand all you
have said.

Thanks

I have see something. So I create my user, and sync him in my AD with :
bin/lsc -s user -f etc
So after, i see my user in my AD, i see in his properties that he have
to change his password at the next connection. So I try to connect with
him in a Windows XP computer. But i am obliged to change is password. I
don't make that, so i don't connect. But, i have relaunch the
synchronization with the same command : bin/lsc -s user -f etc. (its
must be allowed to modify user in lsc.properties). So after, i look my
user's properties in AD, and i see that he has not to change is password
at the next connection. And if i tried to connect with him in a
computer, indeed, i have not to change the password, and my user can
connect him in a computer.

So to resume, to don't have to change the user password at the first
connection, you must have to sync user from OpenLDAP to AD, 2 times.

Its strange.

That's interesting. Does it make a difference if you try and log in from Windows XP or not ?

Jonathan &

Yes it make a difference after the second Sync, because if i try to connect, i don't have to change the password, so i connect with my user immediately. That's the only difference



_______________________________________________________________
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