
Connection Manager and password reset
One thing I know for sure: The first connection is made with the account used to start HostMonitor. There is no other connection (successfull or failed). HostMonitor just doesn't make the connection with the credentials supplied.
Since there are more application who are able to connect to a remote machine using a different account, I'm sure you will find the right method to connect to a remote machine.
Since there are more application who are able to connect to a remote machine using a different account, I'm sure you will find the right method to connect to a remote machine.

This implies there should be at least two login attempts: One from HostMonitor, which is dropped and then the one from Windows. Like I said before, there is only one.Connection Manager uses correct account, Windows uses another one
You do not understand. HostMonitor does not perform connection by itself. HostMonitor uses Windows API, it says "I need connection to that system using this user name and this password". Windows says "Ok" and uses different user name and password.This implies there should be at least two login attempts: One from HostMonitor, which is dropped and then the one from Windows. Like I said before, there is only one.
Regards
Alex
There's no file at that address. I'd be happy to test it if it were there.Posted: Thu Apr 01, 2004 7:16 am Post subject:
--------------------------------------------------------------------------------
Quote:
The message is titled "HostMonitor", says "Invalid pointer operation." and has an "OK" button. Spelling, spacing, Caps, etc were preserved.
Finally I found it. There is update at www.ks-soft.net/hostmon.eng/hm441.zip
Regards
Alex
Tried the following:
1. Created a seperate account on a remote machine
2. Added the server name as a resource for the remote machine, using the new account (in Connection Manager).
3. Changed the new password with the password generator (OK)
3. Changed the password for the account HostMonitor is running under on the remote machine (so login should fail)
4. Started the test for the remote machine
This what happened at the remote machine:
1. After starting the test, a login failure appears for the account HostMonitor is running under (OK, is changed so should not work)
2. Successfull login attempt with the new seperate account is made and the tests are performed
After 10 minutes (the test interval)
1. A login failure appears for the account HostMonitor is running under (OK, is changed so should not work)
2. HostMonitor goes to the "bad" status! No login attempts with the new seperate account is tried!
After this, changing the password for the new account, using the password generator shows a login failure for the HostMonitor account followed by a succesfull login of the new seperate account. The password is changed successfully!
Setting is to reconnect when needed and to log for failed authentication attempts (log file is not present)
Anybody any clue??
1. Created a seperate account on a remote machine
2. Added the server name as a resource for the remote machine, using the new account (in Connection Manager).
3. Changed the new password with the password generator (OK)
3. Changed the password for the account HostMonitor is running under on the remote machine (so login should fail)
4. Started the test for the remote machine
This what happened at the remote machine:
1. After starting the test, a login failure appears for the account HostMonitor is running under (OK, is changed so should not work)
2. Successfull login attempt with the new seperate account is made and the tests are performed
After 10 minutes (the test interval)
1. A login failure appears for the account HostMonitor is running under (OK, is changed so should not work)
2. HostMonitor goes to the "bad" status! No login attempts with the new seperate account is tried!
After this, changing the password for the new account, using the password generator shows a login failure for the HostMonitor account followed by a succesfull login of the new seperate account. The password is changed successfully!
Setting is to reconnect when needed and to log for failed authentication attempts (log file is not present)
Anybody any clue??
Interesting who/what dropped connection between 1st and 2nd tests? HostMonitor does not do that.2. Successfull login attempt with the new seperate account is made and the tests are performed
After 10 minutes (the test interval)
1. A login failure appears for the account HostMonitor is running under (OK, is changed so should not work)
2. HostMonitor goes to the "bad" status! No login attempts with the new seperate account is tried!
Regards
Alex
I checked following test methods:
- Folder/File Size
- File/Folder Availability
- File Integrity
- Process
- Service
- CPU
- File Compare
- UNC
Code is correct.
What test did you check?
BTW:
Note #1: If application calls Windows API to perform connect (using WNetAddConnection2 function) and attempt fails, Windows ignores following calls for some time. I don't know what exactly timeout because its not documented but its how my Windows 2000 system works.
Probably different Windows works in different way, I don't know. Have not seen any information in Microsoft docs.
Note #2: Connection Manager has its own cache with 3 sec timeout. So, if HostMonitor starts test and cannot connect to remote system, it does not perform another connection to the same system using the same account (and password) within 3 sec.
Regards
Alex
- Folder/File Size
- File/Folder Availability
- File Integrity
- Process
- Service
- CPU
- File Compare
- UNC
Code is correct.
What test did you check?
BTW:
Note #1: If application calls Windows API to perform connect (using WNetAddConnection2 function) and attempt fails, Windows ignores following calls for some time. I don't know what exactly timeout because its not documented but its how my Windows 2000 system works.
Probably different Windows works in different way, I don't know. Have not seen any information in Microsoft docs.
Note #2: Connection Manager has its own cache with 3 sec timeout. So, if HostMonitor starts test and cannot connect to remote system, it does not perform another connection to the same system using the same account (and password) within 3 sec.
Regards
Alex