Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: use a NAS-drive in cygwin Date: Thu, 22 Sep 2005 18:12:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: ----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/