Project

General

Profile

Bug #78852

Fix silent failures to provision in domain controller role for 11.2-stable

Added by Andrew Walker over 2 years ago. Updated over 2 years ago.

Status:
Ready for Testing
Priority:
No priority
Assignee:
Andrew Walker
Category:
Services
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
No
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

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).

History

#1 Updated by Bug Clerk over 2 years ago

  • Status changed from Unscreened to In Progress

#2 Updated by Bug Clerk over 2 years ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by Dru Lavigne over 2 years ago

  • Target version changed from Backlog to 11.2-U4

#4 Updated by Dru Lavigne over 2 years ago

  • Needs Doc changed from Yes to No

Also available in: Atom PDF