NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 18 forks source link

Samba 4.7.0 and automatic updates #5356

Closed DavidePrincipi closed 7 years ago

DavidePrincipi commented 7 years ago

See also

Samba 4.7.0 release notes excerpt

Parameter changes
-----------------

The "strict sync" global parameter has been changed from
a default of "no" to "yes". This means smbd will by default
obey client requests to synchronize unwritten data in operating
system buffers safely onto disk. This is a safer default setting
for modern SMB1/2/3 clients.

The 'ntlm auth' option default is renamed to 'ntlmv2-only', reflecting
the previous behaviour.  Two new values have been provided,
'mschapv2-and-ntlmv2-only' (allowing MSCHAPv2 while denying NTLMv1)
and 'disabled', totally disabling NTLM authentication and password
changes.

smb.conf changes
================

  Parameter Name                     Description             Default
  --------------                     -----------             -------
  allow unsafe cluster upgrade       New parameter           no
  auth event notification            New parameter           no
  auth methods                       Deprecated
  client max protocol                Effective               SMB3_11
                                     default changed
  map untrusted to domain            New value/              auto
                                     Default changed/
                                     Deprecated
  mit kdc command                    New parameter
  profile acls                       Deprecated
  rpc server dynamic port range      New parameter           49152-65535
  strict sync                        Default changed         yes
  password hash userPassword schemes New parameter
  ntlm auth                          New values              ntlmv2-only
DavidePrincipi commented 7 years ago

In nethserver-testing (7.4) nethserver-dc-1.2.6-1.1.g2aac841.ns7.x86_64.rpm

DavidePrincipi commented 7 years ago

Test case 1

Test case 2

The upgrade action must not trigger the upgrade event.

DavidePrincipi commented 7 years ago

In nethserver-testing 7.3, 7.4

DavidePrincipi commented 7 years ago

The ns-samba-4.7.0 package has an issue with TDB backups, that was reported here

https://lists.samba.org/archive/samba/2017-October/211499.html

TODO: release this enhancement with Samba 4.6.8, see #5360