LinuxCommandLibrary

oLschema2ldif

converts OpenLDAP schemas to LDIF

TLDR

Convert OpenLDAP schema

$ oLschema2ldif -i [schema.schema] -o [output.ldif]
copy
Convert multiple schemas
$ oLschema2ldif -i [schema1.schema] -i [schema2.schema] -o [output.ldif]
copy
Specify base DN
$ oLschema2ldif -b "[cn=config]" -i [schema.schema]
copy

SYNOPSIS

oLschema2ldif [options]

DESCRIPTION

oLschema2ldif converts OpenLDAP schemas to LDIF. Migrates schema format.
The tool transforms schema definitions. Used for LDAP configuration.

PARAMETERS

-i FILE

Input schema file.
-o FILE
Output LDIF file.
-b DN
Base DN for schema.
--help
Display help information.

CAVEATS

Part of Samba tools. Schema format specific.

HISTORY

oLschema2ldif was created for schema migration in LDAP environments.

SEE ALSO

ldapadd(1), slapd(1), ldapmodify(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community