Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows 2000 Question to Experts
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00398451
Message ID:
00398605
Views:
16
G'day Peter,

The way I approach this is to consider one domain my "home" domain (in this case, probably OTTNT1). When you're plugged in there, there's nothing else to do.

When you plug in to another domain (say OTT2), and you need to access resources on a member of that domain (let's say the computer's called OTT2PDC), connect to the IPC share of that member using the following command line:
NET USE \\OTT2PDC\IPC$ /u:OTT2\< username >
Now, you will have access to all the resources on OTT2PDC as if you were logged in as < username > on the OTT2 domain.

Check out the docs for other neat NET commands.

Cheers,

Andrew


>I have the following scenario:
>A domain in one office called OTTNT1
>
>A domain in the homeoffice called OTT2
>
>A peer networked office elsewere
>
>A laptop carried between the 3
>
>When I physically plug in my network cable and boot up I want to be able to select the domain I want to connect to depending on the location and have the laptop be authenticated and I need access to all resourses on the network I am connected to.
>As I am set up I see verything on OTTNT1 and only the laptop elsewhere.
>
>There must be a way to accommodate the raoming worrier.
>
>Peter


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform