Subject: Re: multi-user environment: mounting a lot of shares via ssh
From: Andreas Petralia <[email-masked]>
To: Cygwin List <[email-masked]>
Date: Tue, 21 Sep 2004 16:03:52 +0200

Larry Hall wrote:
> 
> At 09:36 AM 9/21/2004, you wrote:
> >hi
> >
> >while 'shares' can be mounted in a ssh session via 'net use' by a single
> >user, it seems that in a multi-user environment, the users have to make
> >sure, that they do not re-use already mapped drive letters.
> >
> >consider the following example:
> >
> >user A:
> >1. ssh <host>
> >2. net use h: \\\\computer\\A_home
> >3. ln -s /cygdrive/h /HOMES/A
> > --> ok
> >
> >user B:
> >1. ssh <host>
> >2. net use h: \\\\computer\\B_home
> > --> System error 85 has occurred.
> >     The local device name is already in use.
> >
> >question:
> >how can more than 26 users (user A, user B, ... user Z) mount their
> >HOME-directory?
> >is there a way to solve this problem?
> 
> Is that pubkey or password authentication?

password
 
> Why not use the UNC path directly instead?

because of the following reasons:

1.

i want to make the home-directories available in the directory /HOMES:
  /HOMES/A, /HOMES/B, /HOMES/C, ...
and i think it's not possible to link to a UNC path (eg. ln -s
<UNC_path> /HOMES/A) is it?

2. not every binary (tool) can handle UNC-paths

3. i would like to set up an environment, where *unix*-scripts+tools do
not have to know anything about UNC_paths.

regards,
andreas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/