NIS+

NIS+

NIS+ is a directory service developed by Sun Microsystems to replace its older 'NIS' (Network Information Service). It is designed to eliminate the need for duplication across many computers of configuration data such as user accounts, host names and addresses, printer information and NFS disk mounts on individual systems, instead using a central repository on a master server, simplifying system administration. NIS+ client software has been ported to other Unix and Unix-like platforms.

Prior to the release of Solaris 9 in 2002, Sun announced its intent to remove NIS+ from Solaris in a future release and now recommends that customers instead use an LDAP-based lookup scheme. NIS+ was present in Solaris 9 and 10 (although both releases include tools to migrate NIS+ data to an LDAP server)[1] and it has now been removed from the OpenSolaris trunk.[2]

Contents

NIS vs. NIS+

NIS and NIS+ are only similar in their purpose and name; otherwise, they have completely different implementations. They differ in the following ways:

  • NIS+ is hierarchical.
  • NIS+ is based around Secure RPC (servers must authenticate clients and vice-versa).
  • NIS+ may be replicated (replicas are read-only).
  • NIS+ implements permissions on directories, tables, columns and rows.
  • NIS+ also implements permissions on operations, such as being able to use nisping to transfer changed data from a master to a replica.

The problem of managing network information

In the 1970s, when computers were expensive and networks consisted of a few nodes, administering network information for a few nodes was manageable and a centralized system was not needed. As computers became cheaper and networks grew larger, it became increasingly more difficult to maintain separate copies of network configurations on every individual system.

For example, whenever a new user was added to the network, the following files would need to be updated on every existing system:

File Sample entry Information
/etc/passwd numiri:x:37:4:Sebastian Nguyen:/home/numiri user name, home directory, ...
/etc/shadow numiri:1AD3ioUMlkj234k: encrypted password

Likewise /etc/group would have needed updating every time a new group was added and /etc/hosts would have needed updating every time a new computer was added to the network.

If a new user with a new system is added to a network of 20 existing systems, the UNIX administrator would need to modify 5 files on 21 machines, or 105 files in all. With NIS+, adding user and machines to the network only requires changes to the NIS+ server's maps and the new host’s /etc/nsswitch.conf needs to point to the NIS+ server. When a user logs into any other machine, that host (the NIS+ client), knowing who the NIS+ server is, queries it for the username and password to identify and authenticate the user.

NIS+ also manages several other types of data: NFS mounts (auto_master, auto_home), network booting and other parameters (bootparams, ethers, netmasks, netgroup, networks, protocols, rpc, services), security access (cred), aliases, and timezone.

An installation of NIS+ comes with such table structures predefined. There are facilities available to create other tables as needed.

Alternatives

Other alternative schemes for storing network information exist, such as the LDAP standard maintained by the IETF, including Microsoft’s LDAP implementation, Active Directory. LDAP can be configured to handle more general information, such as corporate employee structures, phone numbers, address, etc. so it requires more thought and planning. Many organizations require all the features of NIS+, LDAP, and Active Directory and run them all simultaneously.

Another alternative that has been popular in certain environments is the Hesiod name service, which is based on the DNS protocols.

NIS+ client/server model

Unlike NIS, NIS+ uses a hierarchical structure of multiple domains. A NIS+ domain can, and should, be serviced by multiple servers. The primary server is known as the master server, and backup servers are known as replica servers. Both types hold copies of the NIS+ tables. Changes are first committed to the master server and then propagated to replica servers in increments.

NIS+ table permissions determine a user's level of access to the table's contents.

See also

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • NIS+ — NIS+  служба каталогов, разработанная корпорацией Sun Microsystems для замены Network Information Service (NIS). NIS+ не требует дублирования конфигурационных файлов, вместо этого используется центральный репозиторий на главном сервере, что… …   Википедия

  • Nis — ist ein: Vorname, hauptsächlich gebräuchlich an der deutschen Nordseegrenze. Bekannte Figuren der Literatur mit diesem Namen: Nis Randers und Nis Puk. Der im nördlichen Deutschland verbreitete Nachname Nissen bedeutet soviel wie Nis s Sohn. Nis… …   Deutsch Wikipedia

  • NIS — may refer to: Nickel sulfide NiS Nis or NIS may refer to: Niš, a city in south eastern Serbia. Ness, Western Isles (Scottish Gaelic: Nis), a village in the Outer Hebrides islands. In politics and government: New Israeli Shekel, the currency unit… …   Wikipedia

  • Niš —   [niːʃ], Nisch [nɪʃ, niːʃ], Stadt in Serbien, Jugoslawien, 207 m über dem Meeresspiegel, an der Nišava nahe der Mündung in die Südliche Morava, 175 400 Einwohner; Universität (gegründet 1965), Bibliothek, Museum. Niš ist der wirtschaftliche… …   Universal-Lexikon

  • Nisəqələ —   Municipality   …   Wikipedia

  • NIŠ — (Lat. Naissus), town and important communications center in Serbia. Jews lived in Niš apparently from Roman times but there are no documents to confirm their presence before the 17th century. The disappearance of Jacob, a wool trader, was noted… …   Encyclopedia of Judaism

  • NIS — steht für: einem Vornamen, Kurzform von Dionysios die serbische Stadt Niš eine Kurzform von Nikolaus (dies gilt nur für den serbischen Ableger des Namens, der norddeutsche stellt keinerlei Abkürzung dar) NIS ist die Abkürzung für: Naftna… …   Deutsch Wikipedia

  • NIS — NIS: Network Information Service  служба, разработанная Sun Microsystems. New Israeli Sheqel (рус. новый израильский шекель, ивр. שקל חדש‎‎, «шекель хадаш»)  код валюты Израиля. Norton Internet Security  пакет безопасности… …   Википедия

  • NIS — National Indicator Set (NIS) England, Wales A set of 198 National Indicators introduced following the Government s Comprehensive Spending Review in 2007. Since 1 April 2008 the NIS has been the only set of indicators by which local authorities… …   Law dictionary

  • Niš — Nis / Nisch (German), Nis / Nish (English, French), Ниш / Niš (Serbian), Ниш (Bulgarian), Niŝo (Esperanto), Nisz (Polish), Nix (Asturianu) …   Names of cities in different languages

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”