hi
I am trying to authenticate mrbs with ldap on my machine having ubuntu-12.04. I have installed mrbs it's working fine. Now I need to authenticate it with ldap. So I set-up ldap server on my machine.I added entries in config.inc.php from the documentation and previous post on ldap and mrbs. But which value should be given to $ldap_dn_search_attrib? As I'm working on linux machine i cannot give sAMAccountName so what value is to be given?
$ldap_dn_search_attrib = "sAMAccountName"; #this is for Microsoft AD directories
Here is my config.inc.php for ldap authentication
$auth["session"] = "php";
$auth["type"] = "ldap";
$auth["realm"] = "mrbs";
$ldap_host = "127.0.1.1";
$ldap_port = 389;
$ldap_v3 = true;
$ldap_tls = false;
$ldap_user_attrib = "uid";
$ldap_dn_search_attrib = "sAMAccountName";
$ldap_base_dn = "ou=2000,ou=students,ou=comp,dc=***,dc=org,dc=in";
$ldap_dn_search_dn = "cn=admin,dc=***,dc=org,dc=in";
$ldap_dn_search_password = "****";
So please tell what modification are to be done in order to make it work. Also how to check the error when I try to login through ldap? I get the page Unknown user every time when I try to login with ldap. So I'm not able to get where exactly is the error?