Hi,
I've been using NetXMS happily for a few years, I enabled two factor authentication with TOTP on my account and have been logging on with it for a year or two.
When I tried to logon with either the regular or legacy client this morning I get an error message after putting in my username and password;
"Preparation phase of two-factor authentication failed"
and of course couldn't log on.
Happily in this case I was able to resolve the issue by getting my technician to login and reset my TOTP - but supposing his TOTP had also been corrupted, is there some command line approach to reset the TOTP?
Or is it just a question of following the lockout procedure, then once back in resetting TOTP?
1) stop netxms server
2) run
nxdbmgr reset-system-account
3) login specifying user system and password netxms
4) enable admin back
5) disable system user- Quote (https://www.netxms.org/forum/general-support/locked-myself-out/?action=post;quote=26782)
- More...
Yes, you can either request another admin user to reset it for you, or unlock and login as system.
But regarding TOTP - check server's time, maybe NTP stopped working and there is a drift.