This discussion is archived
4 Replies Latest reply: Jan 18, 2007 6:32 PM by 807607 RSS

Network file share across domain with different login and password

807607 Newbie
Currently Being Moderated
Hi,
I am stuck on a problem for last two days . I have my application running in domain: domain_A and there are some other files in domain_B, which I need to access from my application (in domain_A).

The application is running under the user: user_1, who is a member of a group in domain_A but not domain_B. How can I access these files from my application in java code ? When I share these files and try to access these files I get logon failure . Looks like it tries to access the share in domain_B with user_1 login, which does not exist for domain_B.

Is there any way to specify login, password, domain etc etc ??

Thanks,
Prashant