The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to add LDAP with EasyApache3

Discussion in 'EasyApache' started by mpierre, Dec 5, 2007.

  1. mpierre

    mpierre Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    I want to simply add LDAP support to PHP using the new EasyApache 3.

    I have 1 big client which needs LDAP and we used to need to do a custom PHP build for the server he is on.

    With EasyApache 3 and the ability to have PHP4 and PHP5 running on the same box, along with eaccelerator and a bunch of new options, we would like to be able to use Easyapache instead.

    Is there a way to add LDAP to PHP5 and/or PHP4 in Easyapache 3 ? Can I make a donation to Cpanel to help achieve it ?

    I do not perform the custom compilation myself, but it doesn't seem complex for my technicians to do it, I am sure it could be automated in EasyApache 3.

    On a side note, why not add a "custom option" API to Easyapache 3 ? All it would need for most of the options is to be able to add a custom set of options, such as --with-ldap

    It would provide awesome flexibility !
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Are you looking for the LDAP bindings for Apache, PHP or both?

    The Apache LDAP bindings are available within EasyApache 3 - you have to go into the Advanced Configuration section. Bindings for PHP can be added using the "raw opts" feature: http://www.cpanel.net/support/docs/ea/ea3/ea3custom_flags.html

    If you are looking for a full-blown LDAP setup (more than just the bindings), that you will need to do yourself.
     
  3. mpierre

    mpierre Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    I spoke to Dave from Cpanel on the phone, and opened a Cpanel sales ticket to offer to co-sponsor LDAP addition to Easyapache3.

    Dave pointed out that we could pass custom variables to PHP from this page :

    http://www.cpanel.net/support/docs/ea/ea3/ea3custom_flags.html

    Which I had missed in the manual ( Yes, I did RTFM before, but I missed that page or didn't remember having read it. It happens, sorry... ).

    If anyone else wants LDAP in Easyapache3 and are willing send a little money for it, now would be a good time to manifest yourself...
     
  4. MegaBurn

    MegaBurn Registered

    Joined:
    Feb 28, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    How about sponsoring full OpenLDAP support?

    Something like a slapd config manager and LDAP schema manager in WHM -and- a directory manager in cPanel thats similar to the SQL DB managers and include phpLDAPadmin under 3rdparty tools. EasyApache support for building PHP with LDAP would be nice too. A script to automate OpenLDAP installation and configuration would also be nice.

    I have two sites which use LDAP for bridging the CMS with the forums and I'm planning to add more. Joomla, phpBB3, MediaWiki, Gallery2 and a growing number of other site packages have support for LDAP. Using a common standards compliant directory system to bridge together different parts of these "shake and bake" community sites makes life easier for both the site owners and server admins.

    My hosting is for non-profit community sites and entirely funded by donations (no ads). I can't contribute much to sponsoring LDAP support but I'll give what I can if some of the for-profit hosts contribute some funds too. Anyone else interested in this?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Using EA3 build 3869, I see options for LDAP support in Apache 2.0 and 2.2 (in addition to Auth_LDAP).

    I do not see LDAP support for PHP 5 via the EA3 interface. However, there are some PHP PEAR packages that do provide LDAP support.
     
Loading...

Share This Page