Hi All,

Kindly help me to configure the LDAP authentication on  Observium page.

Below are the Config files lines which i  have  added on config line. still not working. pls check the below codes,correct me if any lines are wrong.
-----------------------------------------------
// Authentication Model
$config['auth_mechanism'] = "ldap";    // default, other options: ldap, http-auth, please see documentation for config help

 $config['auth_ldap_binddn'] = "CN=ldap,OU=IT,OU=Service Accounts,OU=Users,OU=AAAAAAA,DC=BBBBBB,DC=com";
 $config['auth_ldap_bindpw'] = "xxxxxxxx";
 $config['auth_ldap_bindanonymous'] = FALSE;

 $config['auth_ldap_attr']['uid'] = "uid";
 $config['auth_ldap_attr']['uidNumber'] = "uidNumber";
 $config['auth_ldap_attr']['cn'] = "cn";
 $config['auth_ldap_attr']['dn'] = "dn";
 $config['auth_ldap_objectclass'] = "posixAccount";

 $config['auth_ldap_version'] = 3;
 $config['auth_ldap_server'] = "MDC01.xxx.com";
 $config['auth_ldap_port']   = 389;
 $config['auth_ldap_starttls'] = FALSE;

 $config['auth_ldap_prefix'] = "uid";
 $config['auth_ldap_suffix'] = ",DC=BBBBB,DC=com";
 $config['auth_ldap_group']  = "OU=IT,OU=AAAAAA,DC=BBBBBB,DC=com";
 $config['auth_ldap_groupbase'] = "OU=IT,OU=IF,OU=IS,OU=Standard,OU=Users,OU=AAAA,DC=BBBBB,DC=com";

 $config['auth_ldap_groupmembertype'] = "nodn";
 $config['auth_ldap_groupmemberattr'] = "memberUid";

 unset($config['auth_ldap_groups']);
 $config['auth_ldap_groups']['CN=ldap,OU=IT,OU=Service Accounts,OU=Users,OU=AAAA,DC=BBBBB,DC=com']['level'] = 10;
 $config['auth_ldap_groups']['CN=ldap,OU=IT,OU=Service Accounts,OU=Users,OU=AAAA,DC=BBBBB,DC=com']['level'] = 1;  

----------------------------------------------
Need to do any other settings on configfile or anyother file on the server.

Thanks in advance


Thanks!

Regards,
Sivaraja