Turned off nscd and cannot authenticate to NIS. Userid is noot in local
passwd file. If I add him back, then I can logon using the local
password but not the NIS password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 11:13 AM
To: [email protected]
Subject: Re: NIS on Linux

Entirely agree.  It also offers some level of stability if the NIS
server
is momentarily unavailable.






RPN01 <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
03/22/2007 12:03 PM
Please respond to
Linux on 390 Port <[email protected]>


To
[email protected]
cc

Subject
Re: [LINUX-390] NIS on Linux






Don't forget to go back and start it again once you have things
stablized.
Without nscd, every request will cause a trip back to the server for
data.
Nscd's purpose is to shortcut these requests, speading up your system
and
cutting down on your network traffic. It is surprising just how much
traffic
is generated by shutting down nscd.


--
   .~.    Robert P. Nix             Mayo Foundation
   /V\    RO-OC-1-13                200 First Street SW
  /( )\   507-284-0844              Rochester, MN 55905
  ^^-^^   -----
        "In theory, theory and practice are the same, but
         in practice, theory and practice are different."




On 3/22/07 10:45 AM, "Jeremy Warren" <[EMAIL PROTECTED]> wrote:

> No reboot needed, if using SuSE it's just /etc/init.d/nscd stop
>
>
>
>
>
>
> "Stahr, Lea" <[EMAIL PROTECTED]>
> Sent by: Linux on 390 Port <[email protected]>
> 03/22/2007 11:15 AM
> Please respond to
> Linux on 390 Port <[email protected]>
>
>
> To
> [email protected]
> cc
>
> Subject
> Re: [LINUX-390] NIS on Linux
>
>
>
>
>
>
> Do I need to reboot after turning off nscd? Or kill the pids?
>
> Lea Stahr
> Linux/Unix Team
> 630-753-5445
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeremy Warren
> Sent: Thursday, March 22, 2007 10:05 AM
> To: [email protected]
> Subject: Re: NIS on Linux
>
> I would also turn off nscd if it's running until you were sure things
> were
> working right.
>
> jrw
>
>
>
>
> "Stahr, Lea" <[EMAIL PROTECTED]>
> Sent by: Linux on 390 Port <[email protected]>
> 03/22/2007 10:52 AM
> Please respond to
> Linux on 390 Port <[email protected]>
>
>
> To
> [email protected]
> cc
>
> Subject
> Re: [LINUX-390] NIS on Linux
>
>
>
>
>
>
> I have the + entries, do not use shadow, I tried compat and it did not
> work. I will add the 3 entries you have for nis and try that. Thanks!
>
> Lea Stahr
> Linux/Unix Team
> 630-753-5445
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeremy Warren
> Sent: Thursday, March 22, 2007 9:47 AM
> To: [email protected]
> Subject: Re: NIS on Linux
>
> Try compat for your nsswitch.conf
>
> example:
>
> passwd: compat
> group:  compat
> shadow: compat
>
> password_compat: nis
> group_compat:    nis
> shadow_compat:   nis
>
>
> And just double checking you do have the + entries in passwd,
shadow(if
> applicable), and group..
>
> jrw
>
>
>
>
>
>
>
> "Stahr, Lea" <[EMAIL PROTECTED]>
> Sent by: Linux on 390 Port <[email protected]>
> 03/22/2007 10:40 AM
> Please respond to
> Linux on 390 Port <[email protected]>
>
>
> To
> [email protected]
> cc
>
> Subject
> Re: [LINUX-390] NIS on Linux
>
>
>
>
>
>
> I have NSSWITCH.CONF set to FILES then NIS for both password and
group.
> I have HOSTS set to FILES the NIS then DNS. I can see the passwd
entries
> and YPWHICH shows the server. I cannot logon using either the NIS
> password or the local password.
>
> Lea Stahr
> Linux/Unix Team
> 630-753-5445
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeremy Warren
> Sent: Thursday, March 22, 2007 9:32 AM
> To: [email protected]
> Subject: Re: NIS on Linux
>
> The real trick with PAM is to make sure that nsswitch is configured to
> allow the userid's to appear.
>
> If you issue:
> getent passwd
>
> do you see your NIS users too?
>
> If not then your nsswitch.conf and/or nscd may need to be
reconfigured.
>
> once getent is working, pam should not have any issues, although you
> might
> need to tweak the pam stack to handle if the NIS server is
unavailable.
>
>
>
>
>
> "Stahr, Lea" <[EMAIL PROTECTED]>
> Sent by: Linux on 390 Port <[email protected]>
> 03/22/2007 10:04 AM
> Please respond to
> Linux on 390 Port <[email protected]>
>
>
> To
> [email protected]
> cc
>
> Subject
> [LINUX-390] NIS on Linux
>
>
>
>
>
>
> I am trying to startup NIS usage on both SuSE and Red Hat. They are
> connecting to an HP-UX Unix master server. I have followed the
> instructions and can do a YPWHICH, but the HP-UX system does not allow
> me to authenticate because we (by default) use PAM. Can someone point
me
> to a source of info to either turn off PAM on these systems or
configure
> PAM to allow HP-UX connection? I appreciate any help.
>
> Lea Stahr
> Linux/Unix Team
> 630-753-5445
> [EMAIL PROTECTED]
>
>
>
> CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
> and/or documents linked to this email, are intended for the
> addressee and may contain information that is privileged,
> confidential, proprietary, or otherwise protected by law.  Any
> dissemination, distribution, or copying is prohibited.  This
> notice serves as a confidentiality marking for the purpose of
> any confidentiality or nondisclosure agreement.  If you have
> received this communication in error, please contact the
> original sender.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
> CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
> and/or documents linked to this email, are intended for the
> addressee and may contain information that is privileged,
> confidential, proprietary, or otherwise protected by law.  Any
> dissemination, distribution, or copying is prohibited.  This
> notice serves as a confidentiality marking for the purpose of
> any confidentiality or nondisclosure agreement.  If you have
> received this communication in error, please contact the
> original sender.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
> CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
> and/or documents linked to this email, are intended for the
> addressee and may contain information that is privileged,
> confidential, proprietary, or otherwise protected by law.  Any
> dissemination, distribution, or copying is prohibited.  This
> notice serves as a confidentiality marking for the purpose of
> any confidentiality or nondisclosure agreement.  If you have
> received this communication in error, please contact the
> original sender.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
> CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
> and/or documents linked to this email, are intended for the
> addressee and may contain information that is privileged,
> confidential, proprietary, or otherwise protected by law.  Any
> dissemination, distribution, or copying is prohibited.  This
> notice serves as a confidentiality marking for the purpose of
> any confidentiality or nondisclosure agreement.  If you have
> received this communication in error, please contact the
> original sender.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to