lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
[kai/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first preview release of Samba 4.7.  This is *not*
5 intended for production environments and is designed for testing
6 purposes only.  Please report any defects via the Samba bug reporting
7 system at https://bugzilla.samba.org/.
8
9 Samba 4.7 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15
16 NEW FEATURES/CHANGES
17 ====================
18
19 The "strict sync" global parameter has been changed from
20 a default of "no" to "yes". This means smbd will by default
21 obey client requests to synchronize unwritten data in operating
22 system buffers safely onto disk. This is a safer default setting
23 for modern SMB1/2/3 clients.
24
25 Authentication and Authorization audit support
26 ----------------------------------------------
27
28 Detailed authentication and authorization audit information is now
29 logged to Samba's debug logs under the "auth_audit" debug class,
30 including in particular the client IP address triggering the audit
31 line.  Additionally, if Samba is compiled against the jansson JSON
32 library, a JSON representation is logged under the "auth_json_audit"
33 debug class.
34
35 Audit support is comprehensive for all authentication and
36 authorisation of user accounts in the Samba Active Directory Domain
37 Controller, as well as the implicit authentication in password
38 changes.  In the file server and classic/NT4 domain controller, NTLM
39 authentication, SMB and RPC authorization is covered, however password
40 changes are not at this stage, and this support is not currently
41 backed by a testsuite.
42
43 smb.conf changes
44 ================
45
46   Parameter Name                Description             Default
47   --------------                -----------             -------
48   auth event notification       New parameter           no
49   auth methods                  Deprecated
50   map untrusted to domain       Deprecated
51   strict sync                   Default changed         yes
52
53 Removal of lpcfg_register_defaults_hook()
54 -----------------------------------------
55
56 The undocumented and unsupported function lpcfg_register_defaults_hook()
57 that was used by external projects to call into Samba and modify
58 smb.conf default parameter settings has been removed. If your project
59 was using this call please raise the issue on
60 samba-technical@lists.samba.org in order to design a supported
61 way of obtaining the same functionality.
62
63 Change of loadable module interface
64 -----------------------------------
65
66 The _init function of all loadable modules in Samba has changed
67 from:
68
69 NTSTATUS _init(void);
70
71 to:
72
73 NTSTATUS _init(TALLOC_CTX *);
74
75 This allows a program loading a module to pass in a long-lived
76 talloc context (which must be guaranteed to be alive for the
77 lifetime of the module). This allows modules to avoid use of
78 the talloc_autofree_context() (which is inherently thread-unsafe)
79 and still be valgrind-clean on exit. Modules that don't need to
80 free long-lived data on exist should use the NULL talloc context.
81
82 KNOWN ISSUES
83 ============
84
85 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.7#Release_blocking_bugs
86
87
88 #######################################
89 Reporting bugs & Development Discussion
90 #######################################
91
92 Please discuss this release on the samba-technical mailing list or by
93 joining the #samba-technical IRC channel on irc.freenode.net.
94
95 If you do report problems then please try to send high quality
96 feedback. If you don't provide vital information to help us track down
97 the problem then you will probably be ignored.  All bug reports should
98 be filed under the Samba 4.1 and newer product in the project's Bugzilla
99 database (https://bugzilla.samba.org/).
100
101
102 ======================================================================
103 == Our Code, Our Bugs, Our Responsibility.
104 == The Samba Team
105 ======================================================================
106