Pre-Installation Checks - LDAP Installed but still "NO"

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
morijlumos2
Posts: 2
Joined: Mon Jan 08, 2018 1:34 pm

Pre-Installation Checks - LDAP Installed but still "NO"

Post by morijlumos2 »

The last thing I need for all the installation checks is to get LDAP installed.
as you can see in the screenshots, also i confirmed the proper dll's are in place.
I am not sure what else to do, and why it is not registering as Installed.

Image
Image

Using Windows 7 (test env)
Apache 2.4.9
Mysql5.6.17
php5.5.12
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Pre-Installation Checks - LDAP Installed but still "NO"

Post by netniV »

You probably need to run one of the following (assuming its ubuntu) depending on the system you are running.

Code: Select all

php7enmod ldap 
php7enmod php-ldap
phpenmod ldap
phpenmod php-ldap
I've included all four because it changes between some systems and I can't recall if you need the php- in front of the mod name or not off the top of my head. Once you've done that you need to reload apache.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
morijlumos2
Posts: 2
Joined: Mon Jan 08, 2018 1:34 pm

Re: Pre-Installation Checks - LDAP Installed but still "NO"

Post by morijlumos2 »

I actually got this working, I found this useful comment on stackexchange and it worked.

https://stackoverflow.com/a/46560708/1787465

"after enabling extension =php_ldap.dll in php.ini

you must add following dll to system32 in windows

copy libsasl.dll into system32 folder

steps: php.ini enable ;extension =php_ldap.dll --> extension =php_ldap.dll

copy libsasl.dll from php folder and paste it in system32

windows-->system32--> paste libsasl.dll

Incase it does not work and also add libeay32.dll and ssleay32.dll."
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Pre-Installation Checks - LDAP Installed but still "NO"

Post by netniV »

Ah, apologies, didn't realise that you were running this on windows.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Pre-Installation Checks - LDAP Installed but still "NO"

Post by BSOD2600 »

morijlumos2 wrote:copy libsasl.dll into system32 folder
....
In case it does not work and also add libeay32.dll and ssleay32.dll."
This is exactly what the Windows Installer does for a user ;)

libsasl.dll, libeay32.dll, ssleay32.dll are all in the PHP folder.
imagica
Posts: 3
Joined: Tue May 02, 2017 9:52 pm

Re: Pre-Installation Checks - LDAP Installed but still "NO"

Post by imagica »

I have copied all the files in system32 directory but still upgradation from 1.1.37 to 1.1.38 shows error for "ldap" and "openssl" as not installed. both plugin extension are already enabled in php.ini as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests