pingcastle
pingcastle copied to clipboard
Bug: Wrong --foreigndomain parameter ignored
A wrong --foreigndomain parameter like e.g. PingCastle.exe --foreigndomain doesnt_exist.no --healthcheck
is ignored and the default domain is scanned.
Alse there's no indication of the problem in the output, the only telling sign is the total number of objects found in the domain.
Preferred behavior should be to exit, if the foreign domain can't be found. Second best an error message.