network share requesting user name and password

  • Thread starter Thread starter Cesare Landi
  • Start date Start date
C

Cesare Landi

Hello,
I need some help on the following issues:
a) would like selected users on a domain (w2k server) to be able to
access specific shared folders on the server allthough the computer is
logged with another user name.
As an example I would like Mike to go on John computer (currently
logged in as John) and be able to access the \\server\mike folder. The
computer should display a UN/PASS box for authentication.
Is this possible?

b) if there is a solution for a), how can I force the computer to
"forget" the authentication after a specific time on w2k clients?

Thank you in advance.

c.landi
 
Cesare Landi said:
Hello,
I need some help on the following issues:
a) would like selected users on a domain (w2k server) to be able to
access specific shared folders on the server allthough the computer is
logged with another user name.
As an example I would like Mike to go on John computer (currently
logged in as John) and be able to access the \\server\mike folder. The
computer should display a UN/PASS box for authentication.
Is this possible?

b) if there is a solution for a), how can I force the computer to
"forget" the authentication after a specific time on w2k clients?

Thank you in advance.

c.landi

Create a shortcut on John's desktop to invoke this batch file:

@echo off
net use M: \\server\mike /user:YourDomain\mike

Mike will now be prompted for his password. As to your
item b) - you could create a scheduled process that runs once
every 10 minutes. If it sees the connection during a particular
pass then it will close that connection during the next pass.
However, I do not think that such a schede is desirable. Users
don't like having their connections terminated. Furthermore
it will probably fail when there are open files on that share.
 
Pegasus said:
Create a shortcut on John's desktop to invoke this batch file:

@echo off
net use M: \\server\mike /user:YourDomain\mike

Mike will now be prompted for his password. As to your
item b) - you could create a scheduled process that runs once
every 10 minutes. If it sees the connection during a particular
pass then it will close that connection during the next pass.
However, I do not think that such a schede is desirable. Users
don't like having their connections terminated. Furthermore
it will probably fail when there are open files on that share.

In addition - I don't think the net use (alternate credentials) is going to
work if the John login has mapped drives using his own credentials.... It
will probably bring up "system error 1219" (multiple connections to a server
or shared resource by the same user, using more than one user name, are not
allowed....).

to the OP: Why do you feel the need to do this? Why not have Mike log in as
himself, or allow John permissions to the share?
 
I have a couple "Mike" users who hop from one computer to other
checking on "John" work, but sometimes need access to their "Mike"'s
protected folder.
Log-in and out every time simply is too slow and all John documents
would be closed.
 
Cesare said:
I have a couple "Mike" users who hop from one computer to other
checking on "John" work, but sometimes need access to their "Mike"'s
protected folder.
Log-in and out every time simply is too slow and all John documents
would be closed.

You can't have Mike connect to a share on the same computer as John's
connected to, using different credentials.
 
Back
Top