fusiondirectory-insert-schema(1)

fusiondirectory-insert-schema1

Insert schema needed by fusiondirectory into the ldap server

Usage

fusiondirectory-insert-schema [-y] [-n] [-c] [-o options] [path] [{-h | -l | -i schema1 schema2 | -m schema1 schema2 | -e schema1 schema2}]

Overview

This program will insert the schema needed by FusionDirectory into the ldap server, or the specified schemas

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
 fusion@catbert$ fusiondirectory-insert-schema -o "-H ldap://my.ldap.com -ZZ -D 'cn=admin,cn=config' -w password -x"
   Connect to another ldap server to insert the schema

Releases

4 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10
  4. 11

-c since Debian 9 (Stretch); -e since Debian 9 (Stretch); -i since Debian 9 (Stretch); -l since Debian 9 (Stretch); -m since Debian 9 (Stretch); -n since Debian 9 (Stretch); -o since Debian 9 (Stretch); -y since Debian 9 (Stretch).

Bugs

Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to <https://gitlab.fusiondirectory.org/fusiondirectory/fd/issues/new>

Author

Come Bernigaud

From fusiondirectory-schema 1.3-4+deb11u1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.