OLSCHEMA2LDIF(1) System Administration tools OLSCHEMA2LDIF(1)

# [NAME](#NAME)

oLschema2ldif - Converts LDAP schema's to LDB-compatible LDIF

# [SYNOPSIS](#SYNOPSIS)

.HP 336u

**oLschema2ldif** \[-I INPUT-FILE] \[-O OUTPUT-FILE]

# [DESCRIPTION](#DESCRIPTION)

.PP oLschema2ldif is a simple tool that converts standard OpenLDAP schema files to a LDIF format that is understood by LDB.

# [OPTIONS](#OPTIONS)

.PP -I input-file

OpenLDAP schema to read. If none are specified, the schema file will be read from standard input.

.RE

.PP -O output-file

File to write ldif version of schema to.

.RE

# [VERSION](#VERSION)

.PP This man page is correct for version 4.0 of the Samba suite.

# [SEE ALSO](#SEE_ALSO)

.PP [ldb(7)](/man/os/samba/ldb.7), ldbmodify, ldbdel, [ldif(5)](/man/os/samba/ldif.5)

# [AUTHOR](#AUTHOR)

.PP ldb was written by **Andrew Tridgell**\[1]. oLschema2ldif was written by **Simo Sorce**\[2].

.PP If you wish to report a problem or make a suggestion then please see the **http://ldb.samba.org/** web site for current contact and maintainer information.

# [NOTES](#NOTES)

1\.

Andrew Tridgell

https://www.samba.org/~tridge/

2\.

Simo Sorce

mailto:idra@samba.org

11/05/2026 Samba 4.0

---

Document: oLschema2ldif(1) from samba 4.25.1-r1 (Chainguard OS)
Source: https://github.com/samba-team/samba
