search for: wins_nam

Displaying 1 result from an estimated 1 matches for "wins_nam".

Did you mean: wins_name
2002 Feb 15
3
ssh can't resolve hostnames thru WINS
...ory :-( I found that openssh use this snippet to convert hostname to ip: if((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) fatal("%s: %.100s: %s", __progname, host, gai_strerror(gaierr)); and it fails for me exactly in this if() when I say "ssh <wins_name>". OTOH, ping uses code similar to struct hostent *hp; hp = gethostbyname(hostname); and this works for WINS names. My openssh version: openssh-3.0.2p1 Will try to patch ssh, although I'm know nothing about network programming. Happy hacking, -- vda