Enable LDAP in PHP?

Is there an easy method to enable LDAP support in PHP in Local? I’m guessing “no” since you have to compile php --with-ldap but thought i’d check first.

2 Likes

Hi Paul,

Unfortunately the answer is indeed “no” but we can look into this.

Do you need LDAP for a popular plugin or is it for a custom set up?

We use LDAP authentication on all of our sites via wpDirAuth. It’s not a huge issue; just something we’ll need to be aware of when moving sites live, and then when editing them locally.

If you can add in LDAP support, that would be fantastic.

This would be a great feature

Even a description of how to install php-ldap into the docker container would be helpful. I did the basics…ssh-ed in, apt-get install php-ldap, but that didn’t do the trick. If there was a brief description of either how to modify the docker-compose (I’m assuming) template for a site, or how to add modules to an existing site, that would be great!

I’d love to bump this, too. connecting to an external ldap server is pretty important to our operations and is somewhat hampering our usage of Local. Any chance of a hint in the right direction here, Clay?