---
name: "ldapinit"
section: "1"
platform: "linux"
package: "ldapscripts"
version: "2.0.8-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ldapinit"
---

# ldapinit(1)

initializes the LDAP directory with a minimal tree.

## NAME

ldapinit - initializes the LDAP directory with a minimal tree.

## SYNOPSIS

**ldapinit** \[\[-h\]**\|**\[-r**\|**-s\]\]

## OPTIONS

- **\[-h\]**

  This help.

- **\[-r\]**

  Create only the root DN.

- **\[-s\]**

  Skip root DN creation (create only regular OUs).

## SEE ALSO

[lsldap(1)](/lsldap/1.md), [ldapfinger(1)](/ldapfinger/1.md), [ldapid(1)](/ldapid/1.md), [ldapgid(1)](/ldapgid/1.md), [ldapscripts(5)](/ldapscripts/5.md).

## AVAILABILITY

The ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details). The latest version of the ldapscripts is available on : **http://contribs.martymac.org**

## BUGS

No bug known.
