This is the default example configuration of ldap provided by Postfix. This config file was generated by Postfix running on CentOS 8.
It is located under: /etc/postfix/dynamicmaps.cf.d/ldap
ldap /usr/lib64/postfix/postfix-ldap.so dict_ldap_open
Download the raw file with wget or curl
wget -O ldap.example http://exampleconfig.com/static/raw/postfix/centos8/etc/postfix/dynamicmaps.cf.d/ldap
curl http://exampleconfig.com/static/raw/postfix/centos8/etc/postfix/dynamicmaps.cf.d/ldap > ldap.example
Other config files you might find useful