Bug 67401

Summary: nsswitch.conf need not contain nisplus by default
Product: [Retired] Red Hat Linux Reporter: Joshua Jensen <joshua>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: fweimer, nalin
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.2-27.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-17 18:49:35 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:

Description Joshua Jensen 2002-06-24 14:53:26 UTC
Description of Problem:

"nisplus" is virtually never used, but always in /etc/nsswitch.conf.  Why?
Couldn't we eliminate the overhead of referencing nisplus for the 99.99% of
machines that don't use it?  For that matter, could we add "nisplus nis" _only_
NIS is enabled via authconfig?  This seems like it addresses more of the
authentication scenerios, more of the time.

Version-Release number of selected component (if applicable):

Milan, beta 2

Comment 1 Nalin Dahyabhai 2002-06-24 14:56:30 UTC
authconfig will add NIS to nsswitch.conf, but because it can not configure
nisplus, it leaves nisplus in nsswitch.conf if it finds it there.

Comment 2 Joshua Jensen 2002-06-24 17:08:19 UTC
I understand that authconfig will leave nisplus there if its *already* there...
this is as it should be.  My argument is against it being there by default.  If
someone adds it, sure:  leave it there.  

But... if nisplus can't be configured in any other way than manually, why not
have the administrator configure the machine for nisplus and add "nisplus" to
nsswitch.conf themselves.  Since we can't setup nisplus through authconfig, why
do the first 5% of the job ourselves, when %99.99 percent of RHL machines will
pay a small penality because of it?

If we are already telling NIS+ admins that they have to set it up themselves...
we wouldn't really inconvenience them by not adding a step that we shouldn't be
doing for the vast majority of machines anyway.

My 2,

Joshua



Comment 3 Jakub Jelinek 2002-07-01 11:58:10 UTC
Shouldn't authconfig at least allow checking whether or not to use NIS+ and
tell what needs to be done to configure NIS+?

Comment 4 Joshua Jensen 2003-02-12 00:19:40 UTC
The new beta still has the same issue... why list it if has to be setup manually
anyway?

Comment 5 Ulrich Drepper 2003-04-17 18:49:35 UTC
At least the current release doesn't use use nisplus anymore.  Therefore I close
this bug.