The slapd.postinst script attempts to ensure that various files and directories have the proper ownerships (and permissions) set. It looks like it may be having trouble extracting the correct list of directories in your case.
Can you post the output of the following command (run as root)?
The slapd.postinst script attempts to ensure that various files and directories have the proper ownerships (and permissions) set. It looks like it may be having trouble extracting the correct list of directories in your case.
Can you post the output of the following command (run as root)?
grep -E "^(include| database| suffix| directory) " /etc/ldap/ slapd.conf
Hopefully that will give some hint as to what is causing the confusion.