diff --git a/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst b/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst index e1e7accbad14e690577822a1192596f09665351d..63a4533059c20202d91ac01dbdc0ac21e7600be3 100644 --- a/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst +++ b/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst @@ -10,40 +10,47 @@ ldap server Options ------- +--list-schemas + List inserted schemas and the number off attributes and objectClass + --insert-schema - This option insert the given list of schemas instead of the default - list + Insert the given list of schemas --replace-schema - This option insert the given list of schemas, replacing already + Insert the given list of schemas, replacing already inserted versions of those schemas --empty-schema - 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. + Empty the given list of schemas, removing attributes and + objectClasses from those. + This is useful because you cannot delete a schema in openldap < 2.5 --remove-schema - This options remove the schema already inserted if LDAP version is higher or equals 2.5. + Remove the schema already inserted if LDAP version is higher or equals 2.5. ---list-schemas - This option list inserted schemas +--show-schema + Show you the content of a schema +--help + Show you the inline manual + +--verbose + verbose output + Examples -------- - Insert the schema myschema (.ldif or .schema) from working directory .. code-block:: shell fusiondirectory-schema-manager --insert-schema myschema.schema -Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one +Replace the existing schema by a new version of the same schema .. code-block:: shell - fusiondirectory-schema-manager --replace-schema /etc/ldap/otherschema/myschema.schema + fusiondirectory-schema-manager --replace-schema myschema.schema Empty the schema myschema