macOS / binaries /

slapcat

/usr/sbin/slapcat
SLAPD database to LDIF utility

Slapcat is used to generate an LDAP Directory Interchange Format (LDIF) output based upon the contents of a slapd database. It opens the given database determined by the database number or suffix and writes the corresponding LDIF to standard output or the specified file.

source: man