<?php
$PMF_LDAP["ldap_server"] = 'ad1.xx.xx.xx';
$PMF_LDAP["ldap_port"] = '389';
$PMF_LDAP["ldap_user"] = 'cn=Administrator,cn=Users,dc=xx,dc=xx,dc=xx';
$PMF_LDAP["ldap_password"] = 'xxxx';
$PMF_LDAP["ldap_base"] = 'ou=staff,dc=xx,dc=xx,dc=xx';
And after installation, I login as admin and enabled ldap support in main configuration, everything seems fine, while when I try to login in as domain user, it failed, here is the debug information:
Code: Select all
DEBUG INFORMATION:
/usr/local/apache2/htdocs/faq/inc/Init.php:
PMF_Configuration->getAll() in line 103:
SELECT
config_name, config_value
FROM
faqfaqconfig
/usr/local/apache2/htdocs/faq/inc/PMF_User/CurrentUser.php:
[b]PMF_Auth_AuthDb->checkLogin() in line 146: [/b]
SELECT
login
FROM
faqfaquserlogin
WHERE
login = 'cs.test'
/usr/local/apache2/htdocs/faq/inc/Logging.php:
PMF_DB_Mysql->nextID() in line 121:
SELECT
MAX(id) AS current_id
FROM
faqfaqadminlog
/usr/local/apache2/htdocs/faq/inc/Logging.php:
PMF_User_UserData->get() in line 123:
SELECT
user_id
FROM
faqfaquserdata
WHERE
user_id = 0
/usr/local/apache2/htdocs/faq/admin/index.php:
PMF_Logging->logAdmin() in line 126:
INSERT INTO
faqfaqadminlog
(id, time, usr, text, ip)
VALUES
(5, 1270783580, 0, 'Loginerror\\nLogin: cs.test\\nPass: ********', '10.7.13.34')thanks very much