Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-18 Thread Gareth Howell
On 17 May 2012, at 10:00, Gareth Howell wrote:

 Hi
 I asked this a day or so ago but got no responses. I'm posting again just in 
 case it just got missed.
 
 I have cygwin (latest) running on an XP machine. It needs to access two 
 workstations running Win95 and one running Win98.
 
 At the windows level, there are drive maps to the 'C' drives on the three 
 workstations as X:, Y: and Z: and the filesystems can be seen.
 Cygwin's fstab has lines to mount the same network shares (using UNC paths) 
 under the /mnt directory.
 
 The two Win95 shares and the single Win98 share show up just fine as type 
 vfat when I do a 'mount' when running cygwin terminal on the XP machine.
 If I log in remotely using ssh (as Administrator), the two Win95 shares show 
 up as before, but the Win98 share shows up as type unknown and I can't access 
 the filesystem. The same occurs if a job is run using the Administrator's 
 crontab.
 
 I can see it's probably a permissions issue, but I can't get to the bottom of 
 it or understand why the behaviour is different between Win95 and Win98.
 
 Any guidance would be welcome.
 
 Gareth

I've avoided the problem by accessing the three old machines via another proxy 
at the remote site. This one can see all three workstations OK over SSH.
There is a new problem now, but I'll start a new thread for that.

Gareth

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



RE: Can't access 'some' SMB network drives from ssh or cron

2012-05-18 Thread Matt Seitz (matseitz)
 From: Andrey Repin
 
 Greetings, Nick Lowe!
 
  Is SMB encrypted in this case?
 
 You need to make some serious configuration tweaking to make it NOT
 encrypted.

Are you referring to the authentication part of the SESSION_SETUP?

The only part of SMB that remember seeing encrypted are the
authentication credentials, either in SESSION_SETUP or when setting up
the trust relationship between domain controllers.  Everything else has
been unencrypted.



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



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Nick Lowe
Have you taken a Wireshark capture in both scenarios and looked for differences?

Nick

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



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Gareth Howell
On 17 May 2012, at 10:10, Nick Lowe wrote:

 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?
 
 Nick
 
Good idea, Nick, but no, I haven't. Unfortunately, I'm doing all this remotely 
from another site.

If I don't get anywhere, I'll try and get over there sometime and do that.

Gareth

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



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Andrey Repin
Greetings, Nick Lowe!

 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?

Wireshark capture of an encrypted stream is next to useless...


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 17.05.2012, 15:38

Sorry for my terrible english...


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



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Nick Lowe
 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?

 Wireshark capture of an encrypted stream is next to useless...

Is SMB encrypted in this case?

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



Re: Can't access 'some' SMB network drives from ssh or cron

2012-05-17 Thread Andrey Repin
Greetings, Nick Lowe!

 Have you taken a Wireshark capture in both scenarios and looked for 
 differences?

 Wireshark capture of an encrypted stream is next to useless...

 Is SMB encrypted in this case?

You need to make some serious configuration tweaking to make it NOT encrypted.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 17.05.2012, 18:34

Sorry for my terrible english...


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