delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/22/13:13:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: use a NAS-drive in cygwin
Date: Thu, 22 Sep 2005 18:12:42 +0100
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0509221238130.11579@slinky.cs.nyu.edu>
Message-ID: <SERRANOxOjIL2jpWkfb000001de@SERRANO.CAM.ARTIMI.COM>

----Original Message----
>From: Igor Pechtchanski
>Sent: 22 September 2005 17:40


>> (Or you can omit the password and will be prompted to enter it at the
>> keyboard).
> 
> Actually, you can't omit it, you have to specify '*' as the password
> (i.e.,
> 
> net use '\\server\share' '/U:DOMAIN\UserName' '*'
> 
> will prompt for the password).

  You didn't actually _try_ this before attempting to correct me, did you?
I do this kind of thing a dozen times a week, specifically because I want to
connect to a share with a different user ID than what I'm logged into the
domain under.  Trust me: if it didn't work, I would have noticed.

dk AT mace ~/dosfstools/dosfstools-2.11/mkdosfs> net use \\\\ulupica\\SCRATCH
/U:ARTIMI_CAM\\Administrator
The password or user name is invalid for \\ulupica\SCRATCH.

Enter the password for 'ARTIMI_CAM\Administrator' to connect to 'ulupica':
The command completed successfully.

dk AT mace ~/dosfstools/dosfstools-2.11/mkdosfs> whoami
dk




   LOOK MA!  NO ASTERISK!!          :)


[  If you don't supply an asterisk or a password, it attempts to use your
own login p/w, and then prompts you when that fails.  If your own login p/w
happens to match the one of the user you're trying to connect to the
resource as, hey, you just saved yourself some typing!  ]


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019