Thanks Quanah
I have how sorted it out.
I just proceeded as the following:

vim /tmp/schema_config.conf 
Below is the list of schemas I put in the file

include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/mozillaAbPersonAlpha.schema

mkdir  /tmp/toinclud
slaptest -f /schema_config.conf  -F /tmp/toinclud

I edit the generated file
vim / /tmp/toinclud/cn\=config/cn\=schema/cn\=\{4\}mozillaabpersonalpha.ldif
I changed the three head lines to this:
dn: cn=mozillaabpersonalpha,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: mozillaabpersonalpha

Deleted these lines from the bottom of the file
structuralObjectClass:
entryUUID:
creatorsName:
createTimestamp:
entryCSN:
modifiersName:
modifyTimestamp:

Inserted the new schema to the ldap tree with.
ldapadd -Y EXTERNAL -H ldapi:/// -f 
//tmp/toinclud/cn\=config/cn\=schema/cn\=\{4\}mozillaabpersonalpha.ldif

This maybe helpful to people having the same problem.

Thanks
Bob H

Reply via email to