LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2012, 09:54 AM   #1
trongthect
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ldap authen problem neverland Linux - Server 5 03-18-2010 10:47 AM
nss_ldap, openldap and openldap-server ... what is openldap for? chakkerz Linux - Server 2 08-13-2009 07:16 PM
using Authen::pam of perl module sandiplinux Linux - General 1 03-12-2008 07:30 PM
Authen-Radius ghabsh Linux - Server 0 05-19-2007 04:43 AM
Authen in LDAP with samba u4113072 Linux - Networking 1 06-25-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration