Bug 159214

Summary: authconfig makes broken yp.conf with multiple nis servers
Product: Red Hat Enterprise Linux 4 Reporter: Chuck Berg <cberg>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: juanino, s.traylen, tao, vanhoof
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0376 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-03 21:34:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 187538    

Description Chuck Berg 2005-05-31 17:15:43 UTC
authconfig generates a bad yp.conf it is missing and you specify multiple NIS
servers:

# rm -f /etc/yp.conf
]# /usr/sbin/authconfig --enablenis --nisdomain foo --nisserver nis1,nis2
--kickstart --nostart
# cat /etc/yp.conf
domain foo server nis1,nis2
# /usr/sbin/authconfig --enablenis --nisdomain foo --nisserver nis1,nis2
--kickstart --nostart
# cat /etc/yp.conf
domain foo server nis1
ypserver nis2

Comment 3 Jay Turner 2005-06-09 18:25:27 UTC
QE ack.  Easily tested and would be good to get fixed.

Comment 4 Jerry Uanino 2005-07-08 19:26:02 UTC
I'm also interested in getting this fixed one day.

Comment 17 Red Hat Bugzilla 2006-05-03 21:34:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0376.html


Comment 19 Shawn Starr 2006-10-17 20:12:45 UTC
Is that correct? Isn't the following configuration supposed to be done:

# /usr/sbin/authconfig --enablenis --nisdomain foo --nisserver 
nis1,nis2 --kickstart --nostart

'expected result' :

# cat /etc/yp.conf
domain foo server nis1
domain foo server nis2

If you want to have two NIS servers on one domain for example?