delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C6572C4.4090501@bopp.net> |
Date: | Fri, 13 Aug 2010 11:28:52 -0500 |
From: | Jeremy Bopp <jeremy AT bopp DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Mounting shares that require passwords |
References: | <AANLkTinR+8hW_en3Em4Jga-hY-u6uMqw2_jYOQxwu8Mx AT mail DOT gmail DOT com> |
In-Reply-To: | <AANLkTinR+8hW_en3Em4Jga-hY-u6uMqw2_jYOQxwu8Mx@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
--------------enig4392340DF3E455A67B8ECB24 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 8/13/2010 11:24 AM, Steven Collins wrote: > Is there some way within cygwin to successfully mount a share that > requires a password. Until I run the "net use" command or other > Windows application to open the share with the password Cygwin is > unable to access it. The best I've come up with so far is to run the > "net use" from my .bashrc. Is there a better way to handle this? Cygwin doesn't really mount anything. It just creates a path translation table which is used to convert POSIX paths into their equivalent Windows paths. So if you need to enter a password to access the share using a Windows program or net use the path first, the same will be true for Cygwin. -Jeremy --------------enig4392340DF3E455A67B8ECB24 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAkxlcsYACgkQHt4KKRq6ZjeKUACdGrrJpYhJOBcIjTlawLeb/x7A 7UMAl2ipcrr9CBsHKzWD+8pMgBpOy68= =qaHv -----END PGP SIGNATURE----- --------------enig4392340DF3E455A67B8ECB24--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |