[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9296.0. "uppercase hostnames and NIS" by MUNICH::CUZUM () Wed Mar 26 1997 07:02

Hi, NIS-wizards,

can NIS manage uppercase hostnames (in a dUNIX domain) ?

Regards,

Corina
T.RTitleUserPersonal
Name
DateLines
9296.1NIS doesn't careNETRIX::"[email protected]"Farrell WoodsWed Mar 26 1997 09:1420
NIS doesn't have any particular knowledge of the contents or format
of items in a given map.  So if you have a hosts file in the /var/yp/src
which contains an entry such as:

16.140.32.161	Marvin.zk3.DEC.COM Marvin

then the two keys that get created for this would be "Marvin" and
"Marvin.zk3.DEC.COM" (in hosts.byname)

That is to say, when the map gets created and pushed to the slaves,
and a client should then do a "ypmatch marvin hosts", it won't get
an answer.  But if you did "ypmatch Marvin hosts" it would.

So NIS is quite literal and doesn't attempt to canonicalize keys or
what's stored under them.


	-- Farrell

[Posted by WWW Notes gateway]
9296.2dUnix with HP-master doesn't workMUNICH::CUZUMWed Jun 04 1997 11:3728
    Just some interesting facts after a few tests:
    
    dUnix master with dUnix clients:
    no problems managing master host entries like:
    162.xx.yy.zz i58hp154 I58HP154 impi IMPI
    -> you can access the host using uppercase or lowecase notation
    
    Ultrix-Master with dUnix clients:
    -> you can access the host using uppercase or lowecase notation
    
    HP-Master with dUNix clients:
    -> you cannot access the host with an entry like above in the master's
       host file, when using uppercase notation
    
    but:
    HP-Master and SUN clients:
    -> no problem accessing a host with an entry like above, using the
       uppercase notation
    
    Has anyone the possibility to test if this is correct? Customer wants
    an escalation, but I have no possibilities to make tests with HP-UX or
    SUNs. Since everything works fine btw. dUnix and dUnix I told him,
    there are bad chances for an IPMT.
    
    Regards,
    
    Corina
    
9296.3SMURF::DANIELEThu Jun 05 1997 09:4914
If you're saying that

   given an entry in the hosts source file like

   	162.xx.yy.zz i58hp154 I58HP154 impi IMPI

   Digital UNIX NIS clients do not succeed in matching
   host "IMPI" when bound to an HP NIS server

I would say that's a bug in the HP server.

Check this by >ypmatch IMPI hosts

Mike