Youc an also use KiXforms to create a custom username/password dialog box that mimicks the standard Windows dialog boxes.

however, would it not be easier to establish some kind of trust between the two domains, thus allowing users in the one domain to use their own credentials to authenticate against the other domain?

I woudl not like any solution that stores an account password in a text file or other easily accessible location.
_________________________
There are two types of vessels, submarines and targets.