KVM Over the NET™ User Manual

Using the New Schema

To use the new schema, do the following:

1.Save the new schema file (e.g., kn4140.schema) in the /OpenLDAP/schema/ directory.

2.Add the new schema to the slapd.conf file (in the /OpenLDAP directory), as shown in the figure, below:

3.Restart the LDAP server.

4.Write the LDIF file and create the database entries in init.ldif with the ldapadd command, as shown in the following example:

ldapadd -f init.ldif -x -D "cn=ldapadmin,dc=aten,dc=com" -w password

188