oLschema2ldif
converts OpenLDAP schemas to LDIF
TLDR
Convert OpenLDAP schema
$ oLschema2ldif -i [schema.schema] -o [output.ldif]
Convert multiple schemas$ oLschema2ldif -i [schema1.schema] -i [schema2.schema] -o [output.ldif]
Specify base DN$ oLschema2ldif -b "[cn=config]" -i [schema.schema]
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.
INSTALL
sudo apt install samba
sudo dnf install samba
sudo pacman -S samba
sudo apk add samba-client
sudo zypper install samba
brew install samba
nix profile install nixpkgs#samba
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)