From: Jonathan Birchall (Jonathan.Birchall@ins-sure.com)
Date: Thu Apr 21 2005 - 09:19:09 EDT
Hello All,
I have an interesting problem regarding ssh 3.9p1.
When I try and connect to a remote host I get the wrong IP address
returned for the server ( correct address as far as the machine is
concerned but the machine is NAT'd).
Using Sol 8 Generic_117350-22.
My local hosts file contains the IP host mapping I need to use.
Nsswitch.conf
hosts files ldap
ldap server returns both nat'd address and box address in that order.
Getent hosts host returns
Host file
Ldap nat'd IP
Box IP
Ssh does not seem to be using the hosts file and only taking the last ip
from ldap lookup.
This also happens with ping but not telnet.
I know that gethostbyname returns result by network so the order in
which they are returned makes sense, but the fact that the /etc/hosts
file seems to be ignored isn't.
Has anyone seen this or know what is causing it.
Thanks in advance
Jonathan Birchall
-------------------------------------------------
Xchanging Ins-sure Services
6th Floor
34 Leadenhall Street
London
EC3A 1AX
United Kingdom
-------------------------------------------------
email: jonathan.birchall@xchanging.com
direct: +44 (0)20 7780 5329 (direct)
mobile: +44 (0)7795 272196
switch: +44 (0)20 7780 6999
www: http://www.xchanging.com <http://www.xchanging.com/>
-------------------------------------------------
-----------------------------------------------------------------------------
-----------------
Did you know?
Xchanging manage over 450,000 claims a year for the London Insurance Market,
to a combined value of 10 billion pounds.
Xchanging settle over 62 billion pounds of insurance business between over 300
companies in a global customer network.
Visit www.xchanging.com for more details
-----------------------------------------------------------------------------
-----------------
-----------------------------------------------------
THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL
AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE.
IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU ARE ON
NOTICE OF ITS STATUS.
PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE THIS
EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM.
YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY
PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER PERSON:
TO DO SO COULD BE A BREACH OF CONFIDENCE
EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND UNAUTHORISED
AMENDMENT,
AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR
AMENDMENT OR THE CONSEQUENCES THEREOF.
WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR NETWORK FOR
VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES.
WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A VIRUS IN
ANY EMAIL OR ATTACHMENT.
-----------------------------------------------
postmaster@ins-sure.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:34 EDT