password-change in AD pickup by SL only after restart
we experience the issue, that after changing the windows password at login-time the change is propagated to edirectory. a web-application authenticates against edir afterwards, but SecureLogin fills in the old password. only after rebooting the correct (new) one is used.
is there a way to change that behaviour?
# time since last login
Set ?NewTime ?CurrTime(System)
Subtract ?NewTime ?OldTime ?Diff
if -text "User ID"
if -text "Password"
If ?Diff Lt "5"
messagebox "The Login failed, if you have changed your Windows password since your last logon, logoff your computer and logon again."
endscript
endif
type ?Sysuser(system)
type ?Syspassword(system) password
Set ?OldTime ?CurrTime(System)
endif
endif
Setprompt "provide login credentials"
|