This is the mail archive of the cygwin@cygwin.com 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]

rshd children can't use sockets (they can't get at hostnames)


Folks,

network related commands fail when run as a rshd child process,
but succeed if run from rlogin to the same NT machine.

What is it about the rshd context that causes this behavior?
Is some subsystem not set up by rshd?

Thanks, Mark


$ rsh ryouko nslookup cygwin.com
*** Can't find server name for address 192.168.xxx.xx: No response from
server
*** Default servers are not available
*** UnKnown can't find cygwin.com: No response from server
Server:  UnKnown
Address:  192.168.xxx.xx

$ rsh ryouko clearlicense
clearlicense.exe: Error: Unknown host 'server23': [WINSOCK] Host not found
clearlicense.exe: Error: Unknown host 'server23': [WINSOCK] Host not found
clearlicense.exe: Error: Cannot contact license server host "server23".
$ 
$ rlogin ryouko
Passwd:

Fanfare!!!
You are successfully logged in to this server!!!

keil@RYOUKO
$ 

mkeil@RYOUKO
$ nslookup cygwin.com
nslookup cygwin.com
Non-authoritative answer:
Server:  zzz.yyy.com
Address:  192.168.xxx.xx

Name:    cygwin.com
Address:  205.180.83.71

$ clearlicense
Licensing information for ClearCase
(rest of info deleted, the command has succeeded)



--
Want to unsubscribe from this list?
Check out: 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]