I am trying to add hosts to the LDAP server for more control on logins.
I have nis.schema in the slapd.conf file. Below is host.ldif file
When I try to add it I get following error.
ldap_add: Object class violation (65)
additional info: no structural object class provided
My aim is to add all the network servers under ou=hosts, and then assign access to users depending on the need.