multiple domains

  • Thread starter Thread starter edvedafi
  • Start date Start date
E

edvedafi

I have a computer that is part of network A. There is a second NIC
used to connect to Network B. I am running an Apache server and need
to use perl to move a couple of folders when a user signs into a web
page. I can do this fine as long as the files are on the computer
located in network A. However I run into permision problems if I try
to access a network share on B. I can log in as the user that apache
is running under and map the drives just fine. For security reasons I
cannot set up a trust between the two domains. Is there a way to set
up a trust with just this one computer from Network A to Network B. Or
is this an Apache/Perl problem?
 
edvedafi said:
I have a computer that is part of network A. There is a second NIC
used to connect to Network B. I am running an Apache server and need
to use perl to move a couple of folders when a user signs into a web
page. I can do this fine as long as the files are on the computer
located in network A. However I run into permision problems if I try
to access a network share on B. I can log in as the user that apache
is running under and map the drives just fine. For security reasons I
cannot set up a trust between the two domains. Is there a way to set
up a trust with just this one computer from Network A to Network B. Or
is this an Apache/Perl problem?

No, but there is nothing stopping you from
logging on to one domain and also explicitly
authenticating to a different domain (with
another user account there.)

There are GUI mechanisms to do it, but here
is the command line version:

net use M: \\Server\Share * /user:DomainName\UserName

"DomainName" can also be a "ServerName" IF the
account is local to a particular machine.

You can also use '*' for a drive letter (M: above)
if you wish the system to just PICK a free drive
letter.
 
Thank you! I found that if I use the net use statement in a startup
script for the machine I seem to have the appropriate permissions and
it will work.

Thanks
Jason
 
Back
Top