if u are not familiar like me with the whole structural and so on classes, try "Apache Directory Studio" as ldap-admin tool.
It recommends those classes so you don't have to worry about them.
Besides, its in generally an outstanding ldap-admin tool, the best i've seen so far.


Project Website: http://directory.apache.org/studio/

On Wed, Mar 3, 2010 at 19:55, Tech Only <stech.only@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

dn: cn=mldap,ou=hosts,dc=aaa
objectClass: ipHost
cn: mldap

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.

Please help!!!!!!

To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is to do -- Sartre | Do be do be do -- Sinatra