osixia / docker-phpLDAPadmin

phpLDAPadmin container image 🐳🌴
MIT License
844 stars 197 forks source link

"This base cannot be created with PLA" #32

Closed rjwestman closed 7 years ago

rjwestman commented 7 years ago

When trying to access the openldap directory with any other account, then the admin account (e.g. "cn=test,ou=people,dc=example,dc=org"), phpldapadmin shows the following error message: "This base cannot be created with PLA"

I already tried adding a base to the config.php file with this line: $servers->setValue('server','base',array('dc=example,dc=org'));

But it didn't work. Any help is greatly appreciated.

rjwestman commented 7 years ago

I tried accessing it with ApacheDirectoryStudio and it seems to be an issue with how openldap returns the basedn and access rights. Specifying the new user himself as base when accessing openldap with ApacheDirectoryStudio you will get that entry returned.

However I just tried accessing 'cn=admin,cn=config' and without setting the base to be cn=config i wouldnt get anything returned. I will close this issue, since it seems to be an openldap config issue.