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: RES: Problem accessing samba shares via ssh in XP


The "problem" is that logging with ssh with your username you are not really logged as your user (that has the network drives mapped) but, instead, as SYSTEM (that has no network drive map (also because it is not a network user)).

This also applies to telnet and to all the other mechanisms that, through Cygwin, allow you to log to your machine.

A workaround is to manually map the network drives manually (using NET USE) after you log with ssh.

Ciao,

Danilo

Felipe Franciosi wrote:
Some people replied directly to me reporting the same problem.

Does anyone have a solution???

[]s

--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
 Felipe Franciosi                      +55-51-91230557
 CPAD/HP/PUCRS – Centro de Pesquisa em Alto Desempenho
 http://www.cpad.pucrs.br/          ozzy@cpad.pucrs.br
 Porto Alegre, RS - Brazil
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

-----Mensagem original-----
De: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Em nome de
Felipe Franciosi
Enviada em: segunda-feira, 21 de novembro de 2005 20:41
Para: cygwin@cygwin.com
Assunto: Problem accessing samba shares via ssh in XP

Hello All,

I'm not sure if this has already been discussed here, but I couldn't find
anything related using google.

I have a WinXP box running cygwin and SSHD. In this XP, I have mounted some
shares exported by a linux box trough smb.


When I log in locally (e.g. run xterm -l) I see the shares in /cygdrive. But
I when I log in via ssh, they are simply not there...

See:

ozzy@Araucaria[~]
$ cd /cygdrive

ozzy@Araucaria[/cygdrive]
$ ls c/ d/ x/ y/ z/


ozzy@Araucaria[/cygdrive]
$ ssh localhost
ozzy@localhost's password: Last login: Mon Nov 21 19:48:08 2005 from localhost
Fanfare!!!
You are successfully logged in to this server!!!


ozzy@Araucaria[~]
$ cd /cygdrive

ozzy@Araucaria[/cygdrive]
$ ls
c/  d/

ozzy@Araucaria[/cygdrive]
$


Any ideas on what's going on ??


Thanks

p.s. Here is some weird debugging:

ozzy@Araucaria[~]
$ net use
Novas conexões serão lembradas.


Status Local Remoto Rede


----------------------------------------------------------------------------
---
OK           X:        \\jacaranda\ozzy          Rede Microsoft Windows
Desconectado Y:        \\jacaranda\public        Rede Microsoft Windows
OK           Z:        \\arrakis\franciosi       Rede Microsoft Windows

Comando concluído com êxito.


ozzy@Araucaria[~]
$ ssh localhost
ozzy@localhost's password: Last login: Mon Nov 21 20:36:15 2005 from
localhost
Fanfare!!!
You are successfully logged in to this server!!!


ozzy@Araucaria[~]
$ net use
Novas conexões serão lembradas.


Status Local Remoto Rede


----------------------------------------------------------------------------
---
Não disponív X:        \\jacaranda\ozzy          Rede Microsoft Windows
NÆo dispon¡v Y:        \\jacaranda\public        Rede Microsoft Windows
NÆo dispon¡v Z:        \\arrakis\franciosi       Rede Microsoft Windows

Comando concluído com êxito.


ozzy@Araucaria[~] $

Disregarding the codepages issue, here is some important translations:
"NÆo dispon¡v" is actually "Não disponível", which means "Unavailable".
"Desconectado" naturally stands for "Disconnected".


-- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Felipe Franciosi +55-51-91230557 CPAD/HP/PUCRS – Centro de Pesquisa em Alto Desempenho http://www.cpad.pucrs.br/ ozzy@cpad.pucrs.br Porto Alegre, RS - Brazil =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=



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





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


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