slapadd

From RaySoft

slapadd is used to add entries specified in LDAP Directory Interchange Format (LDIF) to a slapd database. It opens the given database determined by the database number or suffix and adds entries corresponding to the provided LDIF to the database. Databases configured as subordinate of this one are also updated, unless -g is specified. The LDIF input is read from standard input or the specified file.[1]

Documentation

Syntax

slapadd [PARAMETER ...]

Parameters

-f FILE
Specify an alternative slapd.conf FILE.
-l FILE
Read LDIF from the specified FILE instead of standard input.
-u
Enable dry-run (don't write to backend) mode.

References

  1. man 8 'slapadd'