
Thanks for the input, Paul
I do know about using the “net use” command, and I have used it to authenticate to shares on this other domain.
What I am trying to do now is print from one domain to another. I haven’t been able to make “net use” work for printing. I *can* use the “manual” authentication method I mentioned above to establish a NetBIOS session (authenticated connection)to the remote domain (not mentioning a share name) and then I can print until any of my local machines has to be rebooted. My operators (Process Control domain) don’t know how to do this manual authentication (and don’t have authority anyway)– thus I need a way to do it via a machine startup script or bat file.

You could try ‘net use remoteservernameprintername /User:remotedomainnameremoteusername password’
This should get you connected. Based on your previous message, I don’t know if you’ve tried this or not. If you have, sorry for the redundancy.

Why not set up a trust relationship between the domains, then your local users will not need to sign onto the other domain - they will have access to the resources, including the printers.

This is a “Process Control” domain at a manufacturing facility and company policy is to NOT have trusts relationships between Process Control and the BizLAN.
Today I have been able to allow my (very restricted) operators to print from key applications to printers on the BizLAN network. The operators are restricted to the point that they cannot set up printers with their logon. I set up a default printer to LPT1 port and then used a logon batch file for the “operators” group policy like this: “net use LPT1 BizLAN_PrintServerBizLAN_Printer BizLAN_Password /user:BizLAN_DomainBizLAN_AccountName /persistent:no”
I also added firewall rules to let this communication take place between Process Control and the BizLAN.
Thanks to everyone for their input.

An important question is, what your security requirements are. How far can you trust your Bizz LAN? What are the risks, what is the impact of compromizing the Process Control environment?
If security is important:
- Don’t use Trusts between domains;
- Don’t allow NetBIOS traffic through the firewall;
- Don’t use passwords in scripts.
An option could be to use SSH with public key authentication.
Menno Tjoelker










