Ldap Error

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
skibumm101
Posts: 40
Joined: 07 Jun 2006, 16:33

Ldap Error

Post by skibumm101 »

I just copied the config setting from my old server for ldap. they are working perfectly

when i enable ldap on the new server i receive the following

LDAP Extension Not Loaded.

version 1.1.0


$g_login_method = LDAP;
$g_ldap_protocol_version = 3;
$g_ldap_server = 'ldap://server';
$g_ldap_port = '389';
$g_ldap_root_dn = 'OU=AMX Users,DC=domain,DC=domain';
$g_ldap_organization = 'myorg';
$g_ldap_uid_field = 'sAMAccountName';
$g_use_ldap_email = OFF;
$g_ldap_bind_dn = 'account';
$g_ldap_bind_passwd = 'password';
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Ldap Error

Post by deboutv »

PHP is not compiled with the LDAP extension. You have to enable LDAP and then recompile PHP.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
mchicoix
Posts: 1
Joined: 03 Mar 2008, 11:42

Re: Ldap Error

Post by mchicoix »

my php.ini file is configured like this :
-> extension=php_ldap.dll

I restart Apache but I have always the message :

APPLICATION ERROR #1404
LDAP Extension Not Loaded.

did you have any idea ?
Regards,
Michel
Borszczuk
Posts: 9
Joined: 01 Feb 2008, 12:08

Re: Ldap Error

Post by Borszczuk »

are you *sure* you really got this extension installed on this machine? On some distros extensions come in separate packages. Adding extension=... does not make it appear out of nowhere. you have to install the package. phpinfo() would tell...
Post Reply