public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Mounted NAS, net use and shared drive paths
@ 2014-10-23  8:27 igerard
  0 siblings, 0 replies; only message in thread
From: igerard @ 2014-10-23  8:27 UTC (permalink / raw)
  To: cygwin

Well I am using cygwin for my continuous build/test integration system.

And I meet a lot of issue with the use of the mounted NAS

Because the behaviours are not repeatable it is hard to see a pattern,
sometimes it does work, sometimes not...

First to describe the context :

- I have cygwin installed on a Windows Server 2012 server and Seven on my
work laptop, and the behaviour are the same.

- My ssh is configured with cg_server user

- We have a NAS where I make our builds

- cygwin version : CYGWIN_NT-6.2 ... 1.7.32(0.274/5/3) 2014-08-13 23:06
x86_64 Cygwin

Mainly the way my scripts works is to do something like that :

-----
cd //mynas/myshare/mybuildfolder
...
call script for builds and tests
...
-----

I run several plans which use the same patterns, and the "cd" command,
sometimes does work and sometimes it fails...

I tried to ensure that the mount was made before with the credential,
calling a script which make the right net use command, it seemed to work but
fails sometimes but it fails also often.

And I get when it does not work, the status 'Disconnected' in the 'net use'
output, sometimes others failures as 'network nor available' and other funny
things ;)

$ net use '\\aServer\aSharePoint' /user:aServer\\aLogin aPassword
Local name
Remote name       \\ aServer\aSharePoint
Resource type     Disk
Status            Disconnected
...


Maybe someone has some precises things to say abut this very complex
mechanic...

Thanx in advance.

Gerard



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Mounted-NAS-net-use-and-shared-drive-paths-tp112108.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-23  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-23  8:27 Mounted NAS, net use and shared drive paths igerard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).