Turning on stale account aging may disable accounts
The lastLoginTime of an account is only updated if the repository has stale
account aging or password aging enabled. The update of the lastLoginTime
on login requires a commit, which is not always desireable.
As a result, if a stale account age limit is set in a repository that did
not previously have either check, the lastLoginTime of accounts that log
in frequently may be still set to a date well in the past, which results
in the account being disabled immediately.
Accounts created in earlier versions of GemStone may have the lastLoginTime
set to nil, which avoids the checks and reduces the risk in cases of repositories
that have never had either check enabled. Accounts created in 2.4 or later
have the lastLoginTime set to the time the account was created.
Decisions to enable or disabled account and password aging should be done
with forethought, in any case.
To turn on account aging safely, an initial period with the stale account
age limit set to a large value, or with password age check enabled but
not account age limits, will allow accounts time to login in with updates
to the lastLoginTime.
Version 22.214.171.124 and 3.0 and later have a method to explicity set the lastLoginTime,
which should be used on existing accounts.