LFCS · Question #200
What schema files are required to make LDAP compatible to NIS? (Choose TWO correct answers.)
The correct answer is B. cosine.schema C. nis.schema. To enable LDAP compatibility with NIS, the cosine.schema and nis.schema files are required to define the necessary object classes and attributes.
Question
Options
- Amisc.schema
- Bcosine.schema
- Cnis.schema
- Dinetorgperson.schema
How the community answered
(50 responses)- A2% (1)
- B94% (47)
- D4% (2)
Why each option
To enable LDAP compatibility with NIS, the `cosine.schema` and `nis.schema` files are required to define the necessary object classes and attributes.
`misc.schema` contains various general-purpose schema elements but is not specifically required for NIS compatibility.
The `cosine.schema` provides fundamental object classes like `posixAccount` and `posixGroup`, which are essential for representing Unix-like user and group information that NIS systems rely upon. These definitions are building blocks for storing user accounts and groups in the directory.
The `nis.schema` specifically defines object classes and attributes (e.g., `nisMap`, `nisObject`, `nisNetgroup`) that enable an LDAP directory to store and serve Network Information Service (NIS) map data, allowing LDAP to function as a backend for NIS services.
`inetorgperson.schema` defines the `inetOrgPerson` object class, primarily used for representing internet-enabled organizational persons, and is not directly related to NIS functionality.
Concept tested: OpenLDAP NIS schema compatibility
Source: https://www.openldap.org/doc/admin24/slapdconf2.html
Topics
Community Discussion
No community discussion yet for this question.