Red Hat Bugzilla – Bug 82900
NIS domainname upper/lower case mismatch
Last modified: 2007-04-18 12:50:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; T312461)
Description of problem:
We have a NIS server running with NIS domain name KVI (upper case).
During the installation of RedHat 8.0 on a NIS client I typed the NIS domain
name (KVI) in capitals.
After installation in the reboot the NIS server lookup failed.
The information in /etc/yp.conf and also from 'nisdomainname' showed the domain
name as 'kvi'. Whereas the file /etc/sysconfig/network showed 'KVI'.
After using 'authconfig' (without changing anything) the domain name was set to
upper case and the NIS server was found.
But after a reboot the same problem arouse: NIS server lookup failed, because
of the lower/upper case mismatch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Just reboot
Actual Results: see description field
Expected Results: Keep the original upper/lower case NIS domain name.
Why does the RH8.0 'system' convert the NIS domain name to lower case during
the boot (but not everywhere)?
The NIS domain name is case sensitive (see the RFC)!
Reassigning to a more appropriate component, this issue has nothing to do with RHN.
While browsing through the system files I found a dhclient lease file that
showed the NIS domain name in lower case. Indeed our DHCP server returned that
option. After changing the DHCP configuration NIS domain option to upper case
the problem vanished.
I suppose RedHat 8.0 takes the NIS domain name from DHCP whereas the previous
versions we use (6.2 and 7.1) take the name typed in during installation.
RedHat 8.0 installation still asks for the NIS domain although DHCP is used.
So I didn't find out the changes directly ...