This is the command fusiondirectory-insert-schema that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
fusiondirectory-insert-schema - insert schema needed by FusionDirectory into the ldap
server
SYNOPSIS
fusiondirectory-insert-schema [<path of your schema files>] [-l] [-i|-m schema1 schema2]
DESCRIPTION
This program will insert the schema needed by FusionDirectory into the ldap server
Options
-i This option insert the given list of schemas instead of the default list
-m This option insert the given list of schemas, replacing already inserted versions of
those schemas
-e This option empty the given list of schemas, removing attributes and objectClasses
from those. This is useful because you cannot delete a schema without restarting
slapd.
-l This option list inserted schemas
-n This option will make generated ldifs file to not be deleted after execution. Might
be useful to understand errors.
-c This option make the program continue even if an error occur
-y This option answer yes to all questions. The only question right now is the
confirmation one when you ask to empty a schema.
-o This option allow you to specify specifics options to give to ldap commands such as
ldapmodify, but beware that you will not be able to see things like password prompts
as the output of these commands is piped.
EXAMPLES
fusion@catbert$ fusiondirectory-insert-schema
Insert the core schemas in your LDAP directory
fusion@catbert$ fusiondirectory-insert-schema -i /etc/ldap/otherschema/myschema.ldif
Insert the schema /etc/ldap/otherschema/myschema.ldif
fusion@catbert$ fusiondirectory-insert-schema -i /etc/ldap/otherschema/myschema.schema
Convert /etc/ldap/otherschema/myschema.schema to ldif and insert it
fusion@catbert$ fusiondirectory-insert-schema -i myschema
Insert the schema myschema.ldif from working directory
fusion@catbert$ fusiondirectory-insert-schema -m /etc/ldap/otherschema/myschema.schema
Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one
fusion@catbert$ fusiondirectory-insert-schema -e myschema
Empty the schema myschema
Use fusiondirectory-insert-schema online using onworks.net services