217 lines
3.5 KiB
HTML
217 lines
3.5 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Common Problems and Troubleshooting NIS
|
|
|
|
</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="The Linux NIS(YP)/NYS/NIS+ HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Changing passwords with rpasswd
|
|
"
|
|
HREF="rpasswdd.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Frequently Asked Questions
|
|
"
|
|
HREF="faq.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>The Linux NIS(YP)/NYS/NIS+ HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="rpasswdd.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="faq.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="TROUBLESHOOTING"
|
|
></A
|
|
>14. Common Problems and Troubleshooting NIS
|
|
|
|
</H1
|
|
><P
|
|
>Here are some common problems reported by various users:</P
|
|
><P
|
|
> <P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>The libraries for 4.5.19 are broken. NIS won't work with it. </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>If you upgrade the libraries from 4.5.19 to 4.5.24 then the
|
|
su command breaks. You need to get the su command from the
|
|
slackware 1.2.0 distribution. Incidentally that's where you
|
|
can get the updated libraries. </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>When a NIS server goes down and comes up again ypbind starts
|
|
complaining with messages like:
|
|
|
|
<TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="90%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> yp_match: clnt_call:
|
|
RPC: Unable to receive; errno = Connection refused</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
|
|
and logins are refused for those who are registered in the
|
|
NIS database. Try to login as root and kill
|
|
ypbind and start it up again. An update to ypbind 3.3 or higher
|
|
should also help. </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>After upgrading the libc to a version greater then 5.4.20, the YP tools
|
|
will not work any longer. You need yp-tools 1.2 or later for
|
|
libc >= 5.4.21 and glibc 2.x. For earlier libc version you need
|
|
yp-clients 2.2. yp-tools 2.x should work for all libraries. </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>In libc 5.4.21 - 5.4.35 yp_maplist is broken, you need 5.4.36 or later,
|
|
or some YP programs like ypwhich will segfault. </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>libc 5 with traditional NIS doesn't support shadow passwords over NIS.
|
|
You need libc5 + NYS or glibc 2.x.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>ypcat shadow doesn't show the shadow map. This is correct, the name of
|
|
the shadow map is shadow.byname, not shadow.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Solaris doesn't use always privileged ports. So don't use password
|
|
mangling if you have a Solaris client.</P
|
|
></LI
|
|
></OL
|
|
> </P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="rpasswdd.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="faq.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Changing passwords with rpasswd </TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Frequently Asked Questions </TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |