I think

 

$config['auth_ldap_objectclass'] = "user";

 

Should be

 

$config['auth_ldap_objectclass'] = "person";

 

 

From: observium <observium-bounces@observium.org> On Behalf Of Nirmolak Singh Bajaj via observium
Sent: Thursday, March 31, 2022 10:56 AM
To: observium@observium.org
Cc: Nirmolak Singh Bajaj <nirmolak.singhbajaj@acclivis.com>; Ryan Tee <ryan.tee@acclivis.com>; Valerie Lim <valerie.lim@acclivis.com>
Subject: Re: [Observium] Observium LDAP integration

 

Hi,

 

I am having an integration problem with my LDAP server. This is my config for the LDAP. It is based on what the Observium website shows.

Could you let me know where I am going wrong?

Looking forward to your support.

 

$config['auth_ldap_binddn'] = "CN=Administrator,CN=Users,DC=lab,DC=local";

$config['auth_ldap_bindpw'] = " ";

 

$config['auth_ldap_attr']['uid'] = "sAMAccountName";

$config['auth_ldap_attr']['uidNumber'] = "objectSid";

$config['auth_ldap_attr']['cn'] = "name";

$config['auth_ldap_attr']['dn'] = "distinguishedname";

$config['auth_ldap_objectclass'] = "user";

 

$config['auth_ldap_version'] = 3;

$config['auth_ldap_server']  = "lab.local";

$config['auth_ldap_port']    = 389;

$config['auth_ldap_starttls'] = FALSE;

 

$config['auth_ldap_prefix'] = "CN=";

$config['auth_ldap_suffix'] = ",OU=mvc,DC=lab,DC=local";

$config['auth_ldap_group']  = array("DC=lab,DC=local");

$config['auth_ldap_groupbase'] = "DC=lab,DC=local";

 

$config['auth_ldap_bindanonymous'] = FALSE;

 

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

$config['auth_ldap_groups']['mvc']['level'] = 10;

 

                              

 

Warmest Regards,
Nirmolak Singh