OpenLDAP
We are wanting to get cPanel working with LDAP and the configuration is not working, as anticipated.
Here's what we've tried...
We've installed openldap openldap-clients openldap-devel openldap-servers from the RPM manager. We manually created the 20-ldap.ini file to point to the ldap.so extension. When we go to EasyApache4, it is showing the incompatible modules that are not available for our system and ldap is listed. In the Apache extensions, mod_ldap is not available.
php -m doesn't show the module loaded, when I run a php -i | grep ldap, it shows --with-ldap=shared, but nothing more.. I'm kind of at a loss.
-
Did you go into Easyapache (web interface) and enable php--ldap for the version(s) of PHP that you want to use it with? 0 -
Did you go into Easyapache (web interface) and enable php--ldap for the version(s) of PHP that you want to use it with?
So.. I guess that's where I'm having issues. When I go into EA via WHM, it shows me that the package isn't supported on the server, which made me think I didn't have underlying packages there (openldap, etc), but even after openldap is installed, I'm still not getting anywhere.0 -
Is your cPanel server actually going to be the LDAP server or do you just need PHP to be able to talk to a LDAP server? One of the cPanel people will have to chime in, but my guess is you are running into a package conflict with the EasyApache LDAP and what you have installed. Since you have a dedicated server/VPS it may be quickest to just open a cPanel ticket and have them look at it. 0 -
Is your cPanel server actually going to be the LDAP server or do you just need PHP to be able to talk to a LDAP server? One of the cPanel people will have to chime in, but my guess is you are running into a package conflict with the EasyApache LDAP and what you have installed. Since you have a dedicated server/VPS it may be quickest to just open a cPanel ticket and have them look at it.
No, it is not going to be an LDAP server, I just need PHP to be able to talk to the LDAP server. I was thinking the same, but couldn't figure out what/why that is occurring.0 -
If it's not going to be the LDAP server, I would not think you'd need any of the OS level modules installed EasyApache should install everything it needs (based on dependencies) when you enable the PHP LDAP module. 0 -
I do see that Erhard was able to help you get the tools installed through a ticket. If you need anything else related to this just let me know! 0
Please sign in to leave a comment.
Comments
6 comments