Hi,
On 2015-08-25 15:50, Sivaraja,Raja wrote:
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. $config['auth_ldap_group'] = "OU=IT,OU=AAAAAA,DC=BBBBBB,DC=com";
^ Not possible, an OU is not a group, so you 'll never be member of this group. This means you won't be able to log in.
$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;
^ This means you have a group "ldap" inside the "IT" OU which has both level 1 -and- 10. Odd. 1 will win tough, as you put that one last. ^ Also, I suspect "ldap" is a user, as you're using it as bind DN, and a user isn't a group, so that won't work either.
Please contact your directory administrator for assistance on what groups you can use.
Tom