The Samba project recently published a new minor release: 4.7.0. Their release schedule suggests a minor release is supported about one year and an half (i.e. 4.4 was released on March '16 and set EOL on Sep '17).
If we release 4.7 together with NethServer 7.4.1708 we could probably switch to 4.8 when 7.5 will be available.
I propose to release 4.7.0 with NethServer 7.4 and implement a new feature: automatic DC updates for the 4.7.x release series (revisions/bugfixes). A prop can be set to disable this new feature and retain the same behavior of ns7.3.
Oct 04 08:07:28 nsdc-pdc-ad.abt.ro systemd[1]: Started Samba domain controller daemon.
Oct 04 08:07:28 nsdc-pdc-ad.abt.ro systemd[1]: Starting Samba domain controller daemon...
Oct 04 08:07:30 nsdc-pdc-ad.abt.ro samba[26]: samba version 4.6.5 started.
Oct 04 08:07:30 nsdc-pdc-ad.abt.ro samba[26]: Copyright Andrew Tridgell and the Samba Team 1992-2017
Oct 04 08:07:33 nsdc-pdc-ad.abt.ro samba[26]: samba: using 'standard' process model
Oct 04 08:07:34 nsdc-pdc-ad.abt.ro winbindd[39]: [2017/10/04 08:07:34.680269, 0] ../source3/winbindd/winbindd_cache.c:3171(initialize_winbindd_cache)
Oct 04 08:07:34 nsdc-pdc-ad.abt.ro winbindd[39]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Oct 04 08:07:38 nsdc-pdc-ad.abt.ro winbindd[39]: [2017/10/04 08:07:38.717222, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 04 08:07:38 nsdc-pdc-ad.abt.ro winbindd[39]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
Oct 04 08:07:39 nsdc-pdc-ad.abt.ro smbd[31]: [2017/10/04 08:07:39.642880, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 04 08:07:39 nsdc-pdc-ad.abt.ro smbd[31]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Oct 06 20:02:52 nsdc-pdc-ad.abt.ro winbindd[39]: [2017/10/06 20:02:52.327946, 0] ../source3/winbindd/winbindd.c:280(winbindd_sig_term_handler)
Oct 06 20:02:53 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 36 on SIGTERM
Oct 06 20:02:53 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 42 on SIGTERM
Oct 06 20:02:53 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 41 on SIGTERM
Oct 06 20:02:53 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 40 on SIGTERM
Oct 06 20:02:53 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 38 on SIGTERM
Oct 06 20:02:53 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 37 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 35 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 34 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 33 on SIGTERM
Oct 06 20:02:52 nsdc-pdc-ad.abt.ro systemd[1]: Stopping Samba domain controller daemon...
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 32 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 30 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 28 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 29 on SIGTERM
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: SIGTERM: killing children
Oct 06 20:02:54 nsdc-pdc-ad.abt.ro samba[26]: Exiting pid 26 on SIGTERM
Oct 06 20:02:56 nsdc-pdc-ad.abt.ro systemd[1]: Stopped Samba domain controller daemon.
-- Reboot --
Oct 06 20:06:37 nsdc-pdc-ad.abt.ro systemd[1]: Started Samba domain controller daemon.
Oct 06 20:06:37 nsdc-pdc-ad.abt.ro systemd[1]: Starting Samba domain controller daemon...
Oct 06 20:06:37 nsdc-pdc-ad.abt.ro samba[27]: samba version 4.7.0 started.
Oct 06 20:06:37 nsdc-pdc-ad.abt.ro samba[27]: Copyright Andrew Tridgell and the Samba Team 1992-2017
Oct 06 20:06:38 nsdc-pdc-ad.abt.ro samba[27]: samba: using 'standard' process model
Oct 06 20:06:39 nsdc-pdc-ad.abt.ro winbindd[43]: [2017/10/06 20:06:39.093964, 0] ../source3/winbindd/winbindd_cache.c:3170(initialize_winbindd_cache)
Oct 06 20:06:39 nsdc-pdc-ad.abt.ro winbindd[43]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Oct 06 20:06:40 nsdc-pdc-ad.abt.ro winbindd[43]: [2017/10/06 20:06:40.795182, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 06 20:06:40 nsdc-pdc-ad.abt.ro winbindd[43]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
Oct 06 20:06:41 nsdc-pdc-ad.abt.ro smbd[32]: [2017/10/06 20:06:41.461394, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 06 20:06:41 nsdc-pdc-ad.abt.ro smbd[32]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro winbindd[54]: [2017/10/06 20:14:55.966187, 0] ../source3/winbindd/winbindd.c:281(winbindd_sig_term_handler)
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 29 on SIGTERM
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro winbindd[54]: Got sig[15] terminate (is_parent=0)
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 31 on SIGTERM
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro winbindd[55]: [2017/10/06 20:14:55.971821, 0] ../source3/winbindd/winbindd.c:281(winbindd_sig_term_handler)
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 34 on SIGTERM
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro winbindd[55]: Got sig[15] terminate (is_parent=0)
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 36 on SIGTERM
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro winbindd[56]: [2017/10/06 20:14:55.977845, 0] ../source3/winbindd/winbindd.c:281(winbindd_sig_term_handler)
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 37 on SIGTERM
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro winbindd[56]: Got sig[15] terminate (is_parent=0)
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 39 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 40 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 41 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 44 on SIGTERM
Oct 06 20:14:55 nsdc-pdc-ad.abt.ro systemd[1]: Stopping Samba domain controller daemon...
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 45 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 33 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 35 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 38 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: SIGTERM: killing children
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: SIGTERM: killing children
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 27 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 44 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 38 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 45 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 37 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 31 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 39 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 34 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 36 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 40 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 29 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 33 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 35 on SIGTERM
Oct 06 20:14:56 nsdc-pdc-ad.abt.ro samba[27]: Exiting pid 41 on SIGTERM
Oct 06 20:14:57 nsdc-pdc-ad.abt.ro systemd[1]: Stopped Samba domain controller daemon.
-- Reboot --
Oct 06 20:15:50 nsdc-pdc-ad.abt.ro systemd[1]: Started Samba domain controller daemon.
Oct 06 20:15:50 nsdc-pdc-ad.abt.ro systemd[1]: Starting Samba domain controller daemon...
Oct 06 20:15:51 nsdc-pdc-ad.abt.ro samba[26]: samba version 4.7.0 started.
Oct 06 20:15:51 nsdc-pdc-ad.abt.ro samba[26]: Copyright Andrew Tridgell and the Samba Team 1992-2017
Oct 06 20:15:56 nsdc-pdc-ad.abt.ro samba[26]: samba: using 'standard' process model
Oct 06 20:15:58 nsdc-pdc-ad.abt.ro winbindd[42]: [2017/10/06 20:15:58.351750, 0] ../source3/winbindd/winbindd_cache.c:3170(initialize_winbindd_cache)
Oct 06 20:15:58 nsdc-pdc-ad.abt.ro winbindd[42]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Oct 06 20:16:01 nsdc-pdc-ad.abt.ro smbd[32]: [2017/10/06 20:16:01.023487, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 06 20:16:01 nsdc-pdc-ad.abt.ro smbd[32]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Oct 06 20:16:01 nsdc-pdc-ad.abt.ro winbindd[42]: [2017/10/06 20:16:01.087503, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 06 20:16:01 nsdc-pdc-ad.abt.ro winbindd[42]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
lines 2092-2135/2135 (END)
Tested on 7.4b1 fully updated with the testing packages.
Shared folder auth read and write tests:
guest share
home share
non browsable acl share
user and group acl
User/group creation:
Create user
Create group with members
Joining workstation:
Win 7
Win 10
Browse NSDC
Reboot Nethserver and check if samba still works
No errors in log files. Earlier when Nethserver booted and I browsed to Dashboard too fast I had AccountProvider Error 1 in Dashboard, this is away now (or I was too slow).
I definitely agree. While implementing my initial proposal I recalled the reason because a “manual update” button exists is behind our little experience about how the Samba project releases its updates and if applying them is safe enough.
After some month, four patch releases and a minor release too, I’m confident with it and I think this safety measure is useless because we run update test during the QA phase and we can decide to disable new features from Samba selectively.
So I fully endorse @giacomo’s proposal: let’s remove it and make it simple.
In the future, we’ll add a “Configuration” panel if we need to selectively disable/enable specific features. For instance “NTLM compatibility” flag for legacy printers (already planned).
Debuginfo are special packages associated to an arch-dependant package. They are useful to debug application crashes and inspect stack traces. They aren’t required during normal system run time.
About “nethserver-dc-debuginfo” module (i know for what it use), I saw it listed in github and I want just to inform about this. I understand now that can be installed separately and is available for NS 7.3 and 7.4.
Thanks to @GG_jr and @mrmarkuz we discovered an issue with Samba 4.7 in the backup-config procedure.
We can’t release Samba 4.7.0 by now, we must wait until that issue is solved. However the new “automatic updates” policy can be released, so I’m preparing the latest ns-samba package from branch 4.6 for NethServer 7.4.