---
name: "_ldapinit"
section: "1"
platform: "linux"
package: "ldapscripts"
version: "1.7.1-2"
release: "Debian 5.0 (Lenny)"
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), [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.com**

## BUGS

No bug known.
