How To Install slapi-nis on Fedora 36

In this tutorial we learn how to install slapi-nis in Fedora 36. slapi-nis is NIS Server and Schema Compatibility plugins for Directory Server

Introduction

In this tutorial we learn how to install slapi-nis on Fedora 36.

What is slapi-nis

This package provides two plugins for Red Hat and 389 Directory Server. The NIS Server plugin allows the directory server to act as a NIS server for clients, dynamically generating and updating NIS maps according to its configuration and the contents of the DIT, and serving the results to clients using the NIS protocol as if it were an ordinary NIS server. The Schema Compatibility plugin allows the directory server to provide an alternate view of entries stored in part of the DIT, optionally adding, dropping, or renaming attribute values, and optionally retrieving values for attributes from multiple entries in the tree.

We can use yum or dnf to install slapi-nis on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install slapi-nis.

Install slapi-nis on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install slapi-nis using dnf by running the following command:

sudo dnf -y install slapi-nis

Install slapi-nis on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install slapi-nis using yum by running the following command:

sudo yum -y install slapi-nis

How To Uninstall slapi-nis on Fedora 36

To uninstall only the slapi-nis package we can use the following command:

sudo dnf remove slapi-nis

slapi-nis Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/b0a4d5dd4276b395c3d7b93114bc132402074d
/usr/lib/.build-id/62
/usr/lib/.build-id/62/0c29de19a60f99508c5b28556963ac7a407056
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/8b997319e16a2946a8defde3ac64ca2adf1ca3
/usr/lib64/dirsrv/plugins/nisserver-plugin.so
/usr/lib64/dirsrv/plugins/schemacompat-plugin.so
/usr/sbin/nisserver-plugin-defs
/usr/share/doc/slapi-nis
/usr/share/doc/slapi-nis/COPYING
/usr/share/doc/slapi-nis/NEWS
/usr/share/doc/slapi-nis/README
/usr/share/doc/slapi-nis/STATUS
/usr/share/doc/slapi-nis/betxn-notes.txt
/usr/share/doc/slapi-nis/format-specifiers.txt
/usr/share/doc/slapi-nis/ipa
/usr/share/doc/slapi-nis/ipa/nis-migration.txt
/usr/share/doc/slapi-nis/ipa/sch-ipa.txt
/usr/share/doc/slapi-nis/nis-configuration.txt
/usr/share/doc/slapi-nis/nis-getting-started.txt
/usr/share/doc/slapi-nis/nis-known-maps.txt
/usr/share/doc/slapi-nis/nis-plugin-example.ldif
/usr/share/doc/slapi-nis/sch-configuration.txt
/usr/share/doc/slapi-nis/sch-getting-started.txt
/usr/share/doc/slapi-nis/sch-plugin-example.ldif
/usr/share/man/man1/nisserver-plugin-defs.1.gz

References

Summary

In this tutorial we learn how to install slapi-nis on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).