Configured OpenLDAP with MDB storage, but the base DN remains inaccessible despite no logged errors. Example configuration:
include /etc/openldap/schema/base.schema
database mdb_repo
maxsize 1073741824
suffix "dc=example,dc=org"
rootdn "cn=manager,dc=example,dc=org"
rootpw "{SSHA}dummyhashvalue"
directory /var/lib/openldap/dbrepo
hey, check out if selinux/apparmor is silently blocking access. also, verify the perms on /var/lib/openldap/dbrepo. even a tiny misconfig in the dir rights or schema include can cause this issue
hey there! i was wonderin if u tried running a simple ldapsearch using your base dn? sometimes a small typo in the conf might block acces. have you checked client settings and logs? curious to know what approach youve taken so far!
In a similar situation, I discovered that base DN inaccessibility often results from permission issues and subtle configuration oversights rather than obvious error logs. Carefully checking that the directory path is correctly owned and has appropriate read/write permissions for the LDAP service resolved my problem. I also found that security modules such as SELinux or AppArmor might block access without explicit errors in the log files. Verifying these settings, in addition to ensuring that all schema files and overlays are correctly referenced, may resolve the inaccessibility you are encountering.