Problem: in the default install (openldap 2.0.25) the database and pid files locations in default config file point to /var/state/openldap and /var/state/openldap/openldap-ldbm these locations don't exist, instead the install package creates /var/state/openldap-ldbm and /var/state/openldap-slurp Fix: mkdir /var/state/openldap mv /var/state/openldap-* /var/state/openldap/
modified ebuild to create a /var/state/openldap to conicide with default configuration of where databases are stored. Thanks for the report.
re-modified ebuild as orginial ebuild was correct. --localstatedir=/var/state/openldap The directory /var/state/openldap is created for the openldap-ldbp and openldap-slurp directories and the sub-directories are created properly.