Details

    • Help
    • Resolution: Done
    • Blocker
    • None
    • Professional Edition
    • Authentication
    • None

    Description

      I am currently using professional v22.4.11952 for Observium. I am unable to authenticate my Observium via my LDAP server (Windows Server 2019). When 'ldap' is applied, authentication doesn't work. php module required for Observium has already been installed.

      Below is my config.php configuration:

      // Authentication Model
      $config['auth_mechanism'] = "mysql";    // default, other options: ldap, http-auth, please s>

      $config['auth_ldap_binddn'] = "cn=Administrator,cn=Users,dc=domain01,dc=com";
      $config['auth_ldap_bindpw'] = "xxxxxxx";

      $config['auth_ldap_attr']['uid'] = "sAMAccountName";
      $config['auth_ldap_attr']['uidNumber'] = "objectSid";
      $config['auth_ldap_attr']['cn'] = "name";
      $config['auth_ldap_objectclass'] = "user";

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

      $config['auth_ldap_prefix'] = "cn=";
      $config['auth_ldap_suffix'] = ",ou=mvc,DC=domain01,DC=com";
      $config['auth_ldap_group'] = array("cn=gtgroup,ou=mvc,DC=domain01,DC=com");
      $config['auth_ldap_groupbase'] = "cn=gtgroup,ou=mvc,DC=domain01,DC=com";

      $config['auth_ldap_groupmembertype'] = "nondn";
      $config['auth_ldap_groupmemberattr'] = "member";

      unset($config['auth_ldap_groups']);
      $config['auth_ldap_groups']['mvc']['level'] = 10;

       

      Is there something I missing out on my LDAP configuration? Please advice. Thanks

      Attachments

        Activity

          [OBS-4092] LDAP Authentication not Working
          bot Observium Bot made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Resolution New: Done [ 10000 ]
          Status Original: Pending Response [ 10000 ] New: Resolved [ 5 ]

          Can confirm LDAP authentication is working for us.

          vojamo Ville Ojamo added a comment - Can confirm LDAP authentication is working for us.
          adama Adam Armstrong made changes -
          Affects Version/s Original: CE-21.10 [ 10404 ]
          adama Adam Armstrong made changes -
          Issue Type Original: Bug [ 1 ] New: Help [ 10200 ]
          landy Mike Stupalov made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]

          It's difficult to assist with LDAP configuration, since we don't use LDAP, and the configuration is 90% depending upon your LDAP server setup.

          The AD example in our documentation works for default AD setups, beyond that it requires someone experienced in LDAP to know how it should be configured.

          adama Adam Armstrong added a comment - It's difficult to assist with LDAP configuration, since we don't use LDAP, and the configuration is 90% depending upon your LDAP server setup. The AD example in our documentation works for default AD setups, beyond that it requires someone experienced in LDAP to know how it should be configured.
          zTwinkled val added a comment - - edited

          $config['auth_mechanism'] = "ldap"; 

          I've changed my authentication mechanism to 'ldap' & still not working.

          zTwinkled val added a comment - - edited $config ['auth_mechanism'] = "ldap";   I've changed my authentication mechanism to 'ldap' & still not working.
          zTwinkled val created issue -

          People

            landy Mike Stupalov
            zTwinkled val
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: