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.

LDAP on RHEL5 Cpanel11

Discussion in 'General Discussion' started by guysmiley, Jan 7, 2009.

  1. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    LDAP on RHEL5 Cpanel11 - more questions!!!

    Greetings,

    I've used EasyApache to compile with LDAP support but require clarification on a few items:

    1. There are two options in EA that relate to LDAP (LDAP and LDAP authenz). Both are checked. Does this compile/turn on the modules/extensions in Apache/PHP?

    2. Where do I find the apache config file & where do I find the php.ini file? (usr/local...???).

    Many thanks!
    gs
     
    #1 guysmiley, Jan 7, 2009
    Last edited: Jan 8, 2009
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    1. Yes, it will compile/turn on the modules/extensions in Apache/PHP.
    2. Apache config file location:- /usr/local/apache/httpd/httpd.conf
    PHP config file location: /usr/local/bin/php.ini
     
  3. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Great, thanks.

    Is there a particular port that ldap uses that needs to be open?

    Thanks!
     
  4. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    UPDATE:

    1. In our /usr/local/apache/ directory, there is no httpd folder. There is a /conf but the httpd.conf in the /conf folder only contains a list of virtual hosts and does not list the enabled apache modules.

    2. The /usr/local/bin directory does not contain a php.ini file either. There is a php* and a php-config* and a phpsize*

    Where are these files??? Help!
     
    #4 guysmiley, Jan 8, 2009
    Last edited: Jan 8, 2009
  5. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Update #2:

    I examined:
    /usr/local/bin/php.ini
    /usr/local/apache/conf/httpd.conf

    Neither file has LDAP enabled though LDAP is checked off in EasyApache.

    Why is this?
     
  6. organica

    organica Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Yes, I have the same problem on RHEL5. I used EasyApache with both LDAP options checked. No trace of LDAP is in phpinfo() and I can't get any of our php scripts to authenticate through LDAP.

    EDIT (SOLVED): I was compiling Apache 2.0 instead of the correct Apache 2.2.

    Really, what is this problem?
     
    #6 organica, Jul 20, 2009
    Last edited: Jul 20, 2009
Loading...
Similar Threads - LDAP RHEL5 Cpanel11
  1. stevo81989
    Replies:
    1
    Views:
    310
  2. chkoay
    Replies:
    1
    Views:
    328

Share This Page