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 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: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4392340DF3E455A67B8ECB24" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 --------------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--