FreeNAS/freenas d8ce14fgui/middleware notifier.py, src/middlewared/middlewared/etc_files smb_configure.py

Fix issues with smbpasswd, testparm, and groupmapping
- testparm was failing if path components within Samba's statedir were missing.
  introduced 'smb.getparm' to get around this issue and provide API to get parameters
  from samba's running configuration.
- group_mapping.tdb wasn't being properly managed by account plugin.
  if a group is deleted, then the group_mapping.tdb entry _must_ be deleted.
  work on new API for group_mapping.tdb exposed a race condition in group.create and
  group.update. posix group must exist in order to create a groupmap entry.
- existing passdb.tdb code was not properly setting account flags for locked users.
  pdbedit was returning incorrect user counts when smb.conf had invalid parameters.
  code was not smart enough to determine when passwd hash changed.
DeltaFile
+229-0src/middlewared/middlewared/plugins/smb.py
+42-155src/middlewared/middlewared/etc_files/smb_configure.py
+20-17src/middlewared/middlewared/plugins/account.py
+0-18gui/middleware/notifier.py
+4-2src/middlewared/middlewared/plugins/activedirectory.py
+1-1src/middlewared/middlewared/plugins/kerberos.py
+296-1936 files

UnifiedSplitRaw