On Wed, Mar 3, 2010 at 1:55 PM, Tech Only <stech.only(a)gmail.com> wrote:
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.
I am doing what you are doing. I specify the object like so
member: uid=ecapriolo, ou .....
member: uid=someoneelse, ou .....
# Change this to enforce different user login
I am not sure my usage of ipHost, device, extensibleObject is RFC correct.
I think some people are using groupOfUniqueNames. In any case Pam is
not checking that ipHostNumber matches or anything like that.
This gets the job down for me.