Results 1 to 6 of 6

Thread: Debug ldap support for cPanel accounts

  1. #1
    Registered Member
    Join Date
    Jul 2009
    Posts
    105

    Default Debug ldap support for cPanel accounts

    Hi all,

    I'm having a strange problem getting ldap working for accounts on a WHM server. I have php module and apache module installed but I can't get any account to use ldap.

    For testing I installed drupal 6 with the ldap help module. It adds a status option to a drupal install to see if ldap should work on the site the problem is that when I try to access it the site errors out and a script timed out message is added to /usr/local/apache/logs/error_log

    Is there anyway I can get more details about whats happening with regards ldap, apache and php5

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    9,511
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Debug ldap support for cPanel accounts

    Hello

    Could you paste the full error message that outputs to the Apache error log when you attempt to access the website?

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services - Change Logs
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    Registered Member
    Join Date
    Jul 2009
    Posts
    105

    Default Re: Debug ldap support for cPanel accounts

    It doesn't seem to have any real details just that it takes a long time to respond before timing out

    Message to User

    The request was not completed. The server met an unexpected condition.

    193.1.101.122/~cPanelAccount/drupal6/?q=admin/settings/ldaphelp/status (port 80)

    Nothing in accounts cPanel error log or raw access log

    The Apache Error logs give
    "File does not exist :/usr/local/apache/htdocs/home referer http://cPanelAccountIP/cPanelAccount...daphelp/status

    But I wouldn't expect a file to exist in a database driven site

    If I try to connect to the ldap server via moodle software it returns the error LDAP-module cannot connect to any servers: Server: 'MYLDAPServer' 'Resource id #77', Bind result: ''

    If I run php -m it lists ldap exactly like my other WHM server that is running ldap enabled drupal and moodle sites
    I exported the apache build from the working server to the problem server but that didn't solve the problem either

  4. #4
    Registered Member
    Join Date
    Dec 2001
    Location
    Long Beach, NY
    Posts
    312
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Debug ldap support for cPanel accounts

    Does cpanel include LDAP support? I have a client asking for this - he is trying to configure it on his iPad, but I am under the impression that there is not yet cpanel support for this functionality.

  5. #5
    Registered Member
    Join Date
    Jul 2009
    Posts
    105

    Default Re: Debug ldap support for cPanel accounts

    Turned out to be a firewall down the line that was blocking comms between ldap and the WHM hosted accounts

  6. #6
    Registered Member
    Join Date
    Jul 2009
    Posts
    105

    Default Re: Debug ldap support for cPanel accounts

    AFAIK it doesn't come out of the box to allow ldap for the accounts the server hosts but it is possible if you include the necessary modules in php and the appropriate wordpress or drupal extension/module/plugin to enable ldap for client accounts

    As for enabling ldap login to access cPanel itself I never tried to set it up but it would be useful. I don't think its possible and wouldn't even know where to start

Similar Threads

  1. cPanel LDAP authorisation
    By igluksic in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 07-07-2009, 08:56 AM
  2. ldap and cPanel
    By bisdiouf in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-25-2006, 11:19 AM
  3. ldap and cPanel
    By bisdiouf in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-25-2006, 11:14 AM
  4. LDAP autocreation of cPanel Accounts...Need help
    By dracchini in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-05-2006, 11:45 AM
  5. CPanel + LDAP Auth
    By spd1snd in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-05-2006, 11:43 AM

Tags for this Thread

bargain