This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mounting shares that require passwords


On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp <> wrote:
> 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
>
>

It would be nice though if Cygwin would recognize that it was trying
to access a share and that a password is required.

I've actually run into an issue with my "net use" solution. Under
cygwin the command will prompt me for my password, but then it
immediately fails for a bad password. I'm never actually given a
chance to enter the password. If I enter the password on the command
line the command succeeds, but that is not an acceptable solution as
it means my password is in the clear. Any ideas on why this is
happening?

Regards,
Steven

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]