Project

General

Profile

Bug #72011

Automatically enable zfsacl if sysvol supports NFSv4 ACLs

Added by Bug Clerk almost 3 years ago. Updated over 2 years ago.

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

Description

Domain provisioning fails on the first attempt:

set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_PARAMETER.
ERROR(runtime): uncaught exception - (3221225485, 'An invalid parameter was passed to a service or function.')
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line 538, in run
    backend_store=backend_store)
  File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 2315, in provision
    backend_store=backend_store)
  File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1917, in provision_fill
    names.domaindn, lp, use_ntvfs)
  File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1703, in setsysvolacl
    _setntacl(sysvol)
  File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1700, in _setntacl
    service=SYSVOL_SERVICE, session_info=session_info)
  File "/usr/local/lib/python2.7/site-packages/samba/ntacls.py", line 225, in setntacl
    service=service, session_info=session_info)

We get the backtrace because we haven't generated the smb4.conf at this point, which means that zfsacl is not loaded.
This results in a semi-broken AD configuration (including potentially DNS).


Related issues

Copied from FreeNAS - Bug #71849: Incorrect parameters passed for AD domain provisionDone

History

#1 Updated by Bug Clerk almost 3 years ago

  • Copied from Bug #71849: Incorrect parameters passed for AD domain provision added

#2 Updated by Bug Clerk almost 3 years ago

  • Status changed from Unscreened to In Progress

#3 Updated by Dru Lavigne almost 3 years ago

  • Target version changed from Master - FreeNAS Nightlies to 11.2-U3

#4 Updated by Bug Clerk almost 3 years ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from Incorrect parameters passed for AD domain provision to Automatically enable zfsacl if sysvol supports NFSv4 ACLs
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#11 Updated by Jeff Ervin over 2 years ago

60915
60924
60933

Test Passed FreeNAS-11.2-U2-INTERNAL100

Followed test parameters outlined in #71849 by Andrew Walker (see screenshots)

#12 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF