196 lines
3.5 KiB
HTML
196 lines
3.5 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>NIS, NYS or 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="Glossary and General Information"
|
|
HREF="glossary.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="How it works"
|
|
HREF="operation.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="glossary.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="operation.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="WHICH"
|
|
></A
|
|
>3. NIS, NYS or NIS+ ?</H1
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN143"
|
|
></A
|
|
>3.1. libc 4/5 with traditional NIS or NYS ?
|
|
|
|
</H2
|
|
><P
|
|
>The choice between "traditional NIS" or the NIS code in the NYS library
|
|
is a choice between laziness and maturity vs. flexibility and love of
|
|
adventure.</P
|
|
><P
|
|
>The "traditional NIS" code is in the standard C library and has been
|
|
around longer and sometimes suffers from its age and slight
|
|
inflexibility.</P
|
|
><P
|
|
>The NIS code in the NYS library requires you to recompile the libc
|
|
library to include the NYS code into it (or maybe you can
|
|
get a precompiled version of libc from someone who has already done it).</P
|
|
><P
|
|
>Another difference is that the traditional NIS code has some support
|
|
for NIS Netgroups, which the NYS code doesn't. On the other hand
|
|
the NYS code allows you to handle Shadow Passwords in a transparent
|
|
way. The "traditonal NIS" code doesn't support Shadow Passwords over NIS.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN153"
|
|
></A
|
|
>3.2. glibc 2 and NIS/NIS+
|
|
|
|
</H2
|
|
><P
|
|
>Forgot all this if you use the new GNU C Library 2.x (aka libc6). It
|
|
has real NSS (name switch service) support, which makes it very flexible,
|
|
and contains support for the following NIS/NIS+ maps: aliases, ethers, group,
|
|
hosts, netgroups, networks, protocols, publickey, passwd, rpc, services
|
|
and shadow. The GNU C Library has no problems with shadow passwords over NIS.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN160"
|
|
></A
|
|
>3.3. NIS or NIS+ ? </H2
|
|
><P
|
|
>The choice between NIS and NIS+ is easy - use NIS+ only if you have
|
|
severe security needs. NIS+ is much more problematic to administer
|
|
(it's pretty easy to handle on the client side, but the server side
|
|
is horrible). Another problem is that the support for NIS+ under Linux
|
|
contains a lot of bugs and that the development has stopped.</P
|
|
></DIV
|
|
></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="glossary.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="operation.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Glossary and General Information</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>How it works</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |