ypcat hosts strange behaviour

When I run "ypcat hosts" command on a Solaris 2.4 system, all the entries appear as lower case. This only happens on this one system as far as I've seen so far. The Server is an AIX system.
wiseowlAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

richcastoCommented:
Are you saying that some of the entries are in the database in UPPER case? Hostnames in Unix are case-insensitive, so why does it matter?
0
wiseowlAuthor Commented:
It matters because I'm trying to add a network printer and the applications that use this printer have a standard of using upper case. Actually, I've worked around it by dissecting the script we have and manually adding the printer. However, I would still like to know why we are experiencing this. It works fine on other Solaris system that we have, even using the same OS.
0
jos010697Commented:
This might sound funny, but are you sure you didn't log in
using capital characters?

kind regards,

Jos aka jos@and.nl
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

df020797Commented:
Are the hosts entered with capital letters in the hosts file
of the NIS server?

0
df020797Commented:
Are the hosts entered with capital letters in the hosts file
of the NIS server?

0
df020797Commented:
Are the hosts entered with capital letters in the hosts file
of the NIS server?

0
df020797Commented:
Are the hosts entered with capital letters in the hosts file
of the NIS server?

0
df020797Commented:
Are the hosts entered with capital letters in the hosts file
of the NIS server?

0
braveheartCommented:
Executing "ypcat hosts" on any UNIX system on our site, including
HP-UX, OSF-1, AIX, Solaris, Ultrix, all give output in lower case
because that it is how it is stored in our NIS database. When I
log on to any other machine the case of the hostname is
immaterial. If you wish to retain the uppercase convention, you
could always use "tr" to translate the hostname to uppercase in
your print script.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wiseowlAuthor Commented:
Helped to fix my problem, though I still don't really know what's causing it.

0
wiseowlAuthor Commented:
Helped to fix my problem, though I still don't really know what's causing it.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.