Page 1 of 4 1234 LastLast
Results 1 to 10 of 32

Thread: LDAP Extensions Error

  1. #1
    martinball is offline Senior Member
    Join Date
    May 2009
    Location
    Birchwood
    Posts
    21

    Exclamation LDAP Extensions Error

    Hi All!

    I run a Windows 2k3 AD Domain and have a seperate Redhat Enterprise 5 server with the SugarCRM Faststack loaded.
    I wish to intergrate LDAP so that I don't need to create seperate user accounts for all my staff however I have enabled all the options in the System Settings within Sugar to enable LDAP but when I try and log in I get the following error.

    Code:
    LDAP Error: Extensions not loaded
    Now I have done some digging around via Google already and it appears that php-ldap is not compiled on the Faststack utility, I have checked YUM and php-ldap is loaded on my system and I have tried to add.

    PHP Code:
    extension=php_ldap.so 
    To my php.ini file however this does not seem to work.
    Any ideas anyone, any help would be much appreciated?

    Regards,

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: LDAP Extensions Error

    What does a phpinfo() call say to your ldap installation?

  3. #3
    martinball is offline Senior Member
    Join Date
    May 2009
    Location
    Birchwood
    Posts
    21

    Default Re: LDAP Extensions Error

    Phpinfo() doesnt list any mention to LDAP at all.

    Cheers,

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: LDAP Extensions Error

    did you restart the webserver after changing php.ini?
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  5. #5
    martinball is offline Senior Member
    Join Date
    May 2009
    Location
    Birchwood
    Posts
    21

    Default Re: LDAP Extensions Error

    Yep I certainly did, using:

    Code:
    ./sugarctl.sh restart

  6. #6
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: LDAP Extensions Error

    Hi Guys,

    I am having trouble with this too unfortunately!

    Never had any issue linking to Active Directory on the standard version of Sugar 4 or 5 but can not get it working with the Stack Installer.

    I am running on CentOS5.
    I have installed php-ldap through Yum and have located the 'ldap.so' on my Server but just can't get rid of that 'LDAP Error: Extensions not loaded' message.

    I have altered both the standard /etc/php.ini just in case and the one installed by the installer found under the Sugar directory in /opt with no success.

    I have added the 'extension=ldap.so' line to each of these files.

    Just wanted to check I'm not doing something obviously wrong here.

    Thanks
    Russ

  7. #7
    martinball is offline Senior Member
    Join Date
    May 2009
    Location
    Birchwood
    Posts
    21

    Default Re: LDAP Extensions Error

    Quote Originally Posted by russgalleywood View Post
    I have installed php-ldap through Yum and have located the 'ldap.so' on my Server but just can't get rid of that 'LDAP Error: Extensions not loaded' message.
    Based on that would we need to find the php-ldap.so file and add the directory to our php.ini file?

    Cheers,

  8. #8
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: LDAP Extensions Error

    Hi Martin,

    I hope that's the simple answer, I can only find mention of ldap.so though.

  9. #9
    martinball is offline Senior Member
    Join Date
    May 2009
    Location
    Birchwood
    Posts
    21

    Default Re: LDAP Extensions Error

    Hi Russ,

    Ill have a dig around the PHP.ini file and what not and I'll let you know what I find out, I'm fairly new to running PHP myself so it may take a while.

  10. #10
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: LDAP Extensions Error

    Hi Martin,


    Having run Sugar a year or so a go with the standard non-stackk installer version I simply installed php-ldap on my CentOS system, ensured the ldap.so extension appeared and hey presto, it worked!

    So, I think it's just a case of getting the wording and ldap.so location right for it to work.

    Hoping it's this simple anyway!

    Thanks

Page 1 of 4 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. LDAP Error: Extensions not loaded
    By ontai in forum Help
    Replies: 18
    Last Post: 2010-05-18, 09:17 PM
  2. LDAP Error: Extensions not loaded
    By JamesCope in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-12-22, 11:46 PM
  3. LDAP Error: Extensions not loaded
    By kinshibuya in forum Help
    Replies: 2
    Last Post: 2008-09-02, 03:20 AM
  4. LDAP Error: Extensions not loaded
    By npolite in forum Help
    Replies: 6
    Last Post: 2008-06-12, 05:20 PM
  5. LDAP Error: Extensions not loaded
    By bweber in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2007-02-16, 01:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •