All information was inspired by: https://www.darold.net/projects/ldap_pg/HOWTO/index.html
Install all the deps (assuming docker)
apt-get update; sed -i "s/^exit 101$/exit 0/" /usr/sbin/policy-rc.d; apt-get install -y postgresql-client slapd ldap-utils iodbc odbc-postgresql vim unixodbc
Files needed