Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-14448

LDAP Creation of parent OU should be more lenient

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 5.4.6
    • Component/s: LDAP
    • Labels:
      None

      Description

      LDAP Admin accounts can be restricted to only being allowed to create attributes within a given OU, such as OU=HPCC. When LDAP is initialized, it creates all the OU strings needed using the admin creds, such as

      OU=file,OU=Cluster1,OU=BCT,OU=HPCC
      OU=workunits,OU=Cluster1,OU=BCT,OU=HPCC

      The current code recursively creates the OUs starting with OU=HPCC, then OU=HPCC,OU=BCT and so forth. But because the admin is not allowed to create OU=HPCC, it gets an error and aborts. A better way is to first check for the existence of an OU before trying to create it, or being more lenient with a permissions error if the child OUs are able to be created successfully

        Attachments

          Activity

            People

            • Assignee:
              russwhitehead Russ Whitehead
              Reporter:
              russwhitehead Russ Whitehead
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: