macOS / binaries /

slappasswd

/usr/sbin/slappasswd
OpenLDAP password utility

Slappasswd is used to generate an userPassword value suitable for use with ldapmodify, slapd.conf rootpw configuration directive or the slapd-config olcRootPW configuration directive.

source: man