Hello Guys,Need some help on password change API.
I have a custom application which chnages user password.
This application uses the following API
SECKFMChangePassword(id_file_path, old_password, newpassword).
The application works for me, very good.
But when i change the password on a ID file, which is currently used by the user and he is already logged in, in this scenario, the ID file is corrupted.
Following is the test case excuted:
a. User is logged in Notes Client with its ID file.
b. User locks the Notes Client.
c. Password is changed on that ID file using my custom application.
d. User unlocks the client.
BEHAVIOR ON NOTES CLIENT:
User can unlock the Notes Client with his old password.
CURRENT STATUS:
Now when I close the Notes client and re-login with the ID file (with the new or old password) is gives an error “Your ID file has been corrupted, or is not an ID file.”
RESULT:
Password changed on an ID file, which is locked by the user corrupts the ID file.
I have seen a similar behavior, when the user is just loogged in and not locked the Notes Client.
Is there any work aorund to resolve this problem.
Or atleast, can i make sure before calling the SECKFMChangePassword() API, whether this user is logged in in his Notes Client with his ID file. SO that i can give an
error.
any help with be of great help…
Sunil Rashinkar