$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'] = "person"; $config['auth_ldap_version'] = 3; $config['auth_ldap_server'] = "dc1.foo.bar"; $config['auth_ldap_port'] = 389; $config['auth_ldap_starttls'] = "require"; $config['auth_ldap_prefix'] = "cn="; $config['auth_ldap_suffix'] = ",OU=Accounts,DC=foo,DC=bar"; $config['auth_ldap_group'] = array("cn=Observium_Users,ou=Service,ou=Misc,dc=foo,dc=bar"); $config['auth_ldap_groupbase'] = "ou=Service,ou=Misc,dc=foo,dc=bar"; $config['auth_ldap_groupmembertype'] = "fulldn"; $config['auth_ldap_groupmemberattr'] = "member"; unset($config['auth_ldap_groups']); $config['auth_ldap_groups']['cn=Observium_Admins,ou=Service,ou=Misc,dc=foo,dc=bar']['level'] = 10; $config['auth_ldap_groups']['cn=Observium_Global_Read,ou=Service,ou=Misc,dc=foo,dc=bar']['level'] = 7; $config['auth_ldap_groups']['cn=Observium_Users,ou=Service,ou=Misc,dc=foo,dc=bar']['level'] = 1;