HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


LDAP Setup

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#54399 (In Topic #11856)
Avatar

Fan in action

I've filled in the LDAP settings with a valid hostname, username, and password. ocPortal accepts the changes when I save them. When I go to my LDAP section under Security, it tells me that I have not enabled LDAP, then tells me to go back to the configuration section again. I've made sure that LDAP and Active Directory settings are turned on, and my base DN is correct. I don't see any errors in the error log. I'm not sure how to start troubleshooting this, and seeing where the root cause is. Please assist.

Thanks in advance.

Steve
Back to the top
 
Posted
Rating:
#54401
Avatar

Fan in training

Hey

I'm have fun and games with LDAP at the moment too.

I had a similar message when trying to replicate my problem on some shared hosting, i *think* its because the PHP server you are using doesnt have the LDAP module installed. Throw up a php info page, and search for LDAP - you should end up with something like;

phpinfo said

LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161.2.3.2.12 2007/12/31 07:20:07 sebastian Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20415
SASL Support Enabled
If its missing, or not enabled, contact your host
Back to the top
 
Posted
Rating:
#54417
Avatar

Fan in action

Thanks for the assist, pieboy.  I hadn't thought of that angle.  

Unfortunately, I'm a hack trying to learn to setup web servers myself for the first time.  Installing on a Windows server, I have an Apache2 web server installed.  I've installed php5. I have the php_ldap.dll in my c:\program files\php\ext\ folder.  In the php.ini file I have extension=php.ldap.dll

I've restarted the apache server.  Still have same issue in ocPortal trying to get the ldap functionality to work.  I'm thinking that the ldap module still isn't compiled into php, because I don't see it in my phpinfo listing, like you showed above.  How can I recompile php to include the ldap extension?

Thanks in advance for your assistance.

Steve
Back to the top
 
Posted
Rating:
#54423
Avatar

Fan in action

A little more info… the Apache error log says:
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_ldap.dll' - The specified module could not be found.\r\n in Unknown on line 0

I have that .dll in that folder.  Something special I need to do with it, or something more?

Thanks,

Steve
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: