Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101050

Fix silent failures when provisioning domain controller role

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 11.2-U4
    • Component/s: Services
    • Labels:
      None

      Description

      Domain controller role in until now has failure mode where errors in setting the sysvol ACL can leave the ldb with errors resulting in undefined Samba behavior. These errors aren't properly reported in the FreeNAS UI. Since the current implementation of the DC role uses a sentinel file to indicate that the domain has been provisioned (which doesn't get set during the aforementioned partial provisioning failure), subsequent service restarts of the DC role. Implement following improvements:

      • Move provisioning to middleware plugin and raise exception in case of failure to provision.
      • Set ZFS User Property to indicate that the domain has been provisioned successfully (this is less likely to be accidentally removed by users).

        Attachments

          Activity

            People

            Assignee:
            awalker Andrew Walker
            Reporter:
            awalker Andrew Walker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Summary Panel