mrbs cant authen by openldap.
hi all,
i have a linux system with 4 servers:
1. openldap master
2. openldap slave + vsftp
3. openldap slave + posftix
4. openldap slave + mrbs
with vsftp,postfix, i can authenticate for users by openldap but with mrbs, it didnt allow to authenticate. Please help to find the root causes.
here are config files of mrbs;
#grep -v "//" config.inc.php
/**********
* Timezone
**********/
$timezone = "Asia/Ho_Chi_Minh";
/*******************
* Database settings
******************/
$dbsys = "mysql";
$db_host = "localhost";
$db_database = "mrbs";
$db_login = "root";
$db_password = '123456';
$db_tbl_prefix = "mrbs_";
/* Add lines from systemdefaults.inc.php and areadefaults.inc.php below here
to change the default configuration. Do _NOT_ modify systemdefaults.inc.php
or areadefaults.inc.php. */
$auth["admin"][] = "admin";
#$auth["session"] = "php";
#$auth["type"] = "config";
#$auth["user"]["admin"] = "123456";
$auth["type"] = "ldap";
$ldap_host = "192.168.1.221";
$ldap_port = 389;
$ldap_v3 = true;
$ldap_tls = false;
$ldap_base_dn = "ou=Users,dc=trongthe,dc=com";
$ldap_user_attrib = "sAMAccountName";
$ldap_dn_search_attrib = "sAMAccountName";
$ldap_dn_search_dn = "cn=replica,dc=trongthe,dc=com";
$ldap_dn_search_password = "123456";
if i use the local user for authenticating, it's suscessful.
thanks
The
Last edited by trongthect; 02-24-2012 at 09:56 AM.
|