Hi folks
After I modify my config_inc.php to use ldap I get Application Error #400
It says that "mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO)"
After i added my MySQL configurations i get the same.
my config looks like this
<?php
$g_login_method = LDAP
$g_ldap_server = 'ldaps://192.168.95.4';
$g_ldap_port = '636';
$g_ldap_root_dn = 'ou=user,o=muc';
$g_ldap_organization = '';
$g_ldap_uid_field = 'cn';
$g_ldap_bind_dn = 'cn=user,o=muc';
$g_ldap_bind_passwd = 'pass';
$g_use_ldap_email = OFF;
$g_ldap_protocol_version = 3;
$g_allow_file_upload = ON;
?>
It also reports a "Parse error: parse error in /srv/www/htdocs/mantis/config_inc.php on line 3" (it is ldaps://192.168.95.4). I tried just IP without ldpas:// but got the same error.
what do i do wrong ?
Sorry for such a stuped question
Application Error #400 LDAP
Moderators: Developer, Contributor
If that's really your config file, you'll want to add a semi-colon to the end of the g_login_method assignment:
Code: Select all
$g_login_method = LDAP ;