I have Issue.
I look phpMyFAQ Site say phpMyFAQ Support MS ActiveDirectory , But I Try it can't login.
pls tell me how to do it ?
Or how i debug it ?
pls help me ~~
my ldap config file:
./config/ldap.php
<?php
$PMF_LDAP["ldap_server"] = '192.168.0.x';
$PMF_LDAP["ldap_port"] = '389';
$PMF_LDAP["ldap_user"] = 'xxxxx';
$PMF_LDAP["ldap_password"] = 'xxxxxxxxxx';
$PMF_LDAP["ldap_base"] = 'OU=ticogroup,DC=tico,DC=com,DC=tw';
./constants_ldap.php
// Datamapping - in this example for an ADS
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'cn',
'username' => 'samAccountName',
'mail' => 'mail');
// In a multi-domain environment, users may enter a prefix as domain, e.g. "DOMAIN\username"
// If possible, you should use the Microsoft Glocal Catalog as LDAP-Server, which comes
// with every ADS-Installation.
$PMF_LDAP['ldap_use_domain_prefix'] = true;
// LDAP-options to set
// refer to the documentation of ldap_set_option() for information on available options
$PMF_LDAP["ldap_options"] = array (
LDAP_OPT_PROTOCOL_VERSION => 3,
LDAP_OPT_REFERRALS => 0 );