Is it possible to add a change password function in the Hostmonitor webinterface?
Our operators are using the webinterface (only the operators that edit checks use RCC). They only have enable/disable rights and cannot connect with RCC.
Or even better, use MS Active Directory or a LDAP server to perform the website authentication.
Operators want to change their password via the webinterface
Pretty easy? Perhaps, but I cannot find that easy way.
RCC/Browser can be started anywhere (outside of your LAN, domain, Intranet) and you may need access from Internet. That's why RCC never sends password that can be decrypted. It uses hashed passwords. Windows does the same - it never stores passwords. And normally you (or HostMonitor) cannot get even hashed Windows passwords.
At the same time, most of authentication related Windows API functions require password in clean text format.
Probably we can use LsaLogonUser API but there are some difficulties as well... normally each user account is associated with two passwords: the LAN Manager-compatible password and the Windows password. Each password is encrypted and stored in the SAM database or in the Active Directory database. However any account might lack either the LAN Manager password or the Windows password.
Regards
Alex
RCC/Browser can be started anywhere (outside of your LAN, domain, Intranet) and you may need access from Internet. That's why RCC never sends password that can be decrypted. It uses hashed passwords. Windows does the same - it never stores passwords. And normally you (or HostMonitor) cannot get even hashed Windows passwords.
At the same time, most of authentication related Windows API functions require password in clean text format.
Probably we can use LsaLogonUser API but there are some difficulties as well... normally each user account is associated with two passwords: the LAN Manager-compatible password and the Windows password. Each password is encrypted and stored in the SAM database or in the Active Directory database. However any account might lack either the LAN Manager password or the Windows password.
Regards
Alex
Ok, we wasted about 3 weeks with no result. Actually authentification works fine on any Windows but we need encryption as well and that API works just fine on old Windows but we cannot make it work on Windows 2008/2012. According to manuals it should work but it doesn't... probably we will delay this task again.
Regards
Alex
Regards
Alex