Merge ~ahasenack/ubuntu/+source/samba:noble-samba-merge-1 into ubuntu/+source/samba:debian/sid

Proposed by Andreas Hasenack
Status: Merged
Approved by: Andreas Hasenack
Approved revision: 2c0ef4f6a5f92297b8854ff9eecd2b086113dc3c
Merge reported by: git-ubuntu bot
Merged at revision: 2c0ef4f6a5f92297b8854ff9eecd2b086113dc3c
Proposed branch: ~ahasenack/ubuntu/+source/samba:noble-samba-merge-1
Merge into: ubuntu/+source/samba:debian/sid
Diff against target: 3610 lines (+3180/-8)
7 files modified
debian/changelog (+2622/-0)
debian/control (+30/-4)
debian/rules (+11/-3)
debian/samba-vfs-modules-extra.install (+4/-0)
debian/tests/control (+4/-0)
debian/tests/samba-ad-dc-provisioning-internal-dns (+398/-0)
debian/tests/util (+111/-1)
Reviewer Review Type Date Requested Status
Sergio Durigan Junior (community) Approve
Canonical Server Reporter Pending
Review via email: mp+458713@code.launchpad.net

Description of the change

PPA: https://launchpad.net/~ahasenack/+archive/ubuntu/samba-merge

Samba merge from debian. Dropped some i386 compatbility changes that debian incorporated by their decision to not ship/build ceph and gluster in 32bit architectures.

The extra dep on python3-markdown was submitted to debian via [3].

Noteworthy in this branch is the split of samba-vfs-modules into samba-vfs-modules and samba-vfs-modules-extra, due to the gluster upcoming demotion to universe.

The gluster fuse module doesn't strictly need to go into universe, and thus samba-vfs-modules-extra, but I felt it would be more confusing if it didn't. I can revert that and move only the actual gluster module that pulls in the gluster dependencies.

Also noteworthy is that the gluster libraries are not available in 32bit architectures (i386 and armhf in ubuntu's case), which means that right now samba-vfs-modules-extra won't exist in 32bit architectures, otherwise it would be an empty package. I *think* the *fuse* gluster module can also not be used in 32bit architectures, because it still requires a gluster mount. But debian still ships[1] it in armhf, for example.

This packaging change will require a change to do-release-upgrade to install samba-vfs-modules-extra in release upgrades to noble, if samba-vfs-modules is installed. That is upcoming, and is a task of the glusterfs demotion bug[2].

1. https://packages.debian.org/sid/armhf/samba-vfs-modules/filelist
2. https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2045063
3. https://salsa.debian.org/samba-team/samba/-/merge_requests/62

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks, Andreas.

Package builds fine and dep8 tests are OK (although not all architectures have been tested). range-diff seems OK.

I'm impressed by the amount of changes under the debian/ directory. There have been quite a few changes to the maintainer scripts, which makes me a bit anxious. The fact that we have comprehensive tests for the package helps a lot.

I spent some time going through the changes under debian/ and couldn't find anything else to comment. Therefore: LGTM, +1.

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks, uploaded:

Uploading samba_4.19.4+dfsg-2ubuntu1.dsc
Uploading samba_4.19.4+dfsg-2ubuntu1.debian.tar.xz
Uploading samba_4.19.4+dfsg-2ubuntu1_source.buildinfo
Uploading samba_4.19.4+dfsg-2ubuntu1_source.changes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 1af5f13..bb64924 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,35 @@
6+samba (2:4.19.4+dfsg-2ubuntu1) noble; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #2040363). Remaining changes:
9+ - debian/control: Ubuntu i386 binary compatibility:
10+ + enable the liburing vfs module, except on i386 where liburing is
11+ not available
12+ - d/t/control, d/t/util,d/t/samba-ad-dc-provisioning-internal-dns:
13+ samba AD DC provisioning and domain join tests with internal DNS
14+ (LP #1977746, LP #2011745)
15+ - d/control: adjust breaks/replaces for file move that Debian did in
16+ 4.16.6+dfsg-5, and Ubuntu only did in 4.17.7+dfsg-1ubuntu1, to avoid
17+ file conflict in a dist-upgrade from earlier Ubuntu releases, like
18+ Kinetic (LP #2024663)
19+ * Dropped:
20+ - d/rules: ceph is not available in Ubuntu i386, disable it
21+ [In 2:4.19.1+dfsg-1]
22+ - debian/control: Ubuntu i386 binary compatibility:
23+ + drop ceph support
24+ [In 2:4.19.1+dfsg-1]
25+ * Added:
26+ - d/control: python3-samba has a runtime dep on python3-markdown
27+ - glusterfs is no longer in main, create new binary package in
28+ universe to ship the samba glusterfs vfs modules and manpages
29+ (LP: #2045063):
30+ + d/control: new samba-vfs-modules-glusterfs package
31+ + d/rules: glusterfs vfs modules and manpages are now in the
32+ samba-vfs-modules-extra package
33+ + d/samba-vfs-modules-extra.install: add glusterfs vfs modules and
34+ manpage
35+
36+ -- Andreas Hasenack <andreas@canonical.com> Mon, 15 Jan 2024 12:21:28 -0300
37+
38 samba (2:4.19.4+dfsg-2) unstable; urgency=medium
39
40 * d/samba.smbd.service, d/samba.nmbd.service: expand forgotten @BINDIR@
41@@ -182,6 +214,71 @@ samba (2:4.19.0+dfsg-1) unstable; urgency=medium
42
43 -- Michael Tokarev <mjt@tls.msk.ru> Mon, 04 Sep 2023 22:57:48 +0300
44
45+samba (2:4.18.6+dfsg-1ubuntu2.2) noble; urgency=medium
46+
47+ * No-change rebuild for ICU soname change.
48+
49+ -- Matthias Klose <doko@ubuntu.com> Tue, 19 Dec 2023 18:41:25 +0100
50+
51+samba (2:4.18.6+dfsg-1ubuntu2.1) mantic-security; urgency=medium
52+
53+ * SECURITY UPDATE: SMB clients can truncate files with read-only
54+ permissions
55+ - debian/patches/CVE-2023-4091-*.patch
56+ - CVE-2023-4091
57+ * SECURITY UPDATE: Samba AD DC password exposure to privileged users and
58+ RODCs
59+ - debian/patches/CVE-2023-4154-*.patch
60+ - CVE-2023-4154
61+ * SECURITY UPDATE: rpcecho development server allows Denial of Service
62+ via sleep() call on AD DC
63+ - debian/patches/CVE-2023-42669-*.patch
64+ - CVE-2023-42669
65+ * SECURITY UPDATE: Samba AD DC Busy RPC multiple listener DoS
66+ - debian/patches/CVE-2023-42670-*.patch
67+ - CVE-2023-42670
68+
69+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 10 Oct 2023 12:25:20 -0400
70+
71+samba (2:4.18.6+dfsg-1ubuntu2) mantic; urgency=medium
72+
73+ * No-change rebuild with glusterfs 10.3 (LP: #2035127)
74+
75+ -- Andreas Hasenack <andreas@canonical.com> Wed, 13 Sep 2023 09:57:01 -0300
76+
77+samba (2:4.18.6+dfsg-1ubuntu1) mantic; urgency=medium
78+
79+ * Merge with Debian unstable (LP: #2031655, LP: #2031619). Remaining changes:
80+ - debian/control: Ubuntu i386 binary compatibility:
81+ + drop ceph support
82+ + enable the liburing vfs module, except on i386 where liburing is
83+ not available
84+ - d/t/control, d/t/util,d/t/samba-ad-dc-provisioning-internal-dns:
85+ samba AD DC provisioning and domain join tests with internal DNS
86+ (LP #1977746, LP #2011745)
87+ * Dropped:
88+ - build-depend on libglusterfs-dev only on !i386 arches
89+ [In 2:4.18.5+dfsg-2]
90+ - Add changes to fix uncaught exception when updating old password
91+ containing regex metacharacters by simplifying samba-tool password
92+ redaction (LP #2002949).
93+ + d/p/lib-cmdline-Return-if-the-commandline-was-redacted-i.patch
94+ + d/p/lib-cmdline-Also-redact-newpassword-in-samba_cmdline.patch
95+ + d/p/lib-cmdline-Also-burn-the-password2-parameter-if-giv.patch
96+ + d/p/samba-tool-Use-samba.glue.get_burnt_cmdline-rather-t.patch
97+ + d/p/python-Add-glue.burn_commandline-method.patch
98+ + d/p/python-Move-PyList_AsStringList-to-common-code-so-we.patch
99+ + d/p/python-Remove-const-from-PyList_AsStringList.patch
100+ [Fixed upstream in 4.18.6]
101+ * Added:
102+ - d/control: adjust breaks/replaces for file move that Debian did in
103+ 4.16.6+dfsg-5, and Ubuntu only did in 4.17.7+dfsg-1ubuntu1, to avoid
104+ file conflict in a dist-upgrade from earlier Ubuntu releases, like
105+ Kinetic (LP: #2024663)
106+ - d/rules: ceph is not available in Ubuntu i386, disable it
107+
108+ -- Andreas Hasenack <andreas@canonical.com> Thu, 17 Aug 2023 09:52:00 -0300
109+
110 samba (2:4.18.6+dfsg-1) unstable; urgency=medium
111
112 * new upstream stable/bugfix release:
113@@ -242,6 +339,38 @@ samba (2:4.18.5+dfsg-2) unstable; urgency=medium
114
115 -- Michael Tokarev <mjt@tls.msk.ru> Fri, 04 Aug 2023 17:29:06 +0300
116
117+samba (2:4.18.5+dfsg-1ubuntu2) mantic; urgency=medium
118+
119+ * Add changes to fix uncaught exception when updating old password
120+ containing regex metacharacters by simplifying samba-tool password
121+ redaction (LP: #2002949).
122+ - d/p/lib-cmdline-Return-if-the-commandline-was-redacted-i.patch
123+ - d/p/lib-cmdline-Also-redact-newpassword-in-samba_cmdline.patch
124+ - d/p/lib-cmdline-Also-burn-the-password2-parameter-if-giv.patch
125+ - d/p/samba-tool-Use-samba.glue.get_burnt_cmdline-rather-t.patch
126+ - d/p/python-Add-glue.burn_commandline-method.patch
127+ - d/p/python-Move-PyList_AsStringList-to-common-code-so-we.patch
128+ - d/p/python-Remove-const-from-PyList_AsStringList.patch
129+
130+ -- Michal Maloszewski <michal.maloszewski@canonical.com> Fri, 28 Jul 2023 00:55:03 +0200
131+
132+samba (2:4.18.5+dfsg-1ubuntu1) mantic; urgency=medium
133+
134+ * Merge with Debian unstable (LP: #2028265, LP: #2027716). Remaining
135+ changes:
136+ - debian/control: Ubuntu i386 binary compatibility:
137+ + drop ceph support
138+ + enable the liburing vfs module, except on i386 where liburing is
139+ not available
140+ + build-depend on libglusterfs-dev only on !i386 arches
141+ - d/t/control, d/t/util,d/t/samba-ad-dc-provisioning-internal-dns:
142+ samba AD DC provisioning and domain join tests with internal DNS
143+ (LP #1977746, LP #2011745)
144+ - d/t/util: reload instead of restarting samba, as it's quicker and
145+ has the same effect we want in this test
146+
147+ -- Andreas Hasenack <andreas@canonical.com> Thu, 20 Jul 2023 10:15:22 -0300
148+
149 samba (2:4.18.5+dfsg-1) unstable; urgency=medium
150
151 * new upstream stable/security release 4.18.5, including:
152@@ -319,6 +448,23 @@ samba (2:4.18.4+dfsg-1) unstable; urgency=medium
153
154 -- Michael Tokarev <mjt@tls.msk.ru> Wed, 05 Jul 2023 18:14:20 +0300
155
156+samba (2:4.18.3+dfsg-3ubuntu1) mantic; urgency=medium
157+
158+ * Merge with Debian unstable (LP: #2018054). Remaining changes:
159+ - debian/control: Ubuntu i386 binary compatibility:
160+ + drop ceph support
161+ + enable the liburing vfs module, except on i386 where liburing is
162+ not available
163+ + build-depend on libglusterfs-dev only on !i386 arches
164+ - d/t/control, d/t/util,d/t/samba-ad-dc-provisioning-internal-dns:
165+ samba AD DC provisioning and domain join tests with internal DNS
166+ (LP #1977746, LP #2011745)
167+ * Added changes:
168+ - d/t/util: reload instead of restarting samba, as it's quicker and
169+ has the same effect we want in this test
170+
171+ -- Andreas Hasenack <andreas@canonical.com> Thu, 22 Jun 2023 11:59:19 -0300
172+
173 samba (2:4.18.3+dfsg-3) unstable; urgency=medium
174
175 * d/rules: query for DEB_HOST_ARCH, not DEB_HOST_ARCH_CPU,
176@@ -477,6 +623,20 @@ samba (2:4.18.0+dfsg-1~exp1) experimental; urgency=medium
177
178 -- Michael Tokarev <mjt@tls.msk.ru> Thu, 09 Mar 2023 14:47:05 +0300
179
180+samba (2:4.17.7+dfsg-1ubuntu1) lunar; urgency=medium
181+
182+ * Merge with Debian unstable (LP: #2014052). Remaining changes:
183+ - debian/control: Ubuntu i386 binary compatibility:
184+ + drop ceph support
185+ + enable the liburing vfs module, except on i386 where liburing is
186+ not available
187+ + build-depend on libglusterfs-dev only on !i386 arches
188+ - d/t/control, d/t/util,d/t/samba-ad-dc-provisioning-internal-dns:
189+ samba AD DC provisioning and domain join tests with internal DNS
190+ (LP #1977746, LP #2011745)
191+
192+ -- Andreas Hasenack <andreas@canonical.com> Fri, 31 Mar 2023 15:26:11 -0300
193+
194 samba (2:4.17.6+dfsg-1) unstable; urgency=medium
195
196 * new upstream stable/bugfix release 4.17.6:
197@@ -504,6 +664,38 @@ samba (2:4.17.6+dfsg-1) unstable; urgency=medium
198
199 -- Michael Tokarev <mjt@tls.msk.ru> Thu, 09 Mar 2023 12:52:14 +0300
200
201+samba (2:4.17.5+dfsg-2ubuntu3) lunar; urgency=medium
202+
203+ * Add domain join tests (LP: #2011745):
204+ - d/t/control: update dependencies for samba AD provisioning test,
205+ which now also includes a member server join test
206+ - d/t/util, d/t/samba-ad-dc-*: add member server join tests
207+
208+ -- Andreas Hasenack <andreas@canonical.com> Wed, 15 Mar 2023 20:49:56 -0300
209+
210+samba (2:4.17.5+dfsg-2ubuntu2) lunar; urgency=medium
211+
212+ * d/t/samba-ad-dc-provisioning-internal-dns: test improvements
213+ (LP: #2009485):
214+ - increase kinit timeout, as it also does DNS lookups
215+ - add a trap on exit to show logs in the case of some failure
216+
217+ -- Andreas Hasenack <andreas@canonical.com> Mon, 06 Mar 2023 11:49:34 -0300
218+
219+samba (2:4.17.5+dfsg-2ubuntu1) lunar; urgency=medium
220+
221+ * Merge with Debian unstable (LP: #2002181). Remaining changes:
222+ - debian/control: Ubuntu i386 binary compatibility:
223+ + drop ceph support
224+ + enable the liburing vfs module, except on i386 where liburing is
225+ not available
226+ + build-depend on libglusterfs-dev only on !i386 arches
227+ * Added:
228+ - d/t/control, d/t/samba-ad-dc-provisioning-internal-dns: samba AD
229+ DC provisioning test with internal DNS (LP: #1977746)
230+
231+ -- Andreas Hasenack <andreas@canonical.com> Sun, 05 Feb 2023 13:47:57 -0300
232+
233 samba (2:4.17.5+dfsg-2) unstable; urgency=medium
234
235 * d/control: samba: depends on exact version of python3-samba
236@@ -656,6 +848,43 @@ samba (2:4.17.3+dfsg-4) unstable; urgency=medium
237
238 -- Michael Tokarev <mjt@tls.msk.ru> Mon, 05 Dec 2022 14:39:43 +0300
239
240+samba (2:4.17.3+dfsg-3ubuntu2) lunar; urgency=medium
241+
242+ * No-change rebuild with Python 3.11 as default
243+
244+ -- Graham Inggs <ginggs@ubuntu.com> Mon, 26 Dec 2022 18:01:11 +0000
245+
246+samba (2:4.17.3+dfsg-3ubuntu1) lunar; urgency=medium
247+
248+ * Merge with Debian unstable (LP: #1993380). Remaining changes:
249+ - debian/control: Ubuntu i386 binary compatibility:
250+ + drop ceph support
251+ - d/control: enable the liburing vfs module, except on i386 where
252+ liburing is not available
253+ - d/control: build-depend on libglusterfs-dev only on !i386 arches
254+ * Dropped:
255+ - debian/smb.conf;
256+ + Add "(Samba, Ubuntu)" to server string.
257+ [In 2:4.16.6+dfsg-1]
258+ + Comment out the default [homes] share, and add a comment about
259+ "valid users = %s" to show users how to restrict access to
260+ \\server\username to only username.
261+ [In 2:4.16.6+dfsg-1]
262+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
263+ Skip running the tests if on i386 platform, because the uring
264+ package is not available there.
265+ [In 2:4.16.6+dfsg-1, improved]
266+ - d/t/util: fix setting the password of the smb test user
267+ (LP #1955851)
268+ [In 2:4.16.5+dfsg-2]
269+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
270+ [Implemented dynamically in d/rules in 2:4.16.6+dfsg-6]
271+ - d/rules: in Ubuntu, glusterfs is not built for i386, so don't
272+ enable the samba glusterfs vfs mofule in that case
273+ [In 2:4.16.6+dfsg-1]
274+
275+ -- Andreas Hasenack <andreas@canonical.com> Tue, 13 Dec 2022 18:36:23 -0300
276+
277 samba (2:4.17.3+dfsg-3) unstable; urgency=medium
278
279 * d/control: winbind should depend on the same binary:Version
280@@ -952,6 +1181,30 @@ samba (2:4.16.5+dfsg-1) unstable; urgency=medium
281
282 -- Michael Tokarev <mjt@tls.msk.ru> Thu, 08 Sep 2022 12:44:38 +0300
283
284+samba (2:4.16.4+dfsg-2ubuntu1) kinetic; urgency=medium
285+
286+ * Merge with Debian unstable. Remaining changes:
287+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
288+ - debian/smb.conf;
289+ + Add "(Samba, Ubuntu)" to server string.
290+ + Comment out the default [homes] share, and add a comment about
291+ "valid users = %s" to show users how to restrict access to
292+ \\server\username to only username.
293+ - debian/control: Ubuntu i386 binary compatibility:
294+ + drop ceph support
295+ - d/control: enable the liburing vfs module, except on i386 where
296+ liburing is not available
297+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
298+ Skip running the tests if on i386 platform, because the uring
299+ package is not available there.
300+ - d/t/util: fix setting the password of the smb test user
301+ (LP #1955851)
302+ - d/rules: in Ubuntu, glusterfs is not built for i386, so don't
303+ enable the samba glusterfs vfs mofule in that case
304+ - d/control: build-depend on libglusterfs-dev only on !i386 arches
305+
306+ -- Andreas Hasenack <andreas@canonical.com> Tue, 02 Aug 2022 09:30:05 -0300
307+
308 samba (2:4.16.4+dfsg-2) unstable; urgency=medium
309
310 * d/libldb2.symbols: include newly added symbols
311@@ -980,6 +1233,62 @@ samba (2:4.16.4+dfsg-1) unstable; urgency=high
312
313 -- Michael Tokarev <mjt@tls.msk.ru> Wed, 27 Jul 2022 18:35:53 +0300
314
315+samba (2:4.16.3+dfsg-1ubuntu1) kinetic; urgency=medium
316+
317+ * Merge with Debian unstable (LP: #1982116). Remaining changes:
318+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
319+ - debian/smb.conf;
320+ + Add "(Samba, Ubuntu)" to server string.
321+ + Comment out the default [homes] share, and add a comment about
322+ "valid users = %s" to show users how to restrict access to
323+ \\server\username to only username.
324+ - debian/control: Ubuntu i386 binary compatibility:
325+ + drop ceph support
326+ - d/control: enable the liburing vfs module, except on i386 where
327+ liburing is not available
328+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
329+ Skip running the tests if on i386 platform, because the uring
330+ package is not available there.
331+ - d/t/util: fix setting the password of the smb test user
332+ (LP #1955851)
333+ - d/rules: in Ubuntu, glusterfs is not built for i386, so don't
334+ enable the samba glusterfs vfs mofule in that case
335+ - d/control: build-depend on libglusterfs-dev only on !i386 arches
336+ * Dropped:
337+ - Update nfs scripts for new nfs.conf config (LP: #1961840):
338+ + d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: updated to use
339+ nfsconf(8) if it's available, instead of parsing the old config
340+ files in /etc/default/nfs-*
341+ [In 2:4.16.3+dfsg-1]
342+ + d/ctdb.example/nfs-kernel-server/nfs.conf: /etc/nfs.conf to be
343+ used by the example enable-nfs.sh example script
344+ [In 2:4.16.3+dfsg-1]
345+ + d/ctdb.example/nfs-kernel-server/quota: quota config file to be
346+ used by the example enable-nfs.sh script
347+ [In 2:4.16.3+dfsg-1]
348+ + d/ctdb.example/nfs-kernel-server/nfs-{common,kernel-server}:
349+ obsolete, replaced by nfs.conf
350+ [In 2:4.16.3+dfsg-1]
351+ + d/ctdb.example/nfs-kernel-server/enable-nfs.sh: handle new
352+ nfs.conf and other changes in the new nfs server packages
353+ [In 2:4.16.3+dfsg-1]
354+ - Fix abort when deleting a file and "fruit:resource = stream" is
355+ used. (LP #1977491)
356+ + d/p/lp1977491-dont-crash-on-vfs_fruit-resource-stream-01.patch:
357+ Add test that shows smbd crashing when deleting a file while using
358+ vfs_fruit with "fruit:resource = stream".
359+ + d/p/lp1977491-dont-crash-on-vfs_fruit-resource-stream-02.patch:
360+ Handle file deleting when "fruit:resource = stream" is used.
361+ [Fixed upstream]
362+ - Build dlz module for bind 9.18.x (LP #1964032)
363+ + d/p/add-support-for-bind-918.patch: build a dlz module for
364+ bind 9.18.x
365+ + d/p/add-support-for-bind-918-2.patch: also update the
366+ provisioning tool and template config file
367+ [Fixed upstream]
368+
369+ -- Andreas Hasenack <andreas@canonical.com> Fri, 29 Jul 2022 17:09:27 -0300
370+
371 samba (2:4.16.3+dfsg-1) unstable; urgency=medium
372
373 [ Michael Tokarev ]
374@@ -991,6 +1300,54 @@ samba (2:4.16.3+dfsg-1) unstable; urgency=medium
375
376 -- Michael Tokarev <mjt@tls.msk.ru> Mon, 18 Jul 2022 17:15:07 +0300
377
378+samba (2:4.16.2+dfsg-1ubuntu1) kinetic; urgency=medium
379+
380+ * Merge with Debian unstable. Remaining changes:
381+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
382+ - debian/smb.conf;
383+ + Add "(Samba, Ubuntu)" to server string.
384+ + Comment out the default [homes] share, and add a comment about
385+ "valid users = %s" to show users how to restrict access to
386+ \\server\username to only username.
387+ - debian/control: Ubuntu i386 binary compatibility:
388+ + drop ceph support
389+ - d/control: enable the liburing vfs module, except on i386 where
390+ liburing is not available
391+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
392+ Skip running the tests if on i386 platform, because the uring
393+ package is not available there.
394+ - d/t/util: fix setting the password of the smb test user
395+ (LP #1955851)
396+ - Update nfs scripts for new nfs.conf config (LP #1961840):
397+ + d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: updated to use
398+ nfsconf(8) if it's available, instead of parsing the old config
399+ files in /etc/default/nfs-*
400+ + d/ctdb.example/nfs-kernel-server/nfs.conf: /etc/nfs.conf to be
401+ used by the example enable-nfs.sh example script
402+ + d/ctdb.example/nfs-kernel-server/quota: quota config file to be
403+ used by the example enable-nfs.sh script
404+ + d/ctdb.example/nfs-kernel-server/nfs-{common,kernel-server}:
405+ obsolete, replaced by nfs.conf
406+ + d/ctdb.example/nfs-kernel-server/enable-nfs.sh: handle new
407+ nfs.conf and other changes in the new nfs server packages
408+ - Build dlz module for bind 9.18.x (LP #1964032)
409+ + d/p/add-support-for-bind-918.patch: build a dlz module for
410+ bind 9.18.x
411+ + d/p/add-support-for-bind-918-2.patch: also update the
412+ provisioning tool and template config file
413+ - d/rules: in Ubuntu, glusterfs is not built for i386, so don't
414+ enable the samba glusterfs vfs mofule in that case
415+ - d/control: build-depend on libglusterfs-dev only on !i386 arches
416+ - Fix abort when deleting a file and "fruit:resource = stream" is
417+ used. (LP #1977491)
418+ + d/p/lp1977491-dont-crash-on-vfs_fruit-resource-stream-01.patch:
419+ Add test that shows smbd crashing when deleting a file while using
420+ vfs_fruit with "fruit:resource = stream".
421+ + d/p/lp1977491-dont-crash-on-vfs_fruit-resource-stream-02.patch:
422+ Handle file deleting when "fruit:resource = stream" is used.
423+
424+ -- Andreas Hasenack <andreas@canonical.com> Mon, 27 Jun 2022 18:32:00 -0300
425+
426 samba (2:4.16.2+dfsg-1) unstable; urgency=medium
427
428 * new upstream minor/bugfix release.
429@@ -1012,6 +1369,111 @@ samba (2:4.16.2+dfsg-1) unstable; urgency=medium
430
431 -- Michael Tokarev <mjt@tls.msk.ru> Mon, 13 Jun 2022 19:08:44 +0300
432
433+samba (2:4.16.1+dfsg-8ubuntu2) kinetic; urgency=medium
434+
435+ * Fix abort when deleting a file and "fruit:resource = stream" is
436+ used. (LP: #1977491)
437+ - d/p/lp1977491-dont-crash-on-vfs_fruit-resource-stream-01.patch:
438+ Add test that shows smbd crashing when deleting a file while using
439+ vfs_fruit with "fruit:resource = stream".
440+ - d/p/lp1977491-dont-crash-on-vfs_fruit-resource-stream-02.patch:
441+ Handle file deleting when "fruit:resource = stream" is used.
442+
443+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 20 Jun 2022 19:09:25 -0400
444+
445+samba (2:4.16.1+dfsg-8ubuntu1) kinetic; urgency=medium
446+
447+ * Merge with Debian unstable (LP: #1971256, LP: #1846947). Remaining
448+ changes:
449+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
450+ - debian/smb.conf;
451+ + Add "(Samba, Ubuntu)" to server string.
452+ + Comment out the default [homes] share, and add a comment about
453+ "valid users = %s" to show users how to restrict access to
454+ \\server\username to only username.
455+ - debian/control: Ubuntu i386 binary compatibility:
456+ + drop ceph support
457+ - d/control: enable the liburing vfs module, except on i386 where
458+ liburing is not available
459+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
460+ Skip running the tests if on i386 platform, because the uring
461+ package is not available there.
462+ - d/t/util: fix setting the password of the smb test user
463+ (LP #1955851)
464+ - Update nfs scripts for new nfs.conf config (LP #1961840):
465+ + d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: updated to use
466+ nfsconf(8) if it's available, instead of parsing the old config
467+ files in /etc/default/nfs-*
468+ + d/ctdb.example/nfs-kernel-server/nfs.conf: /etc/nfs.conf to be
469+ used by the example enable-nfs.sh example script
470+ + d/ctdb.example/nfs-kernel-server/ctdb.example.quota: quota
471+ config file to be used by the example enable-nfs.sh script
472+ + d/ctdb.example/nfs-kernel-server/nfs-{common,kernel-server}:
473+ obsolete, replaced by nfs.conf
474+ + d/ctdb.example/nfs-kernel-server/enable-nfs.sh: handle new
475+ nfs.conf and other changes in the new nfs server packages
476+ - Build dlz module for bind 9.18.x (LP #1964032)
477+ + d/p/add-support-for-bind-918.patch: build a dlz module for
478+ bind 9.18.x
479+ + d/p/add-support-for-bind-918-2.patch: also update the
480+ provisioning tool and template config file
481+ - d/rules: in Ubuntu, glusterfs is not built for i386, so don't
482+ enable the samba glusterfs vfs mofule in that case
483+ - d/control: build-depend on libglusterfs-dev only on !i386 arches
484+ * Dropped:
485+ - d/control: add a versioned libgnutls28-dev build-depends to reduce
486+ the amount of in-tree crypto code that is built
487+ [superfluous, the version in the archive is recent enough]
488+ - d/samba.postinst: do not populate sambashare from the Ubuntu admin group (LP 1942195)
489+ [Included in 2:4.13.13+dfsg-1]
490+ - d/control: bump required build-depends
491+ [Included in Debian]
492+ - d/samba-libs.install: update list of installed libraries and
493+ modules/plugins
494+ [Done in Debian]
495+ - debian/patches/CVE-2021-20254.patch: removed, applied upstream
496+ [Applied upstream, Debian didn't have this patch]
497+ - d/p/Rename-mdfind-to-mdsearch.patch: removed, applied usptream
498+ [Applied usptream, Debian did not have it]
499+ - d/{gpb.conf,watch,README.source}: update for 4.15
500+ [Debian updated it for 4.16]
501+ - d/rules: remove --with-dnsupdate, it was merged with
502+ --with-ads in samba 4.15.0
503+ [Included in 2:4.16.0+dfsg-1]
504+ - d/rules: drop removal of ctdb tests, they are no longer installed
505+ [Included in 2:4.16.0+dfsg-1]
506+ - Remove findsmb, no longer installed:
507+ + d/smbclient.install: remove findsmb
508+ + d/rules: drop fixing of findsmb shebang
509+ [Included in 2:4.16.0+dfsg-1]
510+ - d/ctdb.install: remove ctdb_local_daemons, part of ctdb tests,
511+ no longer installed
512+ [Included in 2:4.16.0+dfsg-1]
513+ - d/ctdb.install: add tdb_mutex_check
514+ [Included in 2:4.16.0+dfsg-1]
515+ - d/winbind.install: add async_dns_krb5_locator
516+ [Included in 2:4.16.0+dfsg-1]
517+ - d/samba.install: install samba-bgqd and its manpage
518+ [Included in 2:4.16.0+dfsg-1]
519+ - d/{libsmbclient,libwbclient0}.symbols: symbols updates
520+ [Obsolete, these were for 4.15.5]
521+ - d/rules: drop dh_perl override, unneeded
522+ [Included in 2:4.16.0+dfsg-1]
523+ - d/p/lp-1951490-fix-printing-KB5006743.patch: Fix printing after
524+ Windows 2021-10 Monthly Rollup patch (LP #1951490)
525+ [Included upstream in 4.16.0rc2]
526+ - d/rules: install the new/changed ctdb example nfs files
527+ [Installed via ctdb.examples]
528+ * Added:
529+ - rename ctdb example files nfs.conf and quota, to match what the
530+ enable-nfs.sh script expects
531+ - enable-nfs.sh ctdb example: use debian's filename for the
532+ static port sysctl configuration
533+ - enable-nfs.sh: in ctdb 4.16, the "recovery lock" config option was
534+ renamed to "cluster lock"
535+
536+ -- Andreas Hasenack <andreas@canonical.com> Wed, 08 Jun 2022 11:02:29 -0300
537+
538 samba (2:4.16.1+dfsg-8) unstable; urgency=medium
539
540 * fix the Breaks/Replaces versions in the previous upload for moving
541@@ -1308,6 +1770,95 @@ samba (2:4.16.0+dfsg-1) experimental; urgency=medium
542
543 -- Michael Tokarev <mjt@tls.msk.ru> Tue, 05 Apr 2022 16:01:25 +0300
544
545+samba (2:4.15.5~dfsg-0ubuntu6) kinetic; urgency=medium
546+
547+ * No-change rebuild against libicu71
548+
549+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 30 Apr 2022 02:14:39 +0000
550+
551+samba (2:4.15.5~dfsg-0ubuntu5) jammy; urgency=medium
552+
553+ * Enable glusterfs support (LP: #1894618):
554+ - d/control: revert disabling of glusterfs, since it's in main now
555+ - d/rules: in Ubuntu, glusterfs is not built for i386, so don't
556+ enable the samba glusterfs vfs mofule in that case
557+ - d/control: build-depend on libglusterfs-dev only on !i386 arches
558+
559+ -- Andreas Hasenack <andreas@canonical.com> Wed, 09 Mar 2022 17:31:25 -0300
560+
561+samba (2:4.15.5~dfsg-0ubuntu4) jammy; urgency=medium
562+
563+ * Build dlz module for bind 9.18.x (LP: #1964032)
564+ - d/p/add-support-for-bind-918.patch: build a dlz module for
565+ bind 9.18.x
566+ - d/samba-libs.install: remove fixme comment
567+ - d/p/add-support-for-bind-918-2.patch: also update the provisioning
568+ tool and template config file
569+
570+ -- Andreas Hasenack <andreas@canonical.com> Fri, 25 Mar 2022 14:53:19 -0300
571+
572+samba (2:4.15.5~dfsg-0ubuntu3) jammy; urgency=medium
573+
574+ * Update nfs scripts for new nfs.conf config (LP: #1961840):
575+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: updated to use
576+ nfsconf(8) if it's available, instead of parsing the old config
577+ files in /etc/default/nfs-*
578+ - d/ctdb.example.nfs.conf: /etc/nfs.conf to be used by the example
579+ enable-nfs.sh example script
580+ - d/ctdb.example.quota: quota config file to be used by the example
581+ enable-nfs.sh script
582+ - d/ctdb.example.nfs-{common,kernel-server}: obsolete, replaced by
583+ nfs.conf
584+ - d/ctdb.example.enable.nfs.sh: handle new nfs.conf and other
585+ changes in the new nfs server packages
586+ - d/rules: install the new/changed ctdb example nfs files
587+
588+ -- Andreas Hasenack <andreas@canonical.com> Mon, 21 Mar 2022 11:55:54 -0300
589+
590+samba (2:4.15.5~dfsg-0ubuntu2) jammy; urgency=medium
591+
592+ * d/p/lp-1951490-fix-printing-KB5006743.patch: Fix printing after
593+ Windows 2021-10 Monthly Rollup patch (LP: #1951490)
594+
595+ -- Andreas Hasenack <andreas@canonical.com> Thu, 10 Mar 2022 10:32:59 -0300
596+
597+samba (2:4.15.5~dfsg-0ubuntu1) jammy; urgency=medium
598+
599+ * d/{gpb.conf,watch,README.source}: update for 4.15
600+ * New upstream release: 4.15.5 (LP: #1946839)
601+ * d/p/Rename-mdfind-to-mdsearch.patch: removed, applied usptream
602+ * d/rules: remove --with-dnsupdate, it was merged with
603+ --with-ads in samba 4.15.0
604+ * d/control: bump required build-depends
605+ * d/rules: drop removal of ctdb tests, they are no longer installed
606+ * Remove findsmb, no longer installed:
607+ - d/smbclient.install: remove findsmb
608+ - d/rules: drop fixing of findsmb shebang
609+ * d/ctdb.install: remove ctdb_local_daemons, part of ctdb tests,
610+ no longer installed
611+ * d/samba-libs.install: update list of installed libraries and
612+ modules/plugins
613+ * d/ctdb.install: add tdb_mutex_check
614+ * d/winbind.install: add async_dns_krb5_locator
615+ * d/samba.install: install samba-bgqd and its manpage
616+ * d/{libsmbclient,libwbclient0}.symbols: symbols updates
617+ * d/control: add python3-markdown to build-depends
618+ * d/watch: updated to handle ~dfsg versioning, thanks to
619+ Sergio Durigan Junior <sergio.durigan@canonical.com>
620+
621+ -- Andreas Hasenack <andreas@canonical.com> Tue, 22 Feb 2022 17:59:22 -0300
622+
623+samba (2:4.13.17~dfsg-0ubuntu1) jammy; urgency=medium
624+
625+ * Update to 4.13.17 as a security update
626+ - CVE-2021-43566, CVE-2021-44142, CVE-2022-0336
627+ * Removed patches included in new version:
628+ - debian/patches/trusted_domain_regression_fix.patch
629+ - debian/patches/bug14901-*.patch
630+ - debian/patches/bug14922.patch
631+
632+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 14 Feb 2022 10:19:08 -0500
633+
634 samba (2:4.13.14+dfsg-1) unstable; urgency=high
635
636 * New upstream security release in order to address the following defects:
637@@ -1334,6 +1885,52 @@ samba (2:4.13.14+dfsg-1) unstable; urgency=high
638
639 -- Mathieu Parent <sathieu@debian.org> Tue, 09 Nov 2021 20:53:03 +0100
640
641+samba (2:4.13.14+dfsg-0ubuntu5) jammy; urgency=medium
642+
643+ * No-change rebuild for icu soname change
644+
645+ -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Fri, 11 Feb 2022 11:36:14 -0600
646+
647+samba (2:4.13.14+dfsg-0ubuntu4) jammy; urgency=medium
648+
649+ * d/t/util: fix setting the password of the smb test user
650+ (LP: #1955851)
651+
652+ -- Andreas Hasenack <andreas@canonical.com> Thu, 20 Jan 2022 17:06:13 -0300
653+
654+samba (2:4.13.14+dfsg-0ubuntu3) jammy; urgency=medium
655+
656+ * No-change rebuild with Python 3.10 as default version
657+
658+ -- Graham Inggs <ginggs@ubuntu.com> Sun, 16 Jan 2022 07:01:34 +0000
659+
660+samba (2:4.13.14+dfsg-0ubuntu2) jammy; urgency=medium
661+
662+ * SECURITY REGRESSION: Kerberos authentication on standalone server in
663+ MIT realm broken
664+ - debian/patches/bug14922.patch: fix MIT Realm regression in
665+ source3/auth/user_krb5.c.
666+
667+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 13 Dec 2021 07:09:36 -0500
668+
669+samba (2:4.13.14+dfsg-0ubuntu1) jammy; urgency=medium
670+
671+ * Update to 4.13.14 as a security update (LP: #1950363)
672+ - debian/patches/CVE-2021-20254.patch: removed, included in new
673+ version.
674+ - debian/control: bump ldb Build-Depends to 2.2.3.
675+ - debian/samba-libs.install: added libdcerpc-pkt-auth.so.0.
676+ - debian/patches/trusted_domain_regression_fix.patch: fix regression
677+ introduced in 4.13.14.
678+ - debian/patches/bug14901-*.patch: upstream patches to fix some
679+ mapping issues.
680+ - debian/patches/bug14918-*.patch: upstream patches to properly handle
681+ dangling symlinks.
682+ - CVE-2016-2124, CVE-2020-25717, CVE-2020-25718, CVE-2020-25719,
683+ CVE-2020-25721, CVE-2020-25722, CVE-2021-3738, CVE-2021-23192
684+
685+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 09 Nov 2021 14:52:07 -0500
686+
687 samba (2:4.13.13+dfsg-1) unstable; urgency=high
688
689 [ Athos Ribeiro ]
690@@ -1355,6 +1952,83 @@ samba (2:4.13.13+dfsg-1) unstable; urgency=high
691
692 -- Mathieu Parent <sathieu@debian.org> Mon, 01 Nov 2021 08:59:20 +0100
693
694+samba (2:4.13.5+dfsg-2ubuntu4) jammy; urgency=medium
695+
696+ * No-change rebuild against liburing2
697+
698+ -- Paride Legovini <paride@ubuntu.com> Mon, 22 Nov 2021 18:08:34 +0100
699+
700+samba (2:4.13.5+dfsg-2ubuntu3) impish; urgency=medium
701+
702+ * d/samba.postinst: do not populate sambashare from the admin group
703+ (Debian packaging cherry-pick. LP: #1942195)
704+
705+ -- Paride Legovini <paride@ubuntu.com> Wed, 06 Oct 2021 10:31:14 +0200
706+
707+samba (2:4.13.5+dfsg-2ubuntu2) impish; urgency=medium
708+
709+ * No-change rebuild due to OpenLDAP soname bump.
710+
711+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 21 Jun 2021 18:08:36 -0400
712+
713+samba (2:4.13.5+dfsg-2ubuntu1) impish; urgency=medium
714+
715+ * Merge with Debian unstable. Remaining changes:
716+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
717+ - debian/smb.conf;
718+ + Add "(Samba, Ubuntu)" to server string.
719+ + Comment out the default [homes] share, and add a comment about
720+ "valid users = %s" to show users how to restrict access to
721+ \\server\username to only username.
722+ - d/control: Disable glusterfs support because it's not in main.
723+ MIR bug is https://launchpad.net/bugs/1274247
724+ - debian/control: Ubuntu i386 binary compatibility:
725+ + drop ceph support
726+ - d/control: add a versioned libgnutls28-dev build-depends to reduce
727+ the amount of in-tree crypto code that is built
728+ - d/control: enable the liburing vfs module, except on i386 where
729+ liburing is not available
730+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
731+ Skip running the tests if on i386 platform, because the uring
732+ package is not available there.
733+ * Dropped changes:
734+ - debian/samba-common.config:
735+ + Do not change priority to high if dhclient3 is installed.
736+ [Included in 2:4.13.4+dfsg-1]
737+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
738+ change nfs service name from nfs to nfs-kernel-server
739+ (LP #722201)
740+ [Included in 2:4.13.4+dfsg-1]
741+ - d/p/ctdb-config-enable-syslog-by-default.patch:
742+ enable syslog and systemd journal by default
743+ [Included in 2:4.13.4+dfsg-1]
744+ - debian/rules: Ubuntu i386 binary compatibility:
745+ + drop ceph support
746+ + disable the following binary packages:
747+ - ctdb
748+ - libnss-winbind
749+ - libpam-winbind
750+ - python3-samba
751+ - samba
752+ - samba-common-bin
753+ - samba-testsuite
754+ - winbind
755+ [Included in 2:4.13.4+dfsg-1]
756+ - debian/rules: Ubuntu i386 binary compatibility:
757+ + re-enable the following binary packages:
758+ - libnss-winbind
759+ - samba-common-bin
760+ - python3-samba
761+ - winbind
762+ [Included in 2:4.13.4+dfsg-1]
763+ - SECURITY UPDATE: wrong group entries via negative idmap cache entries
764+ + debian/patches/CVE-2021-20254.patch: Simplify sids_to_unixids() in
765+ source3/passdb/lookup_sid.c.
766+ + CVE-2021-20254
767+ [Included in 2:4.13.5+dfsg-2]
768+
769+ -- Athos Ribeiro <athos.ribeiro@canonical.com> Mon, 17 May 2021 11:51:54 -0300
770+
771 samba (2:4.13.5+dfsg-2) unstable; urgency=high
772
773 * CVE-2021-20254: Negative idmap cache entries can cause incorrect group
774@@ -1386,6 +2060,86 @@ samba (2:4.13.4+dfsg-1) unstable; urgency=medium
775
776 -- Mathieu Parent <sathieu@debian.org> Tue, 09 Feb 2021 22:26:43 +0100
777
778+samba (2:4.13.3+dfsg-1ubuntu2.1) hirsute-security; urgency=medium
779+
780+ * SECURITY UPDATE: wrong group entries via negative idmap cache entries
781+ - debian/patches/CVE-2021-20254.patch: Simplify sids_to_unixids() in
782+ source3/passdb/lookup_sid.c.
783+ - CVE-2021-20254
784+
785+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Thu, 29 Apr 2021 06:48:54 -0400
786+
787+samba (2:4.13.3+dfsg-1ubuntu2) hirsute; urgency=medium
788+
789+ * No change rebuild to pick up liburing, and also
790+ fix d/t/cifs-share-access-uring. (LP: #1914145)
791+
792+ -- Mauricio Faria de Oliveira <mfo@canonical.com> Wed, 03 Feb 2021 09:14:25 -0300
793+
794+samba (2:4.13.3+dfsg-1ubuntu1) hirsute; urgency=medium
795+
796+ * Merge with Debian unstable. Remaining changes:
797+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
798+ - debian/smb.conf;
799+ + Add "(Samba, Ubuntu)" to server string.
800+ + Comment out the default [homes] share, and add a comment about
801+ "valid users = %s" to show users how to restrict access to
802+ \\server\username to only username.
803+ - debian/samba-common.config:
804+ + Do not change priority to high if dhclient3 is installed.
805+ - d/control, d/rules: Disable glusterfs support because it's not in main.
806+ MIR bug is https://launchpad.net/bugs/1274247
807+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
808+ change nfs service name from nfs to nfs-kernel-server
809+ (LP #722201)
810+ - d/p/ctdb-config-enable-syslog-by-default.patch:
811+ enable syslog and systemd journal by default
812+ - debian/rules: Ubuntu i386 binary compatibility:
813+ + drop ceph support
814+ + disable the following binary packages:
815+ - ctdb
816+ - libnss-winbind
817+ - libpam-winbind
818+ - python3-samba
819+ - samba
820+ - samba-common-bin
821+ - samba-testsuite
822+ - winbind
823+ - debian/control: Ubuntu i386 binary compatibility:
824+ + drop ceph support
825+ - debian/rules: Ubuntu i386 binary compatibility:
826+ + re-enable the following binary packages:
827+ - libnss-winbind
828+ - samba-common-bin
829+ - python3-samba
830+ - winbind
831+ - d/control: add a versioned libgnutls28-dev build-depends to reduce
832+ the amount of in-tree crypto code that is built
833+ - d/control: enable the liburing vfs module, except on i386 where
834+ liburing is not available
835+ * Dropped changes, incorporated by Debian:
836+ - d/t/smbclient-anonymous-share-list: add set -x and set -e
837+ - Factor out common DEP8 test code into d/t/util and change the tests
838+ to source from it:
839+ + d/t/util: added
840+ + d/t/cifs-share-access, d/t/smbclient-share-access: source from
841+ util, use random share name and add set -x and set -u
842+ + d/t/smbclient-authenticated-share-list: source from util and add
843+ set -x and set -u
844+ - Add new DEP8 tests for the uring vfs module:
845+ + d/t/control: add smbclient-share-access-uring and
846+ cifs-share-access-uring tests
847+ + d/t/smbclient-share-access-uring: new test
848+ + d/t/cifs-share-access-uring: new test
849+ - d/t/{util, smbclient-share-access-uring, cifs-share-access-uring}:
850+ guard uring tests with a kernel version check and skip if it's too old
851+ * Added changes:
852+ - d/t/{cifs-share-access-uring,smbclient-share-access-uring}:
853+ Skip running the tests if on i386 platform, because the uring
854+ package is not available there.
855+
856+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Wed, 13 Jan 2021 15:44:04 -0500
857+
858 samba (2:4.13.3+dfsg-1) unstable; urgency=medium
859
860 [ Andreas Hasenack ]
861@@ -1401,6 +2155,93 @@ samba (2:4.13.3+dfsg-1) unstable; urgency=medium
862
863 -- Mathieu Parent <sathieu@debian.org> Wed, 16 Dec 2020 18:23:09 +0100
864
865+samba (2:4.13.2+dfsg-3ubuntu1) hirsute; urgency=medium
866+
867+ * Merge with Debian unstable (LP: #1905048). Remaining changes:
868+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
869+ - debian/smb.conf;
870+ + Add "(Samba, Ubuntu)" to server string.
871+ + Comment out the default [homes] share, and add a comment about
872+ "valid users = %s" to show users how to restrict access to
873+ \\server\username to only username.
874+ - debian/samba-common.config:
875+ + Do not change priority to high if dhclient3 is installed.
876+ - d/control, d/rules: Disable glusterfs support because it's not in main.
877+ MIR bug is https://launchpad.net/bugs/1274247
878+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
879+ change nfs service name from nfs to nfs-kernel-server
880+ (LP #722201)
881+ - d/p/ctdb-config-enable-syslog-by-default.patch:
882+ enable syslog and systemd journal by default
883+ - debian/rules: Ubuntu i386 binary compatibility:
884+ + drop ceph support
885+ + disable the following binary packages:
886+ - ctdb
887+ - libnss-winbind
888+ - libpam-winbind
889+ - python3-samba
890+ - samba
891+ - samba-common-bin
892+ - samba-testsuite
893+ - winbind
894+ - debian/control: Ubuntu i386 binary compatibility:
895+ + drop ceph support
896+ - debian/rules: Ubuntu i386 binary compatibility:
897+ + re-enable the following binary packages:
898+ - libnss-winbind
899+ - samba-common-bin
900+ - python3-samba
901+ - winbind
902+ - d/control: add a versioned libgnutls28-dev build-depends to reduce
903+ the amount of in-tree crypto code that is built
904+ * d/t/smbclient-anonymous-share-list: add set -x and set -e
905+ * Factor out common DEP8 test code into d/t/util and change the tests
906+ to source from it:
907+ - d/t/util: added
908+ - d/t/cifs-share-access, d/t/smbclient-share-access: source from
909+ util, use random share name and add set -x and set -u
910+ - d/t/smbclient-authenticated-share-list: source from util and add
911+ set -x and set -u
912+ * d/control: enable the liburing vfs module, except on i386 where
913+ liburing is not available
914+ * Add new DEP8 tests for the uring vfs module:
915+ - d/t/control: add smbclient-share-access-uring and
916+ cifs-share-access-uring tests
917+ - d/t/smbclient-share-access-uring: new test
918+ - d/t/cifs-share-access-uring: new test
919+ * d/t/{util, smbclient-share-access-uring, cifs-share-access-uring}:
920+ guard uring tests with a kernel version check and skip if it's too old
921+ * Dropped changes:
922+ - SECURITY UPDATE: Unauthenticated domain controller compromise by
923+ subverting Netlogon cryptography (ZeroLogon)
924+ + debian/patches/zerologon-*.patch: backport upstream patches:
925+ + For compatibility reasons, allow specifying an insecure netlogon
926+ configuration per machine. See the following link for examples:
927+ https://www.samba.org/samba/security/CVE-2020-1472.html
928+ + Add additional server checks for the protocol attack in the
929+ client-specified challenge to provide some protection when
930+ 'server schannel = no/auto' and avoid the false-positive results
931+ when running the proof-of-concept exploit.
932+ [ Incorporated by upstream. ]
933+ - SECURITY UPDATE: Missing handle permissions check in ChangeNotify
934+ + debian/patches/CVE-2020-14318-*.patch: ensure change notifies can't
935+ get set unless the directory handle is open for SEC_DIR_LIST in
936+ source4/torture/smb2/notify.c, source3/smbd/notify.c.
937+ + CVE-2020-14318
938+ - SECURITY UPDATE: Unprivileged user can crash winbind
939+ + debian/patches/CVE-2020-14323-*.patch: fix invalid lookupsids DoS in
940+ source3/winbindd/winbindd_lookupsids.c,
941+ source4/torture/winbind/struct_based.c.
942+ + CVE-2020-14323
943+ - SECURITY UPDATE: DNS server crash via invalid records
944+ - debian/patches/CVE-2020-14383-*.patch: ensure variable initialization
945+ with NULL and do not crash when additional data not found in
946+ source4/rpc_server/dnsserver/dcerpc_dnsserver.c.
947+ + CVE-2020-14383
948+ [ Incorporated by upstream. ]
949+
950+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 24 Nov 2020 22:12:00 -0500
951+
952 samba (2:4.13.2+dfsg-3) unstable; urgency=medium
953
954 * Ensure systemd-tmpfiles is called before testparm (Closes: #975422)
955@@ -1446,6 +2287,138 @@ samba (2:4.13.2+dfsg-1) experimental; urgency=medium
956
957 -- Mathieu Parent <sathieu@debian.org> Thu, 12 Nov 2020 11:23:01 +0100
958
959+samba (2:4.12.5+dfsg-3ubuntu4.1) groovy-security; urgency=medium
960+
961+ * SECURITY UPDATE: Missing handle permissions check in ChangeNotify
962+ - debian/patches/CVE-2020-14318-*.patch: ensure change notifies can't
963+ get set unless the directory handle is open for SEC_DIR_LIST in
964+ source4/torture/smb2/notify.c, source3/smbd/notify.c.
965+ - CVE-2020-14318
966+ * SECURITY UPDATE: Unprivileged user can crash winbind
967+ - debian/patches/CVE-2020-14323-*.patch: fix invalid lookupsids DoS in
968+ source3/winbindd/winbindd_lookupsids.c,
969+ source4/torture/winbind/struct_based.c.
970+ - CVE-2020-14323
971+ * SECURITY UPDATE: DNS server crash via invalid records
972+ - debian/patches/CVE-2020-14383-*.patch: ensure variable initialization
973+ with NULL and do not crash when additional data not found in
974+ source4/rpc_server/dnsserver/dcerpc_dnsserver.c.
975+ - CVE-2020-14383
976+
977+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 16 Oct 2020 06:53:44 -0400
978+
979+samba (2:4.12.5+dfsg-3ubuntu4) groovy; urgency=medium
980+
981+ * SECURITY UPDATE: Unauthenticated domain controller compromise by
982+ subverting Netlogon cryptography (ZeroLogon)
983+ - debian/patches/zerologon-*.patch: backport upstream patches:
984+ + For compatibility reasons, allow specifying an insecure netlogon
985+ configuration per machine. See the following link for examples:
986+ https://www.samba.org/samba/security/CVE-2020-1472.html
987+ + Add additional server checks for the protocol attack in the
988+ client-specified challenge to provide some protection when
989+ 'server schannel = no/auto' and avoid the false-positive results
990+ when running the proof-of-concept exploit.
991+ - CVE-2020-1472
992+
993+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 28 Sep 2020 09:46:49 -0400
994+
995+samba (2:4.12.5+dfsg-3ubuntu3) groovy; urgency=medium
996+
997+ * d/t/{util, smbclient-share-access-uring, cifs-share-access-uring}:
998+ guard uring tests with a kernel version check and skip if it's too old
999+
1000+ -- Andreas Hasenack <andreas@canonical.com> Tue, 11 Aug 2020 11:00:35 -0300
1001+
1002+samba (2:4.12.5+dfsg-3ubuntu2) groovy; urgency=medium
1003+
1004+ * d/t/smbclient-anonymous-share-list: add set -x and set -e
1005+ * Factor out common DEP8 test code into d/t/util and change the tests
1006+ to source from it:
1007+ - d/t/util: added
1008+ - d/t/cifs-share-access, d/t/smbclient-share-access: source from
1009+ util, use random share name and add set -x and set -u
1010+ - d/t/smbclient-authenticated-share-list: source from util and add
1011+ set -x and set -u
1012+ * d/control: enable the liburing vfs module, except on i386 where
1013+ liburing is not available
1014+ * Add new DEP8 tests for the uring vfs module:
1015+ - d/t/control: add smbclient-share-access-uring and
1016+ cifs-share-access-uring tests
1017+ - d/t/smbclient-share-access-uring: new test
1018+ - d/t/cifs-share-access-uring: new test
1019+
1020+ -- Andreas Hasenack <andreas@canonical.com> Tue, 04 Aug 2020 17:20:30 -0300
1021+
1022+samba (2:4.12.5+dfsg-3ubuntu1) groovy; urgency=medium
1023+
1024+ * Merge with Debian unstable. Remaining changes:
1025+ - d/p/VERSION.patch: Update vendor string to "Ubuntu".
1026+ - debian/smb.conf;
1027+ + Add "(Samba, Ubuntu)" to server string.
1028+ + Comment out the default [homes] share, and add a comment about
1029+ "valid users = %s" to show users how to restrict access to
1030+ \\server\username to only username.
1031+ - debian/samba-common.config:
1032+ + Do not change priority to high if dhclient3 is installed.
1033+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1034+ MIR bug is https://launchpad.net/bugs/1274247
1035+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
1036+ change nfs service name from nfs to nfs-kernel-server
1037+ (LP #722201)
1038+ - d/p/ctdb-config-enable-syslog-by-default.patch:
1039+ enable syslog and systemd journal by default
1040+ - debian/rules: Ubuntu i386 binary compatibility:
1041+ + drop ceph support
1042+ + disable the following binary packages:
1043+ - ctdb
1044+ - libnss-winbind
1045+ - libpam-winbind
1046+ - python3-samba
1047+ - samba
1048+ - samba-common-bin
1049+ - samba-testsuite
1050+ - winbind
1051+ - debian/control: Ubuntu i386 binary compatibility:
1052+ + drop ceph support
1053+ - debian/rules: Ubuntu i386 binary compatibility:
1054+ + re-enable the following binary packages:
1055+ - libnss-winbind
1056+ - samba-common-bin
1057+ - python3-samba
1058+ - winbind
1059+ - d/control: add a versioned libgnutls28-dev build-depends to reduce
1060+ the amount of in-tree crypto code that is built
1061+ * Dropped:
1062+ - d/gbp.conf, d/watch, d/README.source: update for 4.12
1063+ [In 2:4.12.3+dfsg-1]
1064+ - d/control: bump build-depends:
1065+ + ldb: 2.1.2
1066+ + tevent: 0.10.2
1067+ + tdb: 1.4.3
1068+ + talloc: 2.3.1
1069+ [In 2:4.12.3+dfsg-1]
1070+ - d/smbclient.install: add new binary mdfind and its manpage
1071+ [In 2:4.12.3+dfsg-1]
1072+ - d/samba-dev.install, d/samba-libs.install: new lib
1073+ libdcerpc-server-core
1074+ [In 2:4.12.3+dfsg-1]
1075+ - d/samba-libs.install: new library libtalloc-report-printf
1076+ [In 2:4.12.3+dfsg-1]
1077+ - d/libwbclient0.install: remove libaesni, no longer built when
1078+ gnutls provides AES CMAC
1079+ [In 2:4.12.3+dfsg-1]
1080+ - d/libsmbclient.symbols, d/libwbclient0.symbols: update symbols
1081+ [In 2:4.12.3+dfsg-1]
1082+ - d/p/build-Remove-tests-for-getdents-and-getdirentries.patch
1083+ [Dropped in 2:4.12.3+dfsg-1]
1084+ - d/p/wscript-remove-all-checks-for-_FUNC-and-__FUNC.patch
1085+ [Dropped in 2:4.12.3+dfsg-1]
1086+ - d/p/wscript-split-function-check-to-one-per-line-and-sor.patch
1087+ [Dropped in 2:4.12.3+dfsg-1]
1088+
1089+ -- Andreas Hasenack <andreas@canonical.com> Fri, 31 Jul 2020 11:07:47 -0300
1090+
1091 samba (2:4.12.5+dfsg-3) unstable; urgency=high
1092
1093 * Add Breaks: sssd-ad-common (<< 2.3.0), due to libndr so bump
1094@@ -1510,6 +2483,131 @@ samba (2:4.12.3+dfsg-1) experimental; urgency=medium
1095
1096 -- Mathieu Parent <sathieu@debian.org> Wed, 24 Jun 2020 23:12:11 +0200
1097
1098+samba (2:4.12.2+dfsg-0ubuntu1) groovy; urgency=medium
1099+
1100+ * New upstream version: 4.12.2
1101+ * d/gbp.conf, d/watch, d/README.source: update for 4.12
1102+ * d/control: bump build-depends:
1103+ - ldb: 2.1.2
1104+ - tevent: 0.10.2
1105+ - tdb: 1.4.3
1106+ - talloc: 2.3.1
1107+ * d/smbclient.install: add new binary mdfind and its manpage
1108+ * d/samba-dev.install, d/samba-libs.install: new lib libdcerpc-server-core
1109+ * d/samba-libs.install: new library libtalloc-report-printf
1110+ * d/libwbclient0.install: remove libaesni, no longer built when
1111+ gnutls provides AES CMAC
1112+ * d/libsmbclient.symbols, d/libwbclient0.symbols: update symbols
1113+ * d/control: add a versioned libgnutls28-dev build-depends to reduce
1114+ the amount of in-tree crypto code that is built
1115+ * Dropped (applied upstream):
1116+ - d/p/build-Remove-tests-for-getdents-and-getdirentries.patch
1117+ - d/p/wscript-remove-all-checks-for-_FUNC-and-__FUNC.patch
1118+ - d/p/wscript-split-function-check-to-one-per-line-and-sor.patch
1119+ - d/p/CVE-2020-10700*.patch, d/p/CVE-2020-10704*.patch
1120+
1121+ -- Andreas Hasenack <andreas@canonical.com> Tue, 12 May 2020 10:42:17 -0300
1122+
1123+samba (2:4.11.6+dfsg-0ubuntu1.1) focal-security; urgency=medium
1124+
1125+ * SECURITY UPDATE: Use-after-free in AD DC LDAP server
1126+ - debian/patches/CVE-2020-10700-1.patch: add test for ASQ and ASQ in
1127+ combination with paged_results in selftest/knownfail.d/asq,
1128+ source4/dsdb/tests/python/asq.py, source4/selftest/tests.py.
1129+ - debian/patches/CVE-2020-10700-3.patch: do not permit the ASQ control
1130+ for the GUID search in paged_results in selftest/knownfail.d/asq,
1131+ source4/dsdb/samdb/ldb_modules/paged_results.c.
1132+ - debian/control: bump libldb-dev, python3-ldb, and python3-ldb-dev
1133+ Build-Depends to 2.0.10.
1134+ - CVE-2020-10700
1135+ * SECURITY UPDATE: Stack overflow in AD DC LDAP server
1136+ - debian/patches/CVE-2020-10704-1.patch: add ASN.1 max tree depth in
1137+ auth/gensec/gensec_util.c, lib/util/asn1.c, lib/util/asn1.h,
1138+ lib/util/tests/asn1_tests.c, libcli/auth/spnego_parse.c,
1139+ libcli/cldap/cldap.c, libcli/ldap/ldap_message.c,
1140+ source3/lib/tldap.c, source3/lib/tldap_util.c,
1141+ source3/libsmb/clispnego.c, source3/torture/torture.c,
1142+ source4/auth/gensec/gensec_krb5.c, source4/ldap_server/ldap_server.c,
1143+ source4/libcli/ldap/ldap_client.c,
1144+ source4/libcli/ldap/ldap_controls.c.
1145+ - debian/patches/CVE-2020-10704-3.patch: check parse tree depth in
1146+ lib/util/asn1.c.
1147+ - debian/patches/CVE-2020-10704-5.patch: add max ldap request sizes in
1148+ docs-xml/smbdotconf/ldap/ldapmaxanonrequest.xml,
1149+ docs-xml/smbdotconf/ldap/ldapmaxauthrequest.xml,
1150+ lib/param/loadparm.c, source3/param/loadparm.c.
1151+ - debian/patches/CVE-2020-10704-6.patch: limit request sizes in
1152+ source4/ldap_server/ldap_server.c.
1153+ - debian/patches/CVE-2020-10704-7.patch: add search size limits to
1154+ ldap_decode in docs-xml/smbdotconf/ldap/ldapmaxsearchrequest.xml,
1155+ lib/param/loadparm.c, libcli/cldap/cldap.c,
1156+ libcli/ldap/ldap_message.c, libcli/ldap/ldap_message.h,
1157+ source3/param/loadparm.c, source4/ldap_server/ldap_server.c,
1158+ source4/libcli/ldap/ldap_client.c.
1159+ - debian/patches/CVE-2020-10704-8.patch: check search request lengths
1160+ in lib/util/asn1.c, lib/util/asn1.h, libcli/ldap/ldap_message.c.
1161+ - CVE-2020-10704
1162+
1163+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 24 Apr 2020 08:08:38 -0400
1164+
1165+samba (2:4.11.6+dfsg-0ubuntu1) focal; urgency=medium
1166+
1167+ * New upstream release: 4.11.6
1168+ * d/p/samba-tool-py38-*.patch: dropped, fixed upstream
1169+
1170+ -- Andreas Hasenack <andreas@canonical.com> Wed, 26 Feb 2020 11:55:16 -0300
1171+
1172+samba (2:4.11.5+dfsg-1ubuntu2) focal; urgency=medium
1173+
1174+ * d/p/samba-tool-py38-*.patch: use correct method flags (LP: #1864324)
1175+
1176+ -- Andreas Hasenack <andreas@canonical.com> Sat, 22 Feb 2020 17:22:21 -0300
1177+
1178+samba (2:4.11.5+dfsg-1ubuntu1) focal; urgency=medium
1179+
1180+ * Merge with Debian unstable. Remaining changes:
1181+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1182+ - debian/smb.conf;
1183+ + Add "(Samba, Ubuntu)" to server string.
1184+ + Comment out the default [homes] share, and add a comment about
1185+ "valid users = %s" to show users how to restrict access to
1186+ \\server\username to only username.
1187+ - debian/samba-common.config:
1188+ + Do not change priority to high if dhclient3 is installed.
1189+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1190+ MIR bug is https://launchpad.net/bugs/1274247
1191+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
1192+ change nfs service name from nfs to nfs-kernel-server
1193+ (LP #722201)
1194+ - d/p/ctdb-config-enable-syslog-by-default.patch:
1195+ enable syslog and systemd journal by default
1196+ - debian/rules: Ubuntu i386 binary compatibility:
1197+ + drop ceph support
1198+ + disable the following binary packages:
1199+ - ctdb
1200+ - libnss-winbind
1201+ - libpam-winbind
1202+ - python3-samba
1203+ - samba
1204+ - samba-common-bin
1205+ - samba-testsuite
1206+ - winbind
1207+ - debian/control: Ubuntu i386 binary compatibility:
1208+ + drop ceph support
1209+ - debian/rules: Ubuntu i386 binary compatibility:
1210+ + re-enable the following binary packages:
1211+ - libnss-winbind
1212+ - samba-common-bin
1213+ - python3-samba
1214+ - winbind
1215+ * Dropped:
1216+ - d/control: drop python3-matplotlib. It's only used in
1217+ script/attr_count_read which is not installed with the
1218+ samba packages.
1219+ [In 2:4.11.3+dfsg-1]
1220+
1221+ -- Andreas Hasenack <andreas@canonical.com> Mon, 17 Feb 2020 15:29:35 -0300
1222+
1223 samba (2:4.11.5+dfsg-1) unstable; urgency=medium
1224
1225 * New upstream security release
1226@@ -1537,6 +2635,161 @@ samba (2:4.11.3+dfsg-1) unstable; urgency=high
1227
1228 -- Mathieu Parent <sathieu@debian.org> Mon, 16 Dec 2019 09:47:45 +0100
1229
1230+samba (2:4.11.1+dfsg-3ubuntu4) focal; urgency=medium
1231+
1232+ * Ubuntu i386 binary compatibility effort: (LP: #1861316)
1233+ - debian/rules:
1234+ + re-enable the following binary packages generation:
1235+ - libnss-winbind
1236+ - samba-common-bin
1237+ - python3-samba
1238+ - winbind
1239+
1240+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Thu, 06 Feb 2020 14:42:38 +0000
1241+
1242+samba (2:4.11.1+dfsg-3ubuntu3) focal; urgency=medium
1243+
1244+ * No-change rebuild to build with python3.8.
1245+
1246+ -- Matthias Klose <doko@ubuntu.com> Sat, 25 Jan 2020 06:06:11 +0000
1247+
1248+samba (2:4.11.1+dfsg-3ubuntu2) focal; urgency=medium
1249+
1250+ * Ubuntu i386 binary compatibility effort: (LP: #1858479)
1251+ - debian/control:
1252+ + drop ceph support
1253+ - debian/rules:
1254+ + drop ceph support
1255+ + disable the following binary packages generation:
1256+ - ctdb
1257+ - libnss-winbind
1258+ - libpam-winbind
1259+ - python3-samba
1260+ - samba
1261+ - samba-common-bin
1262+ - samba-testsuite
1263+ - winbind
1264+
1265+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Thu, 09 Jan 2020 00:40:31 +0000
1266+
1267+samba (2:4.11.1+dfsg-3ubuntu1) focal; urgency=medium
1268+
1269+ * Merge with Debian unstable. Remaining changes:
1270+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1271+ - debian/smb.conf;
1272+ + Add "(Samba, Ubuntu)" to server string.
1273+ + Comment out the default [homes] share, and add a comment about
1274+ "valid users = %s" to show users how to restrict access to
1275+ \\server\username to only username.
1276+ - debian/samba-common.config:
1277+ + Do not change priority to high if dhclient3 is installed.
1278+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1279+ MIR bug is https://launchpad.net/bugs/1274247
1280+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
1281+ change nfs service name from nfs to nfs-kernel-server
1282+ (LP #722201)
1283+ [Adopted the Debian version and added a couple of extra hunks
1284+ we had]
1285+ - d/p/ctdb-config-enable-syslog-by-default.patch:
1286+ enable syslog and systemd journal by default
1287+ * Dropped:
1288+ - Add apport hook:
1289+ + Created debian/source_samba.py.
1290+ + debian/rules, debian/samba-common-bin.install: install hook.
1291+ [In 2:4.9.4+dfsg-2]
1292+ - Removed patches already applied upstream:
1293+ + d/p/nsswitch-Add-try_authtok-option-to-pam_winbind.patch
1294+ [Removed in 2:4.10.7+dfsg-1]
1295+ + d/p/s3-auth-ignore-create_builtin_guests-failing-without.patch
1296+ [Removed in 4.9.5+dfsg-1]
1297+ - d/p/add-so-version-to-private-libraries: refreshed to remove fuzz
1298+ [Refreshed in 2:4.1.17+dfsg-1]
1299+ - d/control: Updated build dependencies (already updated in Debian):
1300+ + tdb >= 1.3.17
1301+ + talloc >= 2.1.15
1302+ + tevent >= 0.9.38
1303+ + ldb >= 1.5.3
1304+ - d/samba-common.docs: README is now README.md
1305+ [In 2:4.10.7+dfsg-1]
1306+ - d/libsmbclient.symbols: update symbols for this version
1307+ - d/libwbclient0.symbols: update symbols for this version
1308+ - d/ctdb.install: new binary ctdb_local_daemons
1309+ [In 2:4.10.7+dfsg-1]
1310+ - d/samba-dev.install: use globbing for the header files with
1311+ exceptions for wbclient.h and libsmbclient.h, which belong in
1312+ other packages.
1313+ [In 2:4.10.7+dfsg-1]
1314+ - d/rules: fix globbing used to move the dckeytab python module to the
1315+ samba package, and add a comment explaining why this is being done.
1316+ [In 2:4.10.7+dfsg-1]
1317+ - Switch to python3 (in 2:4.10.7+dfsg-1):
1318+ + d/rules: calculate the ldb version using python3, and drop the
1319+ "really" bit since the real 1.5.x series is being used now.
1320+ + d/rules: make sure python3 is used for the build
1321+ + d/rules: adjust globbing to remove the python3 version of tevent.so
1322+ + d/rules: drop PYVERS, unused
1323+ + d/control: adjust dependencies (build and runtime) for python3
1324+ + d/python3-samba.install, d/control: new python3-samba package
1325+ (LP #1440381)
1326+ + d/control, d/python-samba.install: get rid of python-samba, which is py2
1327+ + d/python3-samba.lintian-overrides: use the same overrides we had for
1328+ python-samba, now deleted.
1329+ + d/samba-dev.install, d/samba-libs.install: update file list
1330+ + d/t/control, d/t/python-smoke: use python3
1331+ + d/control: use ${python3:Depends} now instead of the python 2
1332+ counterpart for samba and samba-common-bin.
1333+ - d/control: drop suggests for python-gpgme, it's no longer available.
1334+ [In 2:4.10.7+dfsg-1]
1335+ - d/gbp.conf, d/watch, r/README.source: updated for 4.10
1336+ [In 2:4.10.7+dfsg-1]
1337+ - d/control: update cmocka build-depends to >= 1.1.3
1338+ [In 2:4.10.7+dfsg-1]
1339+ - d/samba-libs.install: bump passdb minor to 0.27.2
1340+ [In 2:4.10.7+dfsg-1]
1341+ - d/ctdb.install, d/rules: create ctdb run directory into tmpfiles.d
1342+ to allow pid file to exist (LP #1821775)
1343+ [In 2:4.10.7+dfsg-1]
1344+ - Allow proper ctdb initalization (LP #1828799):
1345+ + d/ctdb.dirs: added /var/lib/ctdb/* directories
1346+ + d/ctdb.postrm: remove leftovers from:
1347+ /var/lib/ctdb/{state,persistent,volatile,scripts}
1348+ [In 2:4.10.7+dfsg-1]
1349+ - d/rules: installing provided config examples and helper scripts
1350+ - Examples of NFS HA CTDB config files + helper script:
1351+ + d/ctdb.example.enable.nfs.sh
1352+ + d/ctdb.example.nfs-common
1353+ + d/ctdb.example.nfs-kernel-server
1354+ + d/ctdb.example.services
1355+ + d/ctdb.example.sysctl-nfs-static-ports.conf
1356+ [In 2:4.10.7+dfsg-1]
1357+ - debian/rules: Make DEB_HOST_ARCH_CPU initialized through
1358+ dpkg-architecture (Closes: #931138)
1359+ [In 2:4.10.7+dfsg-1]
1360+ - d/control: update ldb build-deps to 1.5.5
1361+ [In 2:4.10.7+dfsg-1]
1362+ - SECURITY UPDATE: restricted share escape by user (LP #1842533)
1363+ [fixed upstream in 4.11.0rc2]
1364+ + debian/patches/CVE-2019-10197-01-v4-10.patch: smbd: separate
1365+ out impersonation debug info into a new function.
1366+ + debian/patches/CVE-2019-10197-02-v4-10.patch: smbd: make sure that
1367+ change_to_user_internal() always resets current_user.done_chdir
1368+ + debian/patches/CVE-2019-10197-03-v4-10.patch: smbd: make sure we
1369+ reset current_user.{need,done}_chdir in become_root()
1370+ + debian/patches/CVE-2019-10197-04-v4-10.patch: selftest: make
1371+ fsrvp_share its own independent subdirectory
1372+ + debian/patches/CVE-2019-10197-05-v4-10.patch:
1373+ test_smbclient_s3.sh: add regression test for the no permission
1374+ on share root problem
1375+ + debian/patches/CVE-2019-10197-06-v4-10.patch: smbd: split
1376+ change_to_user_impersonate() out of change_to_user_internal()
1377+ + CVE-2019-10197
1378+ * Added:
1379+ - d/control: drop python3-matplotlib. It's only used in
1380+ script/attr_count_read which is not installed with the
1381+ samba packages.
1382+
1383+ -- Andreas Hasenack <andreas@canonical.com> Fri, 29 Nov 2019 18:00:22 -0300
1384+
1385 samba (2:4.11.1+dfsg-3) unstable; urgency=medium
1386
1387 * Add some python dependencies:
1388@@ -1745,6 +2998,209 @@ samba (2:4.10.7+dfsg-1) experimental; urgency=medium
1389
1390 -- Mathieu Parent <sathieu@debian.org> Thu, 29 Aug 2019 14:32:52 +0200
1391
1392+samba (2:4.10.7+dfsg-0ubuntu3) focal; urgency=medium
1393+
1394+ * No-change rebuild to build with python3.8.
1395+
1396+ -- Matthias Klose <doko@ubuntu.com> Fri, 18 Oct 2019 18:53:34 +0000
1397+
1398+samba (2:4.10.7+dfsg-0ubuntu2) eoan; urgency=medium
1399+
1400+ * SECURITY UPDATE: restricted share escape by user (LP: #1842533)
1401+ - debian/patches/CVE-2019-10197-01-v4-10.patch: smbd: separate
1402+ out impersonation debug info into a new function.
1403+ - debian/patches/CVE-2019-10197-02-v4-10.patch: smbd: make sure that
1404+ change_to_user_internal() always resets current_user.done_chdir
1405+ - debian/patches/CVE-2019-10197-03-v4-10.patch: smbd: make sure we
1406+ reset current_user.{need,done}_chdir in become_root()
1407+ - debian/patches/CVE-2019-10197-04-v4-10.patch: selftest: make
1408+ fsrvp_share its own independent subdirectory
1409+ - debian/patches/CVE-2019-10197-05-v4-10.patch:
1410+ test_smbclient_s3.sh: add regression test for the no permission
1411+ on share root problem
1412+ - debian/patches/CVE-2019-10197-06-v4-10.patch: smbd: split
1413+ change_to_user_impersonate() out of change_to_user_internal()
1414+ - CVE-2019-10197
1415+
1416+ -- Steve Beattie <sbeattie@ubuntu.com> Fri, 30 Aug 2019 11:07:19 -0700
1417+
1418+samba (2:4.10.7+dfsg-0ubuntu1) eoan; urgency=medium
1419+
1420+ * New upstream version: 4.10.7
1421+ - d/p/ctdb-config-depend-on-etc-default-nodes-file.patch: dropped,
1422+ included upstream in 4.10.7
1423+
1424+ -- Andreas Hasenack <andreas@canonical.com> Thu, 22 Aug 2019 15:03:23 -0300
1425+
1426+samba (2:4.10.6+dfsg-0ubuntu1) eoan; urgency=medium
1427+
1428+ * New upstream version: 4.10.6
1429+ - d/p/fix-nfs-service-name-to-nfs-kernel-server.patch: changed to update
1430+ the Debian config and use it.
1431+ - d/control: update ldb build-deps to 1.5.5
1432+ * Dropped:
1433+ - d/p/CVE-2019-12436.patch: fixed upstream in 4.10.5
1434+ - d/p/CVE-2019-12435-*.patch: fixed upstream in 4.10.5
1435+ - d/p/CVE-2018-16860-*.patch: fixed upstream in 4.10.3
1436+ - d/p/CVE-2019-3880.patch: fixed upstream in 4.10.2
1437+ - d/p/CVE-2019-3870-*.patch: fixed upstream in 4.10.2
1438+ - d/p/dlz_bind_zone_update.patch: fixed upstream in 4.10.1
1439+ - d/p/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch: fixed
1440+ upstream in 4.10.5
1441+
1442+ -- Andreas Hasenack <andreas@canonical.com> Wed, 07 Aug 2019 17:20:48 -0300
1443+
1444+samba (2:4.10.0+dfsg-0ubuntu6) eoan; urgency=medium
1445+
1446+ * d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
1447+ change service name from nfs to nfs-kernel-server in
1448+ legacy script 06.nfs.script also (LP: #722201)
1449+
1450+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Thu, 11 Jul 2019 21:44:49 +0000
1451+
1452+samba (2:4.10.0+dfsg-0ubuntu5) eoan; urgency=medium
1453+
1454+ * debian/rules: Make DEB_HOST_ARCH_CPU initialized through
1455+ dpkg-architecture (Closes: #931138)
1456+ * d/p/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch:
1457+ fix tcp_tw_recycle existence check. (LP: #722201)
1458+ * d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
1459+ change nfs service name from nfs to nfs-kernel-server
1460+ (LP: #722201)
1461+ * d/ctdb.install, d/rules: create ctdb run directory into tmpfiles.d
1462+ to allow pid file to exist (LP: #1821775)
1463+ * Allow proper ctdb initialization (LP: #1828799):
1464+ - d/ctdb.dirs: added /var/lib/ctdb/* directories
1465+ - d/ctdb.postrm: remove leftovers from:
1466+ /var/lib/ctdb/{state,persistent,volatile,scripts}
1467+ * d/rules: installing provided config examples and helper scripts
1468+ * Examples of NFS HA CTDB config files + helper script:
1469+ - d/ctdb.example.enable.nfs.sh
1470+ - d/ctdb.example.nfs-common
1471+ - d/ctdb.example.nfs-kernel-server
1472+ - d/ctdb.example.services
1473+ - d/ctdb.example.sysctl-nfs-static-ports.conf
1474+ * d/p/ctdb-config-depend-on-etc-default-nodes-file.patch:
1475+ do not try to start daemon if /etc/ctdb/nodes does not exist
1476+ * d/p/ctdb-config-enable-syslog-by-default.patch:
1477+ enable syslog and systemd journal by default
1478+
1479+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 28 Jun 2019 00:14:27 +0000
1480+
1481+samba (2:4.10.0+dfsg-0ubuntu4) eoan; urgency=medium
1482+
1483+ * SECURITY UPDATE: zone operations can crash rpc server
1484+ - debian/patches/CVE-2019-12435-1.patch: avoid NULL deference if zone
1485+ not found in DnssrvOperation in
1486+ python/samba/tests/dcerpc/dnsserver.py,
1487+ source4/rpc_server/dnsserver/dcerpc_dnsserver.c.
1488+ - debian/patches/CVE-2019-12435-2.patch: avoid NULL deference if zone
1489+ not found in DnssrvOperation2 in
1490+ python/samba/tests/dcerpc/dnsserver.py,
1491+ source4/rpc_server/dnsserver/dcerpc_dnsserver.c.
1492+ - CVE-2019-12435
1493+ * SECURITY UPDATE: paged_searches crash on LDAP and homes access
1494+ - debian/patches/CVE-2019-12436.patch: ignore successful results
1495+ without messages in source4/dsdb/samdb/ldb_modules/paged_results.c,
1496+ source4/dsdb/tests/python/vlv.py.
1497+ - CVE-2019-12436
1498+
1499+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 12 Jun 2019 10:08:44 -0400
1500+
1501+samba (2:4.10.0+dfsg-0ubuntu3) eoan; urgency=medium
1502+
1503+ * SECURITY UPDATE: Samba AD DC S4U2Self/S4U2Proxy unkeyed checksum
1504+ - debian/patches/CVE-2018-16860-1.patch: add test for S4U2Self with
1505+ unkeyed checksum in selftest/knownfail.d/mitm-s4u2self,
1506+ source4/torture/krb5/kdc-canon-heimdal.c.
1507+ - debian/patches/CVE-2018-16860-2.patch: reject PA-S4U2Self with
1508+ unkeyed checksum in selftest/knownfail.d/mitm-s4u2self,
1509+ source4/heimdal/kdc/krb5tgs.c.
1510+ - CVE-2018-16860
1511+
1512+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 14 May 2019 09:10:24 -0400
1513+
1514+samba (2:4.10.0+dfsg-0ubuntu2) disco; urgency=medium
1515+
1516+ * SECURITY UPDATE: world writable files in Samba AD DC private/ dir
1517+ - debian/patches/CVE-2019-3870-1.patch: extend smbd tests to check for
1518+ umask being overwritten in python/samba/tests/ntacls_backup.py,
1519+ python/samba/tests/posixacl.py, python/samba/tests/smbd_base.py,
1520+ selftest/knownfail.d/umask-leak.
1521+ - debian/patches/CVE-2019-3870-2.patch: add test to check
1522+ file-permissions are correct after provision in
1523+ selftest/knownfail.d/provision_fileperms, source4/selftest/tests.py,
1524+ source4/setup/tests/provision_fileperms.sh.
1525+ - debian/patches/CVE-2019-3870-3.patch: include tests to show the
1526+ outside umask has no impact in python/samba/tests/ntacls_backup.py,
1527+ python/samba/tests/smbd_base.py, selftest/knownfail.d/pymkdir-umask.
1528+ - debian/patches/CVE-2019-3870-4.patch: move umask manipuations as
1529+ close as possible to users in source3/smbd/pysmbd.c,
1530+ selftest/knownfail.d/provision_fileperms,
1531+ selftest/knownfail.d/umask-leak.
1532+ - debian/patches/CVE-2019-3870-5.patch: ensure a zero umask is set for
1533+ smbd.mkdir() in selftest/knownfail.d/pymkdir-umask,
1534+ source3/smbd/pysmbd.c.
1535+ - CVE-2019-3870
1536+ * SECURITY UPDATE: save registry file outside share as unprivileged user
1537+ - debian/patches/CVE-2019-3880.patch: remove implementations of
1538+ SaveKey/RestoreKey in source3/rpc_server/winreg/srv_winreg_nt.c.
1539+ - CVE-2019-3880
1540+
1541+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 08 Apr 2019 10:32:30 -0400
1542+
1543+samba (2:4.10.0+dfsg-0ubuntu1) disco; urgency=medium
1544+
1545+ * New upstream version: 4.10.0
1546+ - d/gbp.conf, d/watch, r/README.source: updated for 4.10
1547+ - d/control: update cmocka build-depends to >= 1.1.3
1548+ - d/samba-libs.install: bump passdb minor to 0.27.2
1549+ * d/p/dlz_bind_zone_update.patch: make b9_has_soa check dc=@ node. Thanks to
1550+ Michael Saxl <mike@mwsys.mine.bz>. (LP: #1820846)
1551+
1552+ -- Andreas Hasenack <andreas@canonical.com> Thu, 21 Mar 2019 14:40:32 -0300
1553+
1554+samba (2:4.10.0~rc4+dfsg-0ubuntu1) disco; urgency=medium
1555+
1556+ * New upstream version 4.10.0rc4 (LP: #1818518):
1557+ - Removed patches already applied upstream:
1558+ + d/p/nsswitch-Add-try_authtok-option-to-pam_winbind.patch
1559+ + d/p/s3-auth-ignore-create_builtin_guests-failing-without.patch
1560+ - d/p/add-so-version-to-private-libraries: refreshed to remove fuzz
1561+ - d/control: Updated build dependencies:
1562+ + tdb >= 1.3.17
1563+ + talloc >= 2.1.15
1564+ + tevent >= 0.9.38
1565+ + ldb >= 1.5.3
1566+ - d/samba-common.docs: README is now README.md
1567+ - d/libsmbclient.symbols: update symbols for this version
1568+ - d/libwbclient0.symbols: update symbols for this version
1569+ - d/ctdb.install: new binary ctdb_local_daemons
1570+ - d/samba-dev.install: use globbing for the header files with
1571+ exceptions for wbclient.h and libsmbclient.h, which belong in
1572+ other packages.
1573+ - d/rules: fix globbing used to move the dckeytab python module to the
1574+ samba package, and add a comment explaining why this is being done.
1575+ * Switch to python3:
1576+ - d/rules: calculate the ldb version using python3, and drop the
1577+ "really" bit since the real 1.5.x series is being used now.
1578+ - d/rules: make sure python3 is used for the build
1579+ - d/rules: adjust globbing to remove the python3 version of tevent.so
1580+ - d/rules: drop PYVERS, unused
1581+ - d/control: adjust dependencies (build and runtime) for python3
1582+ - d/python3-samba.install, d/control: new python3-samba package
1583+ (LP: #1440381)
1584+ - d/control, d/python-samba.install: get rid of python-samba, which is py2
1585+ - d/python3-samba.lintian-overrides: use the same overrides we had for
1586+ python-samba, now deleted.
1587+ - d/samba-dev.install, d/samba-libs.install: update file list
1588+ - d/t/control, d/t/python-smoke: use python3
1589+ - d/control: use ${python3:Depends} now instead of the python 2
1590+ counterpart for samba and samba-common-bin.
1591+ * d/control: drop suggests for python-gpgme, it's no longer available.
1592+
1593+ -- Andreas Hasenack <andreas@canonical.com> Sat, 09 Mar 2019 12:45:25 +0000
1594+
1595 samba (2:4.9.5+dfsg-1) experimental; urgency=medium
1596
1597 * New upstream release
1598@@ -1789,6 +3245,31 @@ samba (2:4.9.4+dfsg-2) unstable; urgency=medium
1599
1600 -- Mathieu Parent <sathieu@debian.org> Wed, 23 Jan 2019 20:59:08 +0100
1601
1602+samba (2:4.9.4+dfsg-1ubuntu1) disco; urgency=medium
1603+
1604+ * Merge with Debian unstable. Remaining changes:
1605+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1606+ - debian/smb.conf;
1607+ + Add "(Samba, Ubuntu)" to server string.
1608+ + Comment out the default [homes] share, and add a comment about
1609+ "valid users = %s" to show users how to restrict access to
1610+ \\server\username to only username.
1611+ - debian/samba-common.config:
1612+ + Do not change priority to high if dhclient3 is installed.
1613+ - Add apport hook:
1614+ + Created debian/source_samba.py.
1615+ + debian/rules, debian/samba-common-bin.install: install hook.
1616+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1617+ MIR bug is https://launchpad.net/bugs/1274247
1618+ * Dropped:
1619+ - d/p/smbd-startup-with-winbind.patch: ignore create_builtin_guests()
1620+ failing without a valid idmap configuration. This fixes the smbd startup
1621+ on a standalone server where winbind is available and running. Thanks to
1622+ Stefan Metzmacher <metze@samba.org>. (LP #1806035)
1623+ [Fixed in 2:4.9.4+dfsg-1]
1624+
1625+ -- Andreas Hasenack <andreas@canonical.com> Thu, 17 Jan 2019 18:23:52 -0200
1626+
1627 samba (2:4.9.4+dfsg-1) unstable; urgency=medium
1628
1629 * New upstream release
1630@@ -1799,6 +3280,44 @@ samba (2:4.9.4+dfsg-1) unstable; urgency=medium
1631
1632 -- Mathieu Parent <sathieu@debian.org> Sat, 22 Dec 2018 18:32:00 +0100
1633
1634+samba (2:4.9.2+dfsg-2ubuntu3) disco; urgency=medium
1635+
1636+ * No-change rebuild for readline soname change.
1637+
1638+ -- Matthias Klose <doko@ubuntu.com> Mon, 14 Jan 2019 20:03:58 +0000
1639+
1640+samba (2:4.9.2+dfsg-2ubuntu2) disco; urgency=medium
1641+
1642+ * d/p/smbd-startup-with-winbind.patch: ignore create_builtin_guests()
1643+ failing without a valid idmap configuration. This fixes the smbd startup
1644+ on a standalone server where winbind is available and running. Thanks to
1645+ Stefan Metzmacher <metze@samba.org>. (LP: #1806035)
1646+
1647+ -- Andreas Hasenack <andreas@canonical.com> Fri, 21 Dec 2018 10:39:23 -0200
1648+
1649+samba (2:4.9.2+dfsg-2ubuntu1) disco; urgency=medium
1650+
1651+ * Merge with Debian unstable. Remaining changes:
1652+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1653+ - debian/smb.conf;
1654+ + Add "(Samba, Ubuntu)" to server string.
1655+ + Comment out the default [homes] share, and add a comment about
1656+ "valid users = %s" to show users how to restrict access to
1657+ \\server\username to only username.
1658+ - debian/samba-common.config:
1659+ + Do not change priority to high if dhclient3 is installed.
1660+ - Add apport hook:
1661+ + Created debian/source_samba.py.
1662+ + debian/rules, debian/samba-common-bin.install: install hook.
1663+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1664+ MIR bug is https://launchpad.net/bugs/1274247
1665+ * Dropped:
1666+ - d/p/fix-rmdir.patch: Fix to make smbclient report directory-not-empty
1667+ errors (LP: 1795772)
1668+ [Fixed upstream]
1669+
1670+ -- Andreas Hasenack <andreas@canonical.com> Wed, 28 Nov 2018 20:06:47 -0200
1671+
1672 samba (2:4.9.2+dfsg-2) unstable; urgency=high
1673
1674 * New upstream security release
1675@@ -1908,6 +3427,58 @@ samba (2:4.8.5+dfsg-1) unstable; urgency=medium
1676
1677 -- Mathieu Parent <sathieu@debian.org> Thu, 30 Aug 2018 19:32:24 +0200
1678
1679+samba (2:4.8.4+dfsg-2ubuntu3) disco; urgency=medium
1680+
1681+ * No-change rebuild against libldb1 1.4.2
1682+
1683+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 14 Nov 2018 22:46:24 +0000
1684+
1685+samba (2:4.8.4+dfsg-2ubuntu2) cosmic; urgency=high
1686+
1687+ [ Karl Stenerud ]
1688+ * d/p/fix-rmdir.patch: Fix to make the samba client library report
1689+ directory-not-empty errors (LP: #1795772)
1690+
1691+ -- Andreas Hasenack <andreas@canonical.com> Tue, 09 Oct 2018 14:32:16 -0300
1692+
1693+samba (2:4.8.4+dfsg-2ubuntu1) cosmic; urgency=medium
1694+
1695+ * Merge with Debian unstable (LP: #1778125). Remaining changes:
1696+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1697+ - debian/smb.conf;
1698+ + Add "(Samba, Ubuntu)" to server string.
1699+ + Comment out the default [homes] share, and add a comment about
1700+ "valid users = %s" to show users how to restrict access to
1701+ \\server\username to only username.
1702+ - debian/samba-common.config:
1703+ + Do not change priority to high if dhclient3 is installed.
1704+ - Add apport hook:
1705+ + Created debian/source_samba.py.
1706+ + debian/rules, debian/samba-common-bin.install: install hook.
1707+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1708+ MIR bug is https://launchpad.net/bugs/1274247
1709+ * Drop:
1710+ - Add extra DEP8 tests to samba (LP #1696823):
1711+ + d/t/control, d/t/cifs-share-access: access a file in a share using cifs
1712+ + d/t/control, d/t/smbclient-anonymous-share-list: list available shares
1713+ anonymously
1714+ + d/t/control, d/t/smbclient-authenticated-share-list: list available
1715+ shares using an authenticated connection
1716+ + d/t/control, d/t/smbclient-share-access: create a share and download a
1717+ file from it
1718+ [Accepted by Debian in 2:4.7.4+dfsg-2]
1719+ - d/samba-common.dhcp: If systemctl is available, use it to query the
1720+ status of the smbd service before trying to reload it. Otherwise,
1721+ keep the same check as before and reload the service based on the
1722+ existence of the initscript. (LP #1579597)
1723+ [In Debian since 2:4.7.4+dfsg-2]
1724+ - debian/patches/passdb_dont_return_ok_if_pinfo_not_filled.patch:
1725+ [PATCH] s3:passdb: Do not return OK if we don't have pinfo filled.
1726+ Thanks to Andreas Schneider <asn@samba.org>. (LP #1761737)
1727+ [Fixed upstream]
1728+
1729+ -- Andreas Hasenack <andreas@canonical.com> Tue, 21 Aug 2018 09:57:57 -0300
1730+
1731 samba (2:4.8.4+dfsg-2) unstable; urgency=high
1732
1733 * Fix typo in previous release: s/usefull/useful/
1734@@ -2065,6 +3636,55 @@ samba (2:4.8.0+dfsg-1) experimental; urgency=medium
1735
1736 -- Mathieu Parent <sathieu@debian.org> Mon, 19 Mar 2018 13:02:51 +0100
1737
1738+samba (2:4.7.6+dfsg~ubuntu-0ubuntu3) cosmic; urgency=medium
1739+
1740+ * No change rebuild to link with new ldb 1.3.3
1741+
1742+ -- Andreas Hasenack <andreas@canonical.com> Tue, 03 Jul 2018 09:57:24 -0300
1743+
1744+samba (2:4.7.6+dfsg~ubuntu-0ubuntu2) bionic; urgency=medium
1745+
1746+ * debian/patches/passdb_dont_return_ok_if_pinfo_not_filled.patch:
1747+ [PATCH] s3:passdb: Do not return OK if we don't have pinfo filled.
1748+ Thanks to Andreas Schneider <asn@samba.org>. (LP: #1761737)
1749+
1750+ -- Andreas Hasenack <andreas@canonical.com> Wed, 18 Apr 2018 11:49:55 -0300
1751+
1752+samba (2:4.7.6+dfsg~ubuntu-0ubuntu1) bionic; urgency=medium
1753+
1754+ * New upstream version:
1755+ - Fix database corruption bug when upgrading from samba 4.6 or lower
1756+ AD controllers (LP: #1755057)
1757+ - Fix security issues: CVE-2018-1050 and CVE-2018-1057 (LP: #1755059)
1758+ * Remaining changes:
1759+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1760+ - debian/smb.conf;
1761+ + Add "(Samba, Ubuntu)" to server string.
1762+ + Comment out the default [homes] share, and add a comment about
1763+ "valid users = %s" to show users how to restrict access to
1764+ \\server\username to only username.
1765+ - debian/samba-common.config:
1766+ + Do not change priority to high if dhclient3 is installed.
1767+ - Add apport hook:
1768+ + Created debian/source_samba.py.
1769+ + debian/rules, debian/samba-common-bin.install: install hook.
1770+ - Add extra DEP8 tests to samba (LP #1696823):
1771+ + d/t/control, d/t/cifs-share-access: access a file in a share using cifs
1772+ + d/t/control, d/t/smbclient-anonymous-share-list: list available shares
1773+ anonymously
1774+ + d/t/control, d/t/smbclient-authenticated-share-list: list available
1775+ shares using an authenticated connection
1776+ + d/t/control, d/t/smbclient-share-access: create a share and download a
1777+ file from it
1778+ - d/samba-common.dhcp: If systemctl is available, use it to query the
1779+ status of the smbd service before trying to reload it. Otherwise,
1780+ keep the same check as before and reload the service based on the
1781+ existence of the initscript. (LP #1579597)
1782+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1783+ MIR bug is https://launchpad.net/bugs/1274247
1784+
1785+ -- Andreas Hasenack <andreas@canonical.com> Tue, 13 Mar 2018 16:58:49 -0300
1786+
1787 samba (2:4.7.4+dfsg-2) unstable; urgency=high
1788
1789 [ Mathieu Parent ]
1790@@ -2095,6 +3715,37 @@ samba (2:4.7.4+dfsg-2) unstable; urgency=high
1791
1792 -- Mathieu Parent <sathieu@debian.org> Fri, 02 Mar 2018 20:55:06 +0100
1793
1794+samba (2:4.7.4+dfsg-1ubuntu1) bionic; urgency=medium
1795+
1796+ * Merge with Debian unstable (LP: #1744779). Remaining changes:
1797+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1798+ - debian/smb.conf;
1799+ + Add "(Samba, Ubuntu)" to server string.
1800+ + Comment out the default [homes] share, and add a comment about
1801+ "valid users = %s" to show users how to restrict access to
1802+ \\server\username to only username.
1803+ - debian/samba-common.config:
1804+ + Do not change priority to high if dhclient3 is installed.
1805+ - Add apport hook:
1806+ + Created debian/source_samba.py.
1807+ + debian/rules, debian/samba-common-bin.install: install hook.
1808+ - Add extra DEP8 tests to samba (LP #1696823):
1809+ + d/t/control, d/t/cifs-share-access: access a file in a share using cifs
1810+ + d/t/control, d/t/smbclient-anonymous-share-list: list available shares
1811+ anonymously
1812+ + d/t/control, d/t/smbclient-authenticated-share-list: list available
1813+ shares using an authenticated connection
1814+ + d/t/control, d/t/smbclient-share-access: create a share and download a
1815+ file from it
1816+ - d/samba-common.dhcp: If systemctl is available, use it to query the
1817+ status of the smbd service before trying to reload it. Otherwise,
1818+ keep the same check as before and reload the service based on the
1819+ existence of the initscript. (LP #1579597)
1820+ - d/control, d/rules: Disable glusterfs support because it's not in main.
1821+ MIR bug is https://launchpad.net/bugs/1274247
1822+
1823+ -- Andreas Hasenack <andreas@canonical.com> Mon, 22 Jan 2018 16:31:41 -0200
1824+
1825 samba (2:4.7.4+dfsg-1) unstable; urgency=medium
1826
1827 * New upstream version
1828@@ -2111,6 +3762,42 @@ samba (2:4.7.4+dfsg-1) unstable; urgency=medium
1829
1830 -- Mathieu Parent <sathieu@debian.org> Thu, 11 Jan 2018 20:49:28 +0100
1831
1832+samba (2:4.7.3+dfsg-1ubuntu1) bionic; urgency=medium
1833+
1834+ * Merge with Debian; remaining changes:
1835+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1836+ - debian/smb.conf;
1837+ + Add "(Samba, Ubuntu)" to server string.
1838+ + Comment out the default [homes] share, and add a comment about
1839+ "valid users = %s" to show users how to restrict access to
1840+ \\server\username to only username.
1841+ - debian/samba-common.config:
1842+ + Do not change priority to high if dhclient3 is installed.
1843+ - Add apport hook:
1844+ + Created debian/source_samba.py.
1845+ + debian/rules, debian/samba-common-bin.install: install hook.
1846+ - Add extra DEP8 tests to samba (LP #1696823):
1847+ + d/t/control: enable the new DEP8 tests
1848+ + d/t/smbclient-anonymous-share-list: list available shares anonymously
1849+ + d/t/smbclient-authenticated-share-list: list available shares using
1850+ an authenticated connection
1851+ + d/t/smbclient-share-access: create a share and download a file from it
1852+ + d/t/cifs-share-access: access a file in a share using cifs
1853+ - Ask the user if we can run testparm against the config file. If yes,
1854+ include its stderr and exit status in the bug report. Otherwise, only
1855+ include the exit status. (LP #1694334)
1856+ - If systemctl is available, use it to query the status of the smbd
1857+ service before trying to reload it. Otherwise, keep the same check
1858+ as before and reload the service based on the existence of the
1859+ initscript. (LP #1579597)
1860+ - d/rules: Compile winbindd/winbindd statically.
1861+ - Disable glusterfs support because it's not in main.
1862+ MIR bug is https://launchpad.net/bugs/1274247
1863+ - d/source_samba.py: use the new recommended findmnt(8) tool to list
1864+ mountpoints and correctly filter by the cifs filesystem type.
1865+
1866+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 05 Dec 2017 12:49:20 -0500
1867+
1868 samba (2:4.7.3+dfsg-1) unstable; urgency=high
1869
1870 * New upstream version
1871@@ -2134,6 +3821,42 @@ samba (2:4.7.1+dfsg-2) unstable; urgency=high
1872
1873 -- Mathieu Parent <sathieu@debian.org> Sun, 12 Nov 2017 10:02:19 +0100
1874
1875+samba (2:4.7.1+dfsg-1ubuntu1) bionic; urgency=medium
1876+
1877+ * Merge with Debian; remaining changes:
1878+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1879+ - debian/smb.conf;
1880+ + Add "(Samba, Ubuntu)" to server string.
1881+ + Comment out the default [homes] share, and add a comment about
1882+ "valid users = %s" to show users how to restrict access to
1883+ \\server\username to only username.
1884+ - debian/samba-common.config:
1885+ + Do not change priority to high if dhclient3 is installed.
1886+ - Add apport hook:
1887+ + Created debian/source_samba.py.
1888+ + debian/rules, debian/samba-common-bin.install: install hook.
1889+ - Add extra DEP8 tests to samba (LP #1696823):
1890+ + d/t/control: enable the new DEP8 tests
1891+ + d/t/smbclient-anonymous-share-list: list available shares anonymously
1892+ + d/t/smbclient-authenticated-share-list: list available shares using
1893+ an authenticated connection
1894+ + d/t/smbclient-share-access: create a share and download a file from it
1895+ + d/t/cifs-share-access: access a file in a share using cifs
1896+ - Ask the user if we can run testparm against the config file. If yes,
1897+ include its stderr and exit status in the bug report. Otherwise, only
1898+ include the exit status. (LP #1694334)
1899+ - If systemctl is available, use it to query the status of the smbd
1900+ service before trying to reload it. Otherwise, keep the same check
1901+ as before and reload the service based on the existence of the
1902+ initscript. (LP #1579597)
1903+ - d/rules: Compile winbindd/winbindd statically.
1904+ - Disable glusterfs support because it's not in main.
1905+ MIR bug is https://launchpad.net/bugs/1274247
1906+ - d/source_samba.py: use the new recommended findmnt(8) tool to list
1907+ mountpoints and correctly filter by the cifs filesystem type.
1908+
1909+ -- Matthias Klose <doko@ubuntu.com> Fri, 10 Nov 2017 10:03:57 +0100
1910+
1911 samba (2:4.7.1+dfsg-1) unstable; urgency=medium
1912
1913 * New upstream version
1914@@ -2182,6 +3905,87 @@ samba (2:4.6.7+dfsg-2) unstable; urgency=high
1915
1916 -- Mathieu Parent <sathieu@debian.org> Tue, 19 Sep 2017 22:00:13 +0200
1917
1918+samba (2:4.6.7+dfsg-1ubuntu3) artful; urgency=medium
1919+
1920+ * SECURITY UPDATE: SMB1/2/3 connections may not require signing where
1921+ they should
1922+ - debian/patches/CVE-2017-12150-1.patch: don't turn a guessed username
1923+ into a specified one in source3/include/auth_info.h,
1924+ source3/lib/popt_common.c, source3/lib/util_cmdline.c.
1925+ - debian/patches/CVE-2017-12150-2.patch: add SMB_SIGNING_REQUIRED to
1926+ source3/lib/util_cmdline.c.
1927+ - debian/patches/CVE-2017-12150-3.patch: add SMB_SIGNING_REQUIRED to
1928+ source3/libsmb/pylibsmb.c.
1929+ - debian/patches/CVE-2017-12150-4.patch: add SMB_SIGNING_REQUIRED to
1930+ libgpo/gpo_fetch.c.
1931+ - debian/patches/CVE-2017-12150-5.patch: add check for
1932+ NTLM_CCACHE/SIGN/SEAL to auth/credentials/credentials.c.
1933+ - debian/patches/CVE-2017-12150-6.patch: add
1934+ smbXcli_conn_signing_mandatory() to libcli/smb/smbXcli_base.*.
1935+ - debian/patches/CVE-2017-12150-7.patch: only fallback to anonymous if
1936+ authentication was not requested in source3/libsmb/clidfs.c.
1937+ - CVE-2017-12150
1938+ * SECURITY UPDATE: SMB3 connections don't keep encryption across DFS
1939+ redirects
1940+ - debian/patches/CVE-2017-12151-1.patch: add
1941+ cli_state_is_encryption_on() helper function to
1942+ source3/libsmb/clientgen.c, source3/libsmb/proto.h.
1943+ - debian/patches/CVE-2017-12151-2.patch: make use of
1944+ cli_state_is_encryption_on() in source3/libsmb/clidfs.c,
1945+ source3/libsmb/libsmb_context.c.
1946+ - CVE-2017-12151
1947+ * SECURITY UPDATE: Server memory information leak over SMB1
1948+ - debian/patches/CVE-2017-12163.patch: prevent client short SMB1 write
1949+ from writing server memory to file in source3/smbd/reply.c.
1950+ - CVE-2017-12163
1951+
1952+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Thu, 21 Sep 2017 08:10:03 -0400
1953+
1954+samba (2:4.6.7+dfsg-1ubuntu2) artful; urgency=medium
1955+
1956+ * d/source_samba.py: use the new recommended findmnt(8) tool to list
1957+ mountpoints and correctly filter by the cifs filesystem type.
1958+ (LP: #1703604)
1959+
1960+ -- Andreas Hasenack <andreas@canonical.com> Fri, 01 Sep 2017 09:47:58 -0300
1961+
1962+samba (2:4.6.7+dfsg-1ubuntu1) artful; urgency=medium
1963+
1964+ * Merge with Debian unstable (LP: #1710281).
1965+ - Upstream version 4.6.7 fixes the CVE-2017-2619 regression with non-wide
1966+ symlinks to directories (LP: #1701073)
1967+ * Remaining changes:
1968+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
1969+ - debian/smb.conf;
1970+ + Add "(Samba, Ubuntu)" to server string.
1971+ + Comment out the default [homes] share, and add a comment about
1972+ "valid users = %s" to show users how to restrict access to
1973+ \\server\username to only username.
1974+ - debian/samba-common.config:
1975+ + Do not change priority to high if dhclient3 is installed.
1976+ - Add apport hook:
1977+ + Created debian/source_samba.py.
1978+ + debian/rules, debian/samba-common-bin.install: install hook.
1979+ - Add extra DEP8 tests to samba (LP #1696823):
1980+ + d/t/control: enable the new DEP8 tests
1981+ + d/t/smbclient-anonymous-share-list: list available shares anonymously
1982+ + d/t/smbclient-authenticated-share-list: list available shares using
1983+ an authenticated connection
1984+ + d/t/smbclient-share-access: create a share and download a file from it
1985+ + d/t/cifs-share-access: access a file in a share using cifs
1986+ - Ask the user if we can run testparm against the config file. If yes,
1987+ include its stderr and exit status in the bug report. Otherwise, only
1988+ include the exit status. (LP #1694334)
1989+ - If systemctl is available, use it to query the status of the smbd
1990+ service before trying to reload it. Otherwise, keep the same check
1991+ as before and reload the service based on the existence of the
1992+ initscript. (LP #1579597)
1993+ - d/rules: Compile winbindd/winbindd statically.
1994+ - Disable glusterfs support because it's not in main.
1995+ MIR bug is https://launchpad.net/bugs/1274247
1996+
1997+ -- Andreas Hasenack <andreas@canonical.com> Mon, 21 Aug 2017 17:27:08 -0300
1998+
1999 samba (2:4.6.7+dfsg-1) unstable; urgency=medium
2000
2001 * New upstream version
2002@@ -2193,6 +3997,60 @@ samba (2:4.6.7+dfsg-1) unstable; urgency=medium
2003
2004 -- Mathieu Parent <sathieu@debian.org> Tue, 15 Aug 2017 23:06:36 +0200
2005
2006+samba (2:4.6.5+dfsg-8ubuntu1) artful; urgency=medium
2007+
2008+ * Merge with Debian unstable (LP: #1700644). Remaining changes:
2009+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
2010+ - debian/smb.conf;
2011+ + Add "(Samba, Ubuntu)" to server string.
2012+ + Comment out the default [homes] share, and add a comment about
2013+ "valid users = %s" to show users how to restrict access to
2014+ \\server\username to only username.
2015+ - debian/samba-common.config:
2016+ + Do not change priority to high if dhclient3 is installed.
2017+ - Add apport hook:
2018+ + Created debian/source_samba.py.
2019+ + debian/rules, debian/samba-common-bin.install: install hook.
2020+ - Add extra DEP8 tests to samba (LP #1696823):
2021+ + d/t/control: enable the new DEP8 tests
2022+ + d/t/smbclient-anonymous-share-list: list available shares anonymously
2023+ + d/t/smbclient-authenticated-share-list: list available shares using
2024+ an authenticated connection
2025+ + d/t/smbclient-share-access: create a share and download a file from it
2026+ + d/t/cifs-share-access: access a file in a share using cifs
2027+ - Ask the user if we can run testparm against the config file. If yes,
2028+ include its stderr and exit status in the bug report. Otherwise, only
2029+ include the exit status. (LP #1694334)
2030+ - If systemctl is available, use it to query the status of the smbd
2031+ service before trying to reload it. Otherwise, keep the same check
2032+ as before and reload the service based on the existence of the
2033+ initscript. (LP #1579597)
2034+ * Drop:
2035+ - d/rules: Compile winbindd/winbindd statically. (LP: #1700527)
2036+ [This hunk was missed in 2:4.5.8+dfsg-2ubuntu2 when patch
2037+ fix-1584485.patch was dropped there.]
2038+ - d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2039+ pam_winbind krb5_ccache_type=FILE failure
2040+ [Replaced by d/p/s3-gse_krb5-fix-a-possible-crash-in-fill_mem_keytab.patch
2041+ in 2:4.6.5+dfsg-3 that closed Debian's bug #739768]
2042+ - debian/patches/winbind_trusted_domains.patch: make sure domain
2043+ members can talk to trusted domains DCs.
2044+ [Upstream committed a different fix, see updated patch attached to
2045+ https://bugzilla.samba.org/show_bug.cgi?id=11830]
2046+ - d/control: add libcephfs-dev as b-d to build vfs_ceph
2047+ [Adopted by Debian in 2:4.6.5+dfsg-1]
2048+ - debian/patches/CVE-2017-11103.patch: use encrypted service
2049+ name rather than unencrypted (and therefore spoofable) version
2050+ in heimdal
2051+ [Adopted by Debian as
2052+ d/p/CVE-2017-11103-Orpheus-Lyre-KDC-REP-service-name-val.patch]
2053+ - Cherrypick upstream patch to fix FTBFS with new ceph lib.
2054+ [Merged upstream in 4.6.0rc1]
2055+ * Disable glusterfs support because it's not in main.
2056+ MIR bug is https://launchpad.net/bugs/1274247
2057+
2058+ -- Andreas Hasenack <andreas@canonical.com> Thu, 10 Aug 2017 22:20:22 -0300
2059+
2060 samba (2:4.6.5+dfsg-8) unstable; urgency=medium
2061
2062 * Remove dependency on update-inetd, not used anymore
2063@@ -2312,6 +4170,77 @@ samba (2:4.6.5+dfsg-1) experimental; urgency=medium
2064
2065 -- Mathieu Parent <sathieu@debian.org> Mon, 12 Jun 2017 08:09:43 +0200
2066
2067+samba (2:4.5.8+dfsg-2ubuntu5) artful; urgency=medium
2068+
2069+ * Cherrypick upstream patch to fix FTBFS with new ceph lib.
2070+
2071+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 26 Jul 2017 08:34:24 +0100
2072+
2073+samba (2:4.5.8+dfsg-2ubuntu4) artful; urgency=medium
2074+
2075+ * SECURITY UPDATE: KDC-REP service name impersonation
2076+ - debian/patches/CVE-2017-11103.patch: use encrypted service
2077+ name rather than unencrypted (and therefore spoofable) version
2078+ in heimdal
2079+ - CVE-2017-11103
2080+
2081+ -- Steve Beattie <sbeattie@ubuntu.com> Mon, 17 Jul 2017 16:22:28 -0700
2082+
2083+samba (2:4.5.8+dfsg-2ubuntu3) artful; urgency=medium
2084+
2085+ * No-change rebuild against libldb 1.1.29
2086+
2087+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 25 Jun 2017 16:09:33 -0700
2088+
2089+samba (2:4.5.8+dfsg-2ubuntu2) artful; urgency=medium
2090+
2091+ * Add extra DEP8 tests to samba (LP: #1696823):
2092+ - d/t/control: enable the new DEP8 tests
2093+ - d/t/smbclient-anonymous-share-list: list available shares anonymously
2094+ - d/t/smbclient-authenticated-share-list: list available shares using
2095+ an authenticated connection
2096+ - d/t/smbclient-share-access: create a share and download a file from it
2097+ - d/t/cifs-share-access: access a file in a share using cifs
2098+ * Ask the user if we can run testparm against the config file. If yes,
2099+ include its stderr and exit status in the bug report. Otherwise, only
2100+ include the exit status. (LP: #1694334)
2101+ * If systemctl is available, use it to query the status of the smbd
2102+ service before trying to reload it. Otherwise, keep the same check
2103+ as before and reload the service based on the existence of the
2104+ initscript. (LP: #1579597)
2105+ * Remove d/p/fix-1584485.patch as it builds a broken pam_winbind
2106+ module. There is a fixed version of that patch attached to
2107+ #1677329 but it has not been vetted yet, so for now it's best
2108+ to revert (again) so that pam_winbind can be used.
2109+ (LP: #1677329, LP: #1644428)
2110+
2111+ -- Andreas Hasenack <andreas@canonical.com> Mon, 19 Jun 2017 10:49:29 -0700
2112+
2113+samba (2:4.5.8+dfsg-2ubuntu1) artful; urgency=medium
2114+
2115+ * Merge from Debian unstable. Remaining changes:
2116+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
2117+ - debian/smb.conf;
2118+ + Add "(Samba, Ubuntu)" to server string.
2119+ + Comment out the default [homes] share, and add a comment about
2120+ "valid users = %s" to show users how to restrict access to
2121+ \\server\username to only username.
2122+ - debian/samba-common.config:
2123+ + Do not change priority to high if dhclient3 is installed.
2124+ - Add apport hook:
2125+ + Created debian/source_samba.py.
2126+ + debian/rules, debian/samba-common-bin.install: install hook.
2127+ - d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2128+ pam_winbind krb5_ccache_type=FILE failure
2129+ - debian/patches/winbind_trusted_domains.patch: make sure domain
2130+ members can talk to trusted domains DCs.
2131+ - d/p/fix-1584485.patch: Make libnss-winbind and libpam-winbind
2132+ to be statically linked
2133+ - d/rules: Compile winbindd/winbindd statically.
2134+ - d/control: add libcephfs-dev as b-d to build vfs_ceph
2135+
2136+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Thu, 15 Jun 2017 14:17:43 -0400
2137+
2138 samba (2:4.5.8+dfsg-2) unstable; urgency=high
2139
2140 * CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside
2141@@ -2326,6 +4255,23 @@ samba (2:4.5.8+dfsg-1) unstable; urgency=high
2142
2143 -- Mathieu Parent <sathieu@debian.org> Sat, 01 Apr 2017 20:39:17 +0200
2144
2145+samba (2:4.5.8+dfsg-0ubuntu1) artful; urgency=medium
2146+
2147+ * SECURITY UPDATE: remote code execution from a writable share
2148+ - debian/patches/CVE-2017-7494.patch: refuse to open pipe names with a
2149+ slash inside in source3/rpc_server/srv_pipe.c.
2150+ - CVE-2017-7494
2151+
2152+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 24 May 2017 07:39:13 -0400
2153+
2154+samba (2:4.5.8+dfsg-0ubuntu0.17.04.1) zesty-security; urgency=medium
2155+
2156+ * SECURITY UPDATE: Symlink race allows access outside share definition
2157+ - Updated to new upstream release 4.5.8.
2158+ - CVE-2017-2619
2159+
2160+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 21 Apr 2017 07:33:25 -0400
2161+
2162 samba (2:4.5.6+dfsg-2) unstable; urgency=high
2163
2164 * This is a security release in order to address the following defects:
2165@@ -2355,6 +4301,61 @@ samba (2:4.5.5+dfsg-1) unstable; urgency=medium
2166
2167 -- Mathieu Parent <sathieu@debian.org> Sun, 05 Mar 2017 23:21:09 +0100
2168
2169+samba (2:4.5.4+dfsg-1ubuntu2) zesty; urgency=medium
2170+
2171+ * d/control: add libcephfs-dev as b-d to build vfs_ceph
2172+ (LP: #1668940).
2173+
2174+ -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Mon, 06 Mar 2017 11:13:41 -0800
2175+
2176+samba (2:4.5.4+dfsg-1ubuntu1) zesty; urgency=medium
2177+
2178+ * Merge from Debian unstable (LP: #1659707, LP: #1639962). Remaining
2179+ changes:
2180+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2181+ + debian/smb.conf;
2182+ - Add "(Samba, Ubuntu)" to server string.
2183+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2184+ to show users how to restrict access to \\server\username to only username.
2185+ + debian/samba-common.config:
2186+ - Do not change prioritiy to high if dhclient3 is installed.
2187+ + Add apport hook:
2188+ - Created debian/source_samba.py.
2189+ - debian/rules, debia/samb-common-bin.install: install hook.
2190+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2191+ pam_winbind krb5_ccache_type=FILE failure (LP #1310919)
2192+ + debian/patches/winbind_trusted_domains.patch: make sure domain members
2193+ can talk to trusted domains DCs.
2194+ [ update patch based upon upstream discussion ]
2195+ + d/p/fix-1584485.patch: Make libnss-winbind and libpam-winbind
2196+ to be statically linked fixes LP #1584485.
2197+ + d/rules: Compile winbindd/winbindd statically.
2198+ * Drop:
2199+ - Delete debian/.gitignore
2200+ [ Previously undocumented ]
2201+ - debian/patches/git_smbclient_cpu.patch:
2202+ + backport upstream patch to fix smbclient users hanging/eating cpu on
2203+ trying to contact a machine which is not there (lp #1572260)
2204+ [ Fixed upstream ]
2205+ - SECURITY UPDATE: remote code execution via heap overflow in NDR parsing
2206+ + debian/patches/CVE-2016-2123.patch: check lengths in
2207+ librpc/ndr/ndr_dnsp.c.
2208+ + CVE-2016-2123
2209+ [ Fixed in Debian ]
2210+ - SECURITY UPDATE: unconditional privilege delegation to Kerberos servers
2211+ + debian/patches/CVE-2016-2125.patch: don't use GSS_C_DELEG_FLAG in
2212+ source4/scripting/bin/nsupdate-gss, source3/librpc/crypto/gse.c,
2213+ source4/auth/gensec/gensec_gssapi.c.
2214+ + CVE-2016-2125
2215+ [ Fixed in Debian ]
2216+ - SECURITY UPDATE: privilege elevation in Kerberos PAC validation
2217+ + debian/patches/CVE-2016-2126.patch: only allow known checksum types
2218+ in auth/kerberos/kerberos_pac.c.
2219+ + CVE-2016-2126
2220+ [ Fixed in Debian ]
2221+
2222+ -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Thu, 26 Jan 2017 17:20:15 -0800
2223+
2224 samba (2:4.5.4+dfsg-1) unstable; urgency=medium
2225
2226 [ Mathieu Parent ]
2227@@ -2482,6 +4483,77 @@ samba (2:4.4.5+dfsg-3) unstable; urgency=medium
2228
2229 -- Mathieu Parent <sathieu@debian.org> Fri, 09 Sep 2016 13:00:54 +0200
2230
2231+samba (2:4.4.5+dfsg-2ubuntu7) zesty; urgency=medium
2232+
2233+ * SECURITY UPDATE: remote code execution via heap overflow in NDR parsing
2234+ - debian/patches/CVE-2016-2123.patch: check lengths in
2235+ librpc/ndr/ndr_dnsp.c.
2236+ - CVE-2016-2123
2237+ * SECURITY UPDATE: unconditional privilege delegation to Kerberos servers
2238+ - debian/patches/CVE-2016-2125.patch: don't use GSS_C_DELEG_FLAG in
2239+ source4/scripting/bin/nsupdate-gss, source3/librpc/crypto/gse.c,
2240+ source4/auth/gensec/gensec_gssapi.c.
2241+ - CVE-2016-2125
2242+ * SECURITY UPDATE: privilege elevation in Kerberos PAC validation
2243+ - debian/patches/CVE-2016-2126.patch: only allow known checksum types
2244+ in auth/kerberos/kerberos_pac.c.
2245+ - CVE-2016-2126
2246+
2247+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 20 Jan 2017 12:32:25 -0500
2248+
2249+samba (2:4.4.5+dfsg-2ubuntu6) zesty; urgency=high
2250+
2251+ * d/p/fix-1584485.patch: Make libnss-winbind and libpam-winbind
2252+ to be statically linked fixes LP: #1584485.
2253+
2254+ * d/rules: Compile winbindd/winbindd statically.
2255+
2256+ -- Jorge Niedbalski <jorge.niedbalski@canonical.com> Wed, 02 Nov 2016 13:59:10 +0100
2257+
2258+samba (2:4.4.5+dfsg-2ubuntu5) yakkety; urgency=medium
2259+
2260+ * No-change rebuild for readline soname change.
2261+
2262+ -- Matthias Klose <doko@ubuntu.com> Sun, 18 Sep 2016 10:26:52 +0000
2263+
2264+samba (2:4.4.5+dfsg-2ubuntu4) yakkety; urgency=medium
2265+
2266+ * No-change rebuild for readline soname change.
2267+
2268+ -- Matthias Klose <doko@ubuntu.com> Sat, 17 Sep 2016 12:09:21 +0000
2269+
2270+samba (2:4.4.5+dfsg-2ubuntu3) yakkety; urgency=medium
2271+
2272+ * debian/patches/git_smbclient_cpu.patch:
2273+ - backport upstream patch to fix smbclient users hanging/eating cpu on
2274+ trying to contact a machine which is not there (lp: #1572260)
2275+
2276+ -- Sebastien Bacher <seb128@ubuntu.com> Fri, 05 Aug 2016 17:32:43 +0200
2277+
2278+samba (2:4.4.5+dfsg-2ubuntu1) yakkety; urgency=low
2279+
2280+ * Merge from Debian unstable. Remaining changes:
2281+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2282+ + debian/smb.conf;
2283+ - Add "(Samba, Ubuntu)" to server string.
2284+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2285+ to show users how to restrict access to \\server\username to only username.
2286+ + debian/samba-common.config:
2287+ - Do not change prioritiy to high if dhclient3 is installed.
2288+ + Add apport hook:
2289+ - Created debian/source_samba.py.
2290+ - debian/rules, debia/samb-common-bin.install: install hook.
2291+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2292+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2293+ + debian/patches/winbind_trusted_domains.patch: make sure domain members
2294+ can talk to trusted domains DCs.
2295+ * Dropped changes:
2296+ - build-depends on libgnutls-dev instead of libgnutsl28-dev: rename was
2297+ never done in Debian, revert.
2298+ - ufw integration: included in Debian.
2299+
2300+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 14 Jul 2016 17:45:46 -0700
2301+
2302 samba (2:4.4.5+dfsg-2) unstable; urgency=medium
2303
2304 * Disable running of 'make quicktest' during build, as it takes very
2305@@ -2609,6 +4681,20 @@ samba (2:4.4.0+dfsg-1) experimental; urgency=medium
2306
2307 -- Andrew Bartlett <abartlet+debian@catalyst.net.nz> Wed, 06 Apr 2016 17:08:20 +1200
2308
2309+samba (2:4.3.9+dfsg-0ubuntu1) yakkety; urgency=medium
2310+
2311+ * SECURITY REGRESSION: Updated to 4.3.9 to fix multiple regressions in
2312+ the previous security updates. (LP: #1577739)
2313+ - debian/control: bump tevent Build-Depends to 0.9.28.
2314+ * SECURITY REGRESSION: NTLM authentication issues (LP: #1578576)
2315+ - debian/patches/samba-bug11912.patch: let msrpc_parse() return
2316+ talloc'ed empty strings in libcli/auth/msrpc_parse.c.
2317+ - debian/patches/samba-bug11914.patch: make
2318+ ntlm_auth_generate_session_info() more complete in
2319+ source3/utils/ntlm_auth.c.
2320+
2321+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 25 May 2016 09:29:15 -0400
2322+
2323 samba (2:4.3.8+dfsg-1) unstable; urgency=low
2324
2325 [ Jelmer Vernooij ]
2326@@ -2623,6 +4709,25 @@ samba (2:4.3.8+dfsg-1) unstable; urgency=low
2327
2328 -- Jelmer Vernooij <jelmer@debian.org> Sat, 16 Apr 2016 01:18:36 +0000
2329
2330+samba (2:4.3.8+dfsg-0ubuntu1) xenial; urgency=medium
2331+
2332+ * SECURITY UPDATE: Updated to 4.3.8 to fix multiple security issues
2333+ - CVE-2015-5370: Multiple errors in DCE-RPC code
2334+ - CVE-2016-2110: Man in the middle attacks possible with NTLMSSP
2335+ - CVE-2016-2111: NETLOGON Spoofing Vulnerability
2336+ - CVE-2016-2112: The LDAP client and server don't enforce integrity
2337+ protection
2338+ - CVE-2016-2113: Missing TLS certificate validation allows man in the
2339+ middle attacks
2340+ - CVE-2016-2114: "server signing = mandatory" not enforced
2341+ - CVE-2016-2115: SMB client connections for IPC traffic are not
2342+ integrity protected
2343+ - CVE-2016-2118: SAMR and LSA man in the middle attacks possible
2344+ * debian/patches/winbind_trusted_domains.patch: make sure domain members
2345+ can talk to trusted domains DCs.
2346+
2347+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 12 Apr 2016 07:26:29 -0400
2348+
2349 samba (2:4.3.7+dfsg-1) unstable; urgency=high
2350
2351 * New upstream release.
2352@@ -2665,6 +4770,29 @@ samba (2:4.3.6+dfsg-2) unstable; urgency=low
2353
2354 -- Mathieu Parent <sathieu@debian.org> Thu, 31 Mar 2016 22:26:11 +0200
2355
2356+samba (2:4.3.6+dfsg-1ubuntu1) xenial; urgency=medium
2357+
2358+ * Merge with Debian; remaining changes:
2359+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2360+ + debian/smb.conf;
2361+ - Add "(Samba, Ubuntu)" to server string.
2362+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2363+ to show users how to restrict access to \\server\username to only username.
2364+ + debian/samba-common.config:
2365+ - Do not change prioritiy to high if dhclient3 is installed.
2366+ + debian/control:
2367+ - Switch build depends from transitional libgnutsl28-dev to libgnutls-dev
2368+ + Add ufw integration:
2369+ - Created debian/samba.ufw.profile:
2370+ - debian/rules, debian/samba.install: install profile
2371+ + Add apport hook:
2372+ - Created debian/source_samba.py.
2373+ - debian/rules, debia/samb-common-bin.install: install hook.
2374+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2375+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2376+
2377+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 09 Mar 2016 08:49:12 -0500
2378+
2379 samba (2:4.3.6+dfsg-1) unstable; urgency=medium
2380
2381 * New upstream release.
2382@@ -2710,6 +4838,42 @@ samba (2:4.3.3+dfsg-2) unstable; urgency=medium
2383
2384 -- Mathieu Parent <sathieu@debian.org> Thu, 04 Feb 2016 13:25:01 +0100
2385
2386+samba (2:4.3.3+dfsg-1ubuntu3) xenial; urgency=medium
2387+
2388+ * No-change rebuild for gnutls transition.
2389+
2390+ -- Matthias Klose <doko@ubuntu.com> Wed, 17 Feb 2016 22:41:43 +0000
2391+
2392+samba (2:4.3.3+dfsg-1ubuntu2) xenial; urgency=medium
2393+
2394+ * Fixes regression introduced by debian/patches/CVE-2015-5252.patch.
2395+ (LP: #1545750)
2396+
2397+ -- Dariusz Gadomski <dariusz.gadomski@canonical.com> Mon, 15 Feb 2016 16:05:12 +0100
2398+
2399+samba (2:4.3.3+dfsg-1ubuntu1) xenial; urgency=medium
2400+
2401+ * Merge with Debian; remaining changes:
2402+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2403+ + debian/smb.conf;
2404+ - Add "(Samba, Ubuntu)" to server string.
2405+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2406+ to show users how to restrict access to \\server\username to only username.
2407+ + debian/samba-common.config:
2408+ - Do not change prioritiy to high if dhclient3 is installed.
2409+ + debian/control:
2410+ - Switch build depends from transitional libgnutsl28-dev to libgnutls-dev
2411+ + Add ufw integration:
2412+ - Created debian/samba.ufw.profile:
2413+ - debian/rules, debian/samba.install: install profile
2414+ + Add apport hook:
2415+ - Created debian/source_samba.py.
2416+ - debian/rules, debia/samb-common-bin.install: install hook.
2417+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2418+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2419+
2420+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 06 Jan 2016 07:41:39 -0500
2421+
2422 samba (2:4.3.3+dfsg-1) unstable; urgency=medium
2423
2424 * New upstream release. Closes: #808133.
2425@@ -2794,6 +4958,63 @@ samba (2:4.2.1+dfsg-1) experimental; urgency=medium
2426
2427 -- Jelmer Vernooij <jelmer@debian.org> Sun, 07 Dec 2014 15:34:36 +0000
2428
2429+samba (2:4.1.20+dfsg-1ubuntu5) xenial; urgency=medium
2430+
2431+ * Resolve small merge error in the rules
2432+
2433+ -- Sebastien Bacher <seb128@ubuntu.com> Wed, 16 Dec 2015 12:02:12 +0100
2434+
2435+samba (2:4.1.20+dfsg-1ubuntu4) xenial; urgency=medium
2436+
2437+ * Backport Debian change to remove libpam-smbpasswd, it segfaults
2438+ leading to non working session (lp: #1515207)
2439+
2440+ -- Sebastien Bacher <seb128@ubuntu.com> Wed, 16 Dec 2015 11:47:44 +0100
2441+
2442+samba (2:4.1.20+dfsg-1ubuntu3) xenial; urgency=medium
2443+
2444+ * Build with the new ldb
2445+
2446+ -- Sebastien Bacher <seb128@ubuntu.com> Wed, 18 Nov 2015 11:45:32 +0100
2447+
2448+samba (2:4.1.20+dfsg-1ubuntu2) xenial; urgency=medium
2449+
2450+ * debian/samba.logrotate:
2451+ - revert to Debian version of the logrotate reload command, fix an
2452+ invalid syntax introduced in the upstart->systemd transition
2453+ (lp: #1385868)
2454+
2455+ -- Sebastien Bacher <seb128@ubuntu.com> Tue, 10 Nov 2015 19:01:06 +0100
2456+
2457+samba (2:4.1.20+dfsg-1ubuntu1) xenial; urgency=medium
2458+
2459+ * Merge with Debian; remaining changes:
2460+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2461+ + debian/smb.conf;
2462+ - Add "(Samba, Ubuntu)" to server string.
2463+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2464+ to show users how to restrict access to \\server\username to only username.
2465+ + debian/samba-common.config:
2466+ - Do not change prioritiy to high if dhclient3 is installed.
2467+ + debian/control:
2468+ - Don't build against or suggest ctdb and tdb.
2469+ - Switch build depends from transitional libgnutsl28-dev to libgnutls-dev
2470+ + debian/rules:
2471+ - Drop explicit configuration options for ctdb and tdb.
2472+ + Add ufw integration:
2473+ - Created debian/samba.ufw.profile:
2474+ - debian/rules, debian/samba.install: install profile
2475+ + Add apport hook:
2476+ - Created debian/source_samba.py.
2477+ - debian/rules, debia/samb-common-bin.install: install hook.
2478+ + debian/samba.logrotate: use service command to reload (send SIGHUP) the main
2479+ processes such that it works under both upstart and systemd.
2480+ + debian/samba-common.dirs: Move /var/lib/samba/private from samba.dirs.
2481+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2482+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2483+
2484+ -- Matthias Klose <doko@ubuntu.com> Sat, 24 Oct 2015 14:57:47 +0200
2485+
2486 samba (2:4.1.20+dfsg-1) unstable; urgency=medium
2487
2488 * New upstream release (last compatible with current OpenChange).
2489@@ -2807,6 +5028,44 @@ samba (2:4.1.17+dfsg-5) unstable; urgency=medium
2490
2491 -- Jelmer Vernooij <jelmer@debian.org> Sun, 20 Sep 2015 13:20:53 +0000
2492
2493+samba (2:4.1.17+dfsg-4ubuntu2) wily; urgency=medium
2494+
2495+ * debian/control:
2496+ - Switch build depends from transitional libgnutsl28-dev to libgnutls-dev
2497+
2498+ -- Robert Ancell <robert.ancell@canonical.com> Tue, 11 Aug 2015 11:34:50 +1200
2499+
2500+samba (2:4.1.17+dfsg-4ubuntu1) wily; urgency=medium
2501+
2502+ * Merge from Debian unstable. Remaining changes:
2503+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2504+ + debian/smb.conf;
2505+ - Add "(Samba, Ubuntu)" to server string.
2506+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2507+ to show users how to restrict access to \\server\username to only username.
2508+ + debian/samba-common.config:
2509+ - Do not change prioritiy to high if dhclient3 is installed.
2510+ + debian/control:
2511+ - Don't build against or suggest ctdb and tdb.
2512+ + debian/rules:
2513+ - Drop explicit configuration options for ctdb and tdb.
2514+ + Add ufw integration:
2515+ - Created debian/samba.ufw.profile:
2516+ - debian/rules, debian/samba.install: install profile
2517+ + Add apport hook:
2518+ - Created debian/source_samba.py.
2519+ - debian/rules, debia/samb-common-bin.install: install hook.
2520+ + debian/samba.logrotate: use service command to reload (send SIGHUP) the main
2521+ processes such that it works under both upstart and systemd.
2522+ + debian/samba-common.dirs: Move /var/lib/samba/private from samba.dirs.
2523+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2524+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2525+ + debian/patches/git_timeout_client_error.patch:
2526+ - don't let smb mounts timeout that leads to errors when trying to
2527+ reuse a mount after idling for a while in e.g nautilus (lp: #310932)
2528+
2529+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 08 May 2015 10:49:12 +0200
2530+
2531 samba (2:4.1.17+dfsg-4) unstable; urgency=medium
2532
2533 * Add pidl_reproducible.patch: Make pidl output reproducible.
2534@@ -2843,6 +5102,53 @@ samba (2:4.1.17+dfsg-1) unstable; urgency=high
2535
2536 -- Ivo De Decker <ivodd@debian.org> Mon, 23 Feb 2015 20:20:21 +0100
2537
2538+samba (2:4.1.13+dfsg-4ubuntu3) vivid; urgency=medium
2539+
2540+ * debian/patches/git_timeout_client_error.patch:
2541+ - don't let smb mounts timeout that leads to errors when trying to
2542+ reuse a mount after idling for a while in e.g nautilus (lp: #310932)
2543+
2544+ -- Sebastien Bacher <seb128@ubuntu.com> Fri, 03 Apr 2015 17:20:06 +0200
2545+
2546+samba (2:4.1.13+dfsg-4ubuntu2) vivid; urgency=medium
2547+
2548+ * SECURITY UPDATE: code execution vulnerability in smbd daemon
2549+ - debian/patches/CVE-2015-0240.patch: don't call talloc_free on an
2550+ uninitialized pointer and don't dereference a NULL pointer in
2551+ source3/rpc_server/netlogon/srv_netlog_nt.c.
2552+ - CVE-2015-0240
2553+
2554+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 23 Feb 2015 08:36:51 -0500
2555+
2556+samba (2:4.1.13+dfsg-4ubuntu1) vivid; urgency=low
2557+
2558+ * Merge from Debian unstable. Remaining changes:
2559+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2560+ + debian/smb.conf;
2561+ - Add "(Samba, Ubuntu)" to server string.
2562+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2563+ to show users how to restrict access to \\server\username to only username.
2564+ + debian/samba-common.config:
2565+ - Do not change prioritiy to high if dhclient3 is installed.
2566+ + debian/control:
2567+ - Don't build against or suggest ctdb and tdb.
2568+ + debian/rules:
2569+ - Drop explicit configuration options for ctdb and tdb.
2570+ + Add ufw integration:
2571+ - Created debian/samba.ufw.profile:
2572+ - debian/rules, debian/samba.install: install profile
2573+ + Add apport hook:
2574+ - Created debian/source_samba.py.
2575+ - debian/rules, debia/samb-common-bin.install: install hook.
2576+ + debian/samba.logrotate: use service command to reload (send SIGHUP) the main
2577+ processes such that it works under both upstart and systemd.
2578+ + debian/samba-common.dirs: Move /var/lib/samba/private from samba.dirs.
2579+ + d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2580+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2581+ + debian/patches/CVE-2014-8143.patch fix CVE-2014-8143.
2582+
2583+ -- Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Wed, 21 Jan 2015 15:48:05 +0100
2584+
2585 samba (2:4.1.13+dfsg-4) unstable; urgency=medium
2586
2587 * Revert previous patch, since ldb has an active module version check.
2588@@ -2885,6 +5191,69 @@ samba (2:4.1.11+dfsg-2) unstable; urgency=medium
2589
2590 -- Jelmer Vernooij <jelmer@debian.org> Sun, 07 Sep 2014 20:52:27 +0200
2591
2592+samba (2:4.1.11+dfsg-1ubuntu4) vivid; urgency=medium
2593+
2594+ * SECURITY UPDATE: elevation of privilege to AD Domain Controller
2595+ - debian/patches/CVE-2014-8143.patch: check for extended access rights
2596+ before allowing changes to userAccountControl in
2597+ librpc/idl/security.idl, source4/auth/session.c,
2598+ source4/dsdb/common/util.c, source4/dsdb/pydsdb.c,
2599+ source4/dsdb/samdb/ldb_modules/samldb.c, source4/dsdb/samdb/samdb.h,
2600+ source4/rpc_server/lsa/dcesrv_lsa.c,
2601+ source4/setup/schema_samba4.ldif.
2602+ - CVE-2014-8143
2603+
2604+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 21 Jan 2015 09:19:12 -0500
2605+
2606+samba (2:4.1.11+dfsg-1ubuntu3) vivid; urgency=medium
2607+
2608+ * No-change rebuild against current ldb. Note that I'm not claiming the
2609+ merging for this package.
2610+
2611+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 04 Dec 2014 07:50:22 +0100
2612+
2613+samba (2:4.1.11+dfsg-1ubuntu2) utopic; urgency=medium
2614+
2615+ * d/p/krb_zero_cursor.patch - apply proposed-upstream fix for
2616+ pam_winbind krb5_ccache_type=FILE failure (LP: #1310919)
2617+
2618+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Thu, 11 Sep 2014 11:53:36 -0500
2619+
2620+samba (2:4.1.11+dfsg-1ubuntu1) utopic; urgency=medium
2621+
2622+ * Merge from Debian unstable. Remaining changes:
2623+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2624+ + debian/smb.conf;
2625+ - Add "(Samba, Ubuntu)" to server string.
2626+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2627+ to show users how to restrict access to \\server\username to only username.
2628+ + debian/samba-common.config:
2629+ - Do not change prioritiy to high if dhclient3 is installed.
2630+ + debian/control:
2631+ - Don't build against or suggest ctdb and tdb.
2632+ + debian/rules:
2633+ - Drop explicit configuration options for ctdb and tdb.
2634+ + Add ufw integration:
2635+ - Created debian/samba.ufw.profile:
2636+ - debian/rules, debian/samba.install: install profile
2637+ + Add apport hook:
2638+ - Created debian/source_samba.py.
2639+ - debian/rules, debia/samb-common-bin.install: install hook.
2640+ + debian/samba.logrotate: call upstart interfaces unconditionally instead
2641+ of hacking arround with pid files.
2642+ + Set sbmclients conflicts with samba4-clients less than 4.0.3+dfsg1-0.1ubuntu4,
2643+ first dummy transitional package version.
2644+ + debian/samba-common.dirs: Move /var/lib/samba/private from samba.dirs.
2645+
2646+ * In logrotate, use service command to reload (send SIGHUP) the main
2647+ processes such that it works under both upstart and systemd.
2648+ * Drop CVE patches, applied upstream.
2649+ * Drop patches absent from series: readline-ftbfs.patch,
2650+ krb5_kt_start_seq.diff, config-bind99.patch
2651+ * Drop debian/source/include-binaries, pyc files are correctly cleaned up
2652+
2653+ -- Dimitri John Ledkov <xnox@ubuntu.com> Sat, 09 Aug 2014 21:26:23 +0100
2654+
2655 samba (2:4.1.11+dfsg-1) unstable; urgency=high
2656
2657 * New upstream release. Fixes:
2658@@ -2920,6 +5289,62 @@ samba (2:4.1.9+dfsg-1) unstable; urgency=high
2659
2660 -- Ivo De Decker <ivo.dedecker@ugent.be> Mon, 23 Jun 2014 18:33:27 +0200
2661
2662+samba (2:4.1.8+dfsg-1ubuntu3) utopic; urgency=medium
2663+
2664+ * SECURITY UPDATE: remote code execution on unauthenticated nmbd
2665+ - debian/patches/CVE-2014-3560.patch: fix unstrcpy in
2666+ lib/util/string_wrappers.h.
2667+ - CVE-2014-3560
2668+
2669+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 01 Aug 2014 17:54:54 -0400
2670+
2671+samba (2:4.1.8+dfsg-1ubuntu2) utopic; urgency=medium
2672+
2673+ * SECURITY UPDATE: denial of service on nmbd malformed packet
2674+ - debian/patches/CVE-2014-0244.patch: return on EWOULDBLOCK/EAGAIN in
2675+ source3/lib/system.c.
2676+ - CVE-2014-0244
2677+ * SECURITY UPDATE: denial of service via bad unicode conversion
2678+ - debian/patches/CVE-2014-3493.patch: refactor code in
2679+ source3/lib/charcnv.c, change return code checks in
2680+ source3/libsmb/clirap.c, source3/smbd/lanman.c.
2681+ - CVE-2014-3493
2682+
2683+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 23 Jun 2014 14:10:12 -0400
2684+
2685+samba (2:4.1.8+dfsg-1ubuntu1) utopic; urgency=low
2686+
2687+ * Merge from Debian unstable. Remaining changes:
2688+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2689+ + debian/smb.conf;
2690+ - Add "(Samba, Ubuntu)" to server string.
2691+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2692+ to show users how to restrict access to \\server\username to only username.
2693+ + debian/samba-common.config:
2694+ - Do not change prioritiy to high if dhclient3 is installed.
2695+ + debian/control:
2696+ - Don't build against or suggest ctdb and tdb.
2697+ + debian/rules:
2698+ - Drop explicit configuration options for ctdb and tdb.
2699+ + Add ufw integration:
2700+ - Created debian/samba.ufw.profile:
2701+ - debian/rules, debian/samba.install: install profile
2702+ + Add apport hook:
2703+ - Created debian/source_samba.py.
2704+ - debian/rules, debia/samb-common-bin.install: install hook.
2705+ + debian/samba.logrotate: call upstart interfaces unconditionally instead
2706+ of hacking arround with pid files.
2707+ + Set sbmclients conflicts with samba4-clients less than 4.0.3+dfsg1-0.1ubuntu4,
2708+ first dummy transitional package version.
2709+ + Dropped patches:
2710+ - debian/patches/CVE-2013-4496.patch: Dropped no longer needed
2711+ - debian/patches/CVE-2013-6442.patch: Dropped no longer needed.
2712+ - debian/patches/readline-ftbfs.patch: Use the debian version.
2713+ + debian/samba-common.dirs: Move /var/lib/samba/private from samba.dirs.
2714+ (LP: #1268180)
2715+
2716+ -- Chuck Short <zulcss@ubuntu.com> Wed, 18 Jun 2014 10:50:25 -0400
2717+
2718 samba (2:4.1.8+dfsg-1) unstable; urgency=medium
2719
2720 [ Jelmer Vernooij ]
2721@@ -2957,6 +5382,74 @@ samba (2:4.1.7+dfsg-1) unstable; urgency=medium
2722
2723 -- Ivo De Decker <ivo.dedecker@ugent.be> Sat, 19 Apr 2014 13:39:09 +0200
2724
2725+samba (2:4.1.6+dfsg-1ubuntu6) utopic; urgency=medium
2726+
2727+ * Set the stack size to unlimited during the build to avoid a SIGBUS in
2728+ xsltproc on some architectures.
2729+
2730+ -- Colin Watson <cjwatson@ubuntu.com> Mon, 02 Jun 2014 23:18:40 +0100
2731+
2732+samba (2:4.1.6+dfsg-1ubuntu5) utopic; urgency=medium
2733+
2734+ * Backport from unstable (Ivo De Decker):
2735+ - Build-depend on heimdal-dev.
2736+
2737+ -- Colin Watson <cjwatson@ubuntu.com> Mon, 02 Jun 2014 15:39:54 +0100
2738+
2739+samba (2:4.1.6+dfsg-1ubuntu4) utopic; urgency=high
2740+
2741+ * No change rebuild against new dh_installinit, to call update-rc.d at
2742+ postinst.
2743+
2744+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 May 2014 10:41:32 +0100
2745+
2746+samba (2:4.1.6+dfsg-1ubuntu3) utopic; urgency=medium
2747+
2748+ * cherrypick upstream patch 1310919 to fix pam_winbind regression
2749+ (LP: #1310919)
2750+
2751+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 29 Apr 2014 16:05:44 -0500
2752+
2753+samba (2:4.1.6+dfsg-1ubuntu2) trusty; urgency=medium
2754+
2755+ * Fix a grammatical error in smb.conf that showed up in a ucf prompt on
2756+ upgrade.
2757+
2758+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 03 Apr 2014 19:08:03 -0700
2759+
2760+samba (2:4.1.6+dfsg-1ubuntu1) trusty; urgency=low
2761+
2762+ * Merge from Debian unstable. Remaining changes:
2763+ + debian/VERSION.patch: Update vendor string to "Ubuntu".
2764+ + debian/smb.conf;
2765+ - Add "(Samba, Ubuntu)" to server string.
2766+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2767+ to show users how to restrict access to \\server\username to only username.
2768+ + debian/samba-common.config:
2769+ - Do not change prioritiy to high if dhclient3 is installed.
2770+ + debian/control:
2771+ - Don't build against or suggest ctdb and tdb.
2772+ + debian/rules:
2773+ - Drop explicit configuration options for ctdb and tdb.
2774+ + Add ufw integration:
2775+ - Created debian/samba.ufw.profile:
2776+ - debian/rules, debian/samba.install: install profile
2777+ + Add apport hook:
2778+ - Created debian/source_samba.py.
2779+ - debian/rules, debia/samb-common-bin.install: install hook.
2780+ + debian/samba.logrotate: call upstart interfaces unconditionally instead
2781+ of hacking arround with pid files.
2782+ + Set sbmclients conflicts with samba4-clients less than 4.0.3+dfsg1-0.1ubuntu4,
2783+ first dummy transitional package version.
2784+ + Dropped patches:
2785+ - debian/patches/CVE-2013-4496.patch: Dropped no longer needed
2786+ - debian/patches/CVE-2013-6442.patch: Dropped no longer needed.
2787+ - debian/patches/readline-ftbfs.patch: Use the debian version.
2788+ + debian/samba-common.dirs: Move /var/lib/samba/private from samba.dirs.
2789+ (LP: #1268180)
2790+
2791+ -- Chuck Short <zulcss@ubuntu.com> Wed, 02 Apr 2014 13:40:30 -0400
2792+
2793 samba (2:4.1.6+dfsg-1) unstable; urgency=high
2794
2795 * New upstream security release. Fixes:
2796@@ -3016,6 +5509,77 @@ samba (2:4.1.4+dfsg-1) unstable; urgency=medium
2797
2798 -- Ivo De Decker <ivo.dedecker@ugent.be> Sat, 18 Jan 2014 14:07:15 +0100
2799
2800+samba (2:4.1.3+dfsg-2ubuntu5) trusty; urgency=medium
2801+
2802+ * debian/smb.conf: comment back some of the "share definitions"
2803+ options (including "valid users"). That was an Ubuntu diff and seems to
2804+ have been dropped in the trusty merge. Those changes seem needed to
2805+ get the usershare feature working (used by nautilus-share) (lp: #1261873)
2806+
2807+ -- Sebastien Bacher <seb128@ubuntu.com> Tue, 01 Apr 2014 16:01:04 +0200
2808+
2809+samba (2:4.1.3+dfsg-2ubuntu4) trusty; urgency=medium
2810+
2811+ * SECURITY UPDATE: Password lockout not enforced for SAMR password
2812+ changes
2813+ - debian/patches/CVE-2013-4496.patch: refactor password lockout code in
2814+ source3/auth/check_samsec.c,
2815+ source3/rpc_server/samr/srv_samr_chgpasswd.c,
2816+ source3/rpc_server/samr/srv_samr_nt.c,
2817+ source3/smbd/lanman.c,
2818+ source4/rpc_server/samr/samr_password.c,
2819+ source4/torture/rpc/samr.c.
2820+ - CVE-2013-4496
2821+ * SECURITY UPDATE: smbcacls can remove a file or directory ACL by
2822+ mistake
2823+ - debian/patches/CVE-2013-6442.patch: handle existing ACL in
2824+ source3/utils/smbcacls.c.
2825+ - CVE-2013-6442
2826+ * debian/patches/readline-ftbfs.patch: fix ftbfs with newer readline6.
2827+
2828+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 17 Mar 2014 08:32:30 -0400
2829+
2830+samba (2:4.1.3+dfsg-2ubuntu3) trusty; urgency=medium
2831+
2832+ * Depend on tdb-tools (LP: #1279593)
2833+ * Updated generated config for Bind9.9.
2834+
2835+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 12 Feb 2014 21:26:00 -0500
2836+
2837+samba (2:4.1.3+dfsg-2ubuntu2) trusty; urgency=medium
2838+
2839+ * Add missing python-ntdb dependency to python-samba (spotted by
2840+ autopkgtest).
2841+
2842+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 10 Feb 2014 09:53:01 +0100
2843+
2844+samba (2:4.1.3+dfsg-2ubuntu1) trusty; urgency=low
2845+
2846+ * Merge from Debian Unstable:
2847+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
2848+ * debian/smb.conf;
2849+ - Add "(Samba, Ubuntu)" to server string.
2850+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2851+ to show users how to restrict access to \\server\username to only username.
2852+ + debian/samba-common.config:
2853+ - Do not change prioritiy to high if dhclient3 is installed.
2854+ + debian/control:
2855+ - Don't build against or suggest ctdb and tdb.
2856+ + debian/rules:
2857+ - Drop explicit configuration options for ctdb and tdb.
2858+ + Add ufw integration:
2859+ - Created debian/samba.ufw.profile:
2860+ - debian/rules, debian/samba.install: install profile
2861+ + Add apport hook:
2862+ - Created debian/source_samba.py.
2863+ - debian/rules, debia/samb-common-bin.install: install hook.
2864+ + debian/samba.logrotate: call upstart interfaces unconditionally instead
2865+ of hacking arround with pid files.
2866+ + Set sbmclients conflicts with samba4-clients less than 4.0.3+dfsg1-0.1ubuntu4,
2867+ first dummy transitional package version.
2868+
2869+ -- Chuck Short <zulcss@ubuntu.com> Mon, 13 Jan 2014 08:52:31 -0500
2870+
2871 samba (2:4.1.3+dfsg-2) unstable; urgency=medium
2872
2873 * Add debug symbols for all binaries to samba-dbg. Closes: #732493
2874@@ -3058,6 +5622,33 @@ samba (2:4.0.13+dfsg-2) UNRELEASED; urgency=low
2875
2876 -- Steve Langasek <vorlon@debian.org> Mon, 09 Dec 2013 11:13:59 -0800
2877
2878+samba (2:4.0.13+dfsg-1ubuntu1) trusty; urgency=low
2879+
2880+ * Merge from Debian Unstable:
2881+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
2882+ * debian/smb.conf;
2883+ - Add "(Samba, Ubuntu)" to server string.
2884+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2885+ to show users how to restrict access to \\server\username to only username.
2886+ + debian/samba-common.config:
2887+ - Do not change prioritiy to high if dhclient3 is installed.
2888+ + debian/control:
2889+ - Don't build against or suggest ctdb and tdb.
2890+ + debian/rules:
2891+ - Drop explicit configuration options for ctdb and tdb.
2892+ + Add ufw integration:
2893+ - Created debian/samba.ufw.profile:
2894+ - debian/rules, debian/samba.install: install profile
2895+ + Add apport hook:
2896+ - Created debian/source_samba.py.
2897+ - debian/rules, debia/samb-common-bin.install: install hook.
2898+ + debian/samba.logrotate: call upstart interfaces unconditionally instead
2899+ of hacking arround with pid files.
2900+ + Set sbmclients conflicts with samba4-clients less than 4.0.3+dfsg1-0.1ubuntu4,
2901+ first dummy transitional package version.
2902+
2903+ -- Chuck Short <zulcss@ubuntu.com> Wed, 11 Dec 2013 19:55:47 -0500
2904+
2905 samba (2:4.0.13+dfsg-1) unstable; urgency=high
2906
2907 [ Steve Langasek ]
2908@@ -3112,6 +5703,37 @@ samba (2:4.0.11+dfsg-1) unstable; urgency=high
2909
2910 -- Ivo De Decker <ivo.dedecker@ugent.be> Mon, 11 Nov 2013 15:42:40 +0100
2911
2912+samba (2:4.0.10+dfsg-4ubuntu2) trusty; urgency=low
2913+
2914+ * Set sbmclients conflicts with samba4-clients less than 4.0.3+dfsg1-0.1ubuntu4, first dummy transitional package version.
2915+
2916+ -- Dmitrijs Ledkovs <xnox@ubuntu.com> Wed, 27 Nov 2013 21:50:43 +0000
2917+
2918+samba (2:4.0.10+dfsg-4ubuntu1) trusty; urgency=low
2919+
2920+ * Merge from Debian Unstable:
2921+ - debian/VERSION.patch: Update vendor string to "Ubuntu".
2922+ * debian/smb.conf;
2923+ - Add "(Samba, Ubuntu)" to server string.
2924+ - Comment out the default [homes] share, and add a comment about "valid users = %s"
2925+ to show users how to restrict access to \\server\username to only username.
2926+ + debian/samba-common.config:
2927+ - Do not change prioritiy to high if dhclient3 is installed.
2928+ + debian/control:
2929+ - Don't build against or suggest ctdb and tdb.
2930+ + debian/rules:
2931+ - Drop explicit configuration options for ctdb and tdb.
2932+ + Add ufw integration:
2933+ - Created debian/samba.ufw.profile:
2934+ - debian/rules, debian/samba.install: install profile
2935+ + Add apport hook:
2936+ - Created debian/source_samba.py.
2937+ - debian/rules, debia/samb-common-bin.install: install hook.
2938+ + debian/samba.logrotate: call upstart interfaces unconditionally instead
2939+ of hacking arround with pid files.
2940+
2941+ -- Chuck Short <zulcss@ubuntu.com> Fri, 08 Nov 2013 13:47:46 +0800
2942+
2943 samba (2:4.0.10+dfsg-4) unstable; urgency=low
2944
2945 [ Christian Perrier ]
2946diff --git a/debian/control b/debian/control
2947index 8f1176a..e46b7e4 100644
2948--- a/debian/control
2949+++ b/debian/control
2950@@ -1,7 +1,8 @@
2951 Source: samba
2952 Section: net
2953 Priority: optional
2954-Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
2955+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
2956+XSBC-Original-Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
2957 Uploaders: Steve Langasek <vorlon@debian.org>,
2958 Jelmer Vernooij <jelmer@debian.org>,
2959 Mathieu Parent <sathieu@debian.org>,
2960@@ -59,7 +60,7 @@ Build-Depends-Arch:
2961 libsystemd-dev [linux-any],
2962 libtasn1-6-dev (>= 3.8),
2963 libtasn1-bin,
2964- liburing-dev [linux-any],
2965+ liburing-dev [!i386],
2966 xfslibs-dev [linux-any],
2967 zlib1g-dev (>= 1:1.2.3),
2968 # python (+#904999):
2969@@ -308,6 +309,7 @@ Architecture: any
2970 Section: python
2971 Depends: python3-ldb,
2972 python3-tdb,
2973+ python3-markdown,
2974 samba-libs (= ${binary:Version}),
2975 ${misc:Depends},
2976 ${python3:Depends},
2977@@ -370,6 +372,29 @@ Description: Samba Virtual FileSystem plugins
2978 Note: The runtime dependencies of vfs_ceph, vfs_glusterfs and vfs_snapper are
2979 moved to Recommends.
2980
2981+Package: samba-vfs-modules-extra
2982+# Since we only ship the glusterfs module so far, exclude 32bit architectures,
2983+# which glusterfs does not support
2984+Architecture: amd64 arm64 ppc64el riscv64 s390x
2985+Multi-Arch: same
2986+Depends: samba-libs (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
2987+# glusterfs vfs modules and manpages were moved from samba-vfs-modules to
2988+# samba-vfs-modules-glusterfs in 2:4.19.4+dfsg-2ubuntu1
2989+Replaces: samba-vfs-modules (<< 2:4.19.4+dfsg-2ubuntu1~)
2990+Breaks: samba-vfs-modules (<< 2:4.19.4+dfsg-2ubuntu1~)
2991+Enhances: samba
2992+Description: Samba Virtual FileSystem extra modules
2993+ Samba is an implementation of the SMB/CIFS protocol for Unix systems,
2994+ providing support for cross-platform file sharing with Microsoft Windows, OS X,
2995+ and other Unix systems. Samba can also function as a domain controller
2996+ or member server in Active Directory or NT4-style domains.
2997+ .
2998+ Virtual FileSystem modules are stacked shared libraries extending the
2999+ functionality of Samba. This package ships some extra VFS modules which
3000+ were previously shipped in samba-vfs-modules:
3001+ * vfs_gluterfs
3002+ * vfs_glusterfs_fuse
3003+
3004 Package: libsmbclient
3005 Section: libs
3006 Architecture: any
3007@@ -407,8 +432,9 @@ Depends: samba-common (= ${source:Version}),
3008 Enhances: libkrb5-26-heimdal <!pkg.samba.mitkrb5>
3009 Suggests: libnss-winbind, libpam-winbind
3010 # 4.16.6+dfsg-5 idmap_{script,rfc2307}.8 moved samba{,-libs} => winbind
3011-Breaks: samba (<< 2:4.16.6+dfsg-5~), samba-libs (<< 2:4.16.6+dfsg-5~),
3012-Replaces: samba (<< 2:4.16.6+dfsg-5~), samba-libs (<< 2:4.16.6+dfsg-5~),
3013+# In Ubuntu, this was first done in 2:4.17.7+dfsg-1ubuntu1. See LP: #2024663
3014+Breaks: samba (<< 2:4.17.7+dfsg-1ubuntu1~), samba-libs (<< 2:4.17.7+dfsg-1ubuntu1~),
3015+Replaces: samba (<< 2:4.17.7+dfsg-1ubuntu1~), samba-libs (<< 2:4.17.7+dfsg-1ubuntu1~),
3016 Description: service to resolve user and group information from Windows NT servers
3017 Samba is an implementation of the SMB/CIFS protocol for Unix systems,
3018 providing support for cross-platform file sharing with Microsoft Windows, OS X,
3019diff --git a/debian/rules b/debian/rules
3020index 8ee78b3..d5af1a4 100755
3021--- a/debian/rules
3022+++ b/debian/rules
3023@@ -268,6 +268,15 @@ endif
3024 dh_link -plibldb2 /usr/lib/${DEB_HOST_MULTIARCH}/ldb/modules/ldb \
3025 /usr/lib/${DEB_HOST_MULTIARCH}/samba/ldb/compat
3026
3027+execute_after_dh_install:
3028+# gluster vfs modules are in a separate package. Moving the modules here
3029+# avoids having to list all but the gluster modules in
3030+# d/samba-vfs-modules.install
3031+ifeq ($(with-glusterfs), yes)
3032+ rm debian/samba-vfs-modules/usr/lib/${DEB_HOST_MULTIARCH}/samba/vfs/glusterfs*.so
3033+ rm debian/samba-vfs-modules/usr/share/man/man8/vfs_glusterfs*.8
3034+endif
3035+
3036 provision-dest := debian/samba-ad-provision/usr/share/samba/setup
3037
3038 override_dh_auto_install-indep:
3039@@ -349,7 +358,7 @@ override_dh_shlibdeps:
3040 # for specific executables/modules, put dependencies in separate variables
3041 # to change Depends to Recommends for them in d/control
3042 dh_shlibdeps -l/usr/lib/${DEB_HOST_MULTIARCH}/samba \
3043- -Xceph.so -Xglusterfs.so -Xsnapper.so -Xctdb_mutex_ceph_rados_helper
3044+ -Xceph.so -Xsnapper.so -Xctdb_mutex_ceph_rados_helper
3045 ifneq (,$(filter ctdb, ${build-pkgs}))
3046 echo "rados:Depends=" >> debian/ctdb.substvars
3047 ifneq (${with-ceph},)
3048@@ -362,8 +371,7 @@ ifneq (,$(filter samba-vfs-modules,${build-pkgs}))
3049 ifneq (${with-snapper}${with-ceph}${with-glusterfs},)
3050 dpkg-shlibdeps -Tdebian/samba-vfs-modules.substvars -pvfsmods \
3051 $(if ${with-snapper}, debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so) \
3052- $(if ${with-ceph}, debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so) \
3053- $(if ${with-glusterfs}, debian/samba-vfs-modules/usr/lib/*/samba/vfs/glusterfs.so)
3054+ $(if ${with-ceph}, debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so)
3055 endif
3056 endif
3057 # after shlibdeps run, check that we don't have wrong depdendencies
3058diff --git a/debian/samba-vfs-modules-extra.install b/debian/samba-vfs-modules-extra.install
3059new file mode 100644
3060index 0000000..c360548
3061--- /dev/null
3062+++ b/debian/samba-vfs-modules-extra.install
3063@@ -0,0 +1,4 @@
3064+usr/lib/${DEB_HOST_MULTIARCH}/samba/vfs/glusterfs.so
3065+usr/lib/${DEB_HOST_MULTIARCH}/samba/vfs/glusterfs_fuse.so
3066+usr/share/man/man8/vfs_glusterfs.8
3067+usr/share/man/man8/vfs_glusterfs_fuse.8
3068diff --git a/debian/tests/control b/debian/tests/control
3069index d27e025..b37632e 100644
3070--- a/debian/tests/control
3071+++ b/debian/tests/control
3072@@ -28,3 +28,7 @@ Restrictions: needs-root, allow-stderr, isolation-container, skippable
3073 Tests: reinstall-samba-common-bin
3074 Depends: samba-common, samba-common-bin
3075 Restrictions: needs-root, needs-reboot, isolation-machine, allow-stderr
3076+
3077+Tests: samba-ad-dc-provisioning-internal-dns
3078+Depends: samba-ad-dc, samba-ad-provision, smbclient, krb5-user, bind9-dnsutils, lxd | snapd, lsb-release, dctrl-tools
3079+Restrictions: needs-root, isolation-machine, allow-stderr, breaks-testbed
3080diff --git a/debian/tests/samba-ad-dc-provisioning-internal-dns b/debian/tests/samba-ad-dc-provisioning-internal-dns
3081new file mode 100755
3082index 0000000..f61fa5e
3083--- /dev/null
3084+++ b/debian/tests/samba-ad-dc-provisioning-internal-dns
3085@@ -0,0 +1,398 @@
3086+#!/bin/bash
3087+
3088+set -e
3089+set -o pipefail
3090+
3091+source debian/tests/util
3092+
3093+declare -r domain="EXAMPLE"
3094+declare -r realm="EXAMPLE.FAKE"
3095+declare -r adminpass="Passw0rd"
3096+declare -r test_user="test_user_${RANDOM}"
3097+declare -r test_pw="test_user_secret_${RANDOM}"
3098+declare -A user_pass
3099+user_pass[Administrator]="${adminpass}"
3100+user_pass[${test_user}]="${test_pw}"
3101+declare -A join_method_deps
3102+# Minimum set of deps: let realmd install the extra dependencies
3103+# as needed, depending on the join method.
3104+join_method_deps[realmd_sssd]="realmd krb5-user smbclient"
3105+join_method_deps[realmd_winbind]="realmd krb5-user smbclient"
3106+
3107+
3108+cleanup() {
3109+ rc=$?
3110+ set +e # so we don't exit midcleanup
3111+ if [ ${rc} -ne 0 ]; then
3112+ echo "## Something failed, gathering logs"
3113+ echo
3114+ echo "## smb.conf"
3115+ cat /etc/samba/smb.conf
3116+ echo
3117+ echo "## resolv.conf"
3118+ cat /etc/resolv.conf
3119+ echo
3120+ echo "## resolvectl status"
3121+ resolvectl status
3122+ echo "## journal for samba-ad-dc.service"
3123+ journalctl -u samba-ad-dc.service --lines 500
3124+ echo
3125+ for log in /var/log/samba/log.*; do
3126+ # skip compressed logrotated files
3127+ if [ "${log%.gz}" != "${log}" ]; then
3128+ continue
3129+ fi
3130+ [ -s "${log}" ] || continue
3131+ echo "## $(basename ${log}):"
3132+ tail -n 500 "${log}"
3133+ echo
3134+ done
3135+ echo "## syslog"
3136+ tail -n 500 /var/log/syslog
3137+ fi
3138+}
3139+
3140+trap cleanup EXIT
3141+
3142+assert_testparm() {
3143+ local parameter="${1}"
3144+ local expected_value="${2}"
3145+ local current_value=""
3146+ local -i retval=0
3147+
3148+ echo -n "Asserting ${parameter} is ${expected_value}: "
3149+ current_value=$(testparm -s --parameter-name "${parameter}" 2>/dev/null) || {
3150+ retval=$?
3151+ echo "FAIL"
3152+ return ${retval}
3153+ }
3154+ if [ "${current_value}" = "${expected_value}" ]; then
3155+ echo "OK"
3156+ return 0
3157+ else
3158+ echo "FAIL"
3159+ return 1
3160+ fi
3161+}
3162+
3163+basic_config_tests() {
3164+ echo "## Basic config tests"
3165+ testparm -s > /dev/null
3166+ assert_testparm "realm" "${realm}"
3167+ assert_testparm "workgroup" "${domain}"
3168+ assert_testparm "server role" "active directory domain controller"
3169+ echo
3170+}
3171+
3172+dns_tests() {
3173+ echo "## DNS tests"
3174+ echo "Obtaining administrator kerberos ticket"
3175+ echo "${adminpass}" | timeout --verbose 30 kinit Administrator
3176+ echo
3177+ echo "Querying server info"
3178+ samba-tool dns serverinfo "$(hostname)"
3179+ echo
3180+ echo "Checking we got a service ticket of type host/"
3181+ klist | grep "host/$(hostname)"
3182+ echo
3183+ echo "Checking specific DNS records"
3184+ for srv in _ldap._tcp _kerberos._tcp _kerberos._udp _kpasswd._udp; do
3185+ echo -n "${srv}.${realm,,}: "
3186+ dig @localhost +short -t SRV ${srv}.${realm,,}
3187+ echo
3188+ done
3189+ echo
3190+ echo -n "Checking that our hostname \"$(hostname)\" is in DNS: "
3191+ myip=$(dig @localhost +short -t A "$(hostname).${realm,,}")
3192+ echo "${myip}"
3193+ echo
3194+}
3195+
3196+user_creation_tests() {
3197+ echo "## User creation tests"
3198+ samba-tool domain passwordsettings set --complexity=off
3199+ echo "Creating user \"${test_user}\" with password ${test_pw}"
3200+ samba-tool user add "${test_user}" "${test_pw}"
3201+ echo
3202+ echo "Attempting to obtain kerberos ticket for user \"${test_user}\""
3203+ # just in case it ends up waiting at a prompt, we use "timeout"
3204+ echo "${test_pw}" | timeout --verbose 30 kinit "${test_user}"
3205+ echo "Ticket obtained"
3206+ klist
3207+ echo
3208+}
3209+
3210+smbclient_tests() {
3211+ echo "## smbclient tests"
3212+ kdestroy || :
3213+ echo
3214+ echo "Obtaining a TGT for ${test_user}"
3215+ echo "${test_pw}" | timeout --verbose 30 kinit "${test_user}"
3216+ klist | grep krbtgt
3217+ echo
3218+ echo "Attempting password-less authentication with smbclient"
3219+ echo
3220+ echo "Listing shares"
3221+ smbclient -L "$(hostname)" --use-kerberos=required -k
3222+ echo
3223+ echo "Listing the sysvol share"
3224+ smbclient "//$(hostname)/sysvol" --use-kerberos=required -k -c "ls"
3225+ echo
3226+ echo "Listing policies"
3227+ # lowercase the ${realm}
3228+ smbclient "//$(hostname)/sysvol" --use-kerberos=required -k -c "ls ${realm,,}/Policies/*"
3229+ echo
3230+ echo "Checking that we have a ticket for the cifs service after all these commands"
3231+ klist | grep cifs/
3232+ echo
3233+}
3234+
3235+server_join_tests() {
3236+ local member_server
3237+ # the join methods are the keys of the join_method_deps dict
3238+ local -a methods=("${!join_method_deps[@]}")
3239+ local member_server="member-server"
3240+
3241+ echo "## Server join tests"
3242+ echo "## Initializing lxd"
3243+ setup_lxd "${realm,,}"
3244+
3245+ for method in "${methods[@]}"; do
3246+ echo "## Setting up member server to join a domain using method ${method}"
3247+ setup_member_server "${member_server}" "${method}"
3248+ echo "## Joining domain with method ${method}"
3249+ join_domain "${member_server}" "${method}"
3250+ echo
3251+ echo "## Verifying join with method ${method}"
3252+ verify_join "${member_server}" "${method}"
3253+ echo
3254+ echo "## Leaving domain with method ${method}"
3255+ leave_domain "${member_server}" "${method}"
3256+ echo
3257+ echo "## Destroying member server"
3258+ lxc delete --force "${member_server}"
3259+ done
3260+}
3261+
3262+setup_member_server() {
3263+ local container_name="${1}"
3264+ local method="${2}"
3265+ local release
3266+
3267+ release="$(lsb_release -cs)"
3268+ if [ -z "${join_method_deps[${method}]}" ]; then
3269+ echo "## INTERNAL ERROR, invalid join method: ${method}"
3270+ return 1
3271+ fi
3272+ echo "## Got test dependencies: ${join_method_deps[${method}]}"
3273+ # can't use cloud-init here to install packages, because we first need to
3274+ # sync the apt config from the host to the container
3275+ echo "## Launching ${release} container"
3276+ lxc launch "ubuntu-daily:${release}" "${container_name}" -q
3277+ wait_container_ready "${container_name}"
3278+ send_apt_config "${container_name}"
3279+ copy_local_apt_files "${container_name}"
3280+ echo "## Installing dependencies in test container"
3281+ install_packages_in_container "${container_name}" ${join_method_deps[${method}]}
3282+}
3283+
3284+join_domain_realmd_winbind() {
3285+ local server="${1}"
3286+ local discover_cmd="realm discover -v --membership-software=samba --client-software=winbind ${realm,,}"
3287+ local join_cmd="realm join -v --membership-software=samba --client-software=winbind ${realm,,}"
3288+
3289+ echo "## Domain information"
3290+ lxc exec "${server}" -- ${discover_cmd}
3291+ echo
3292+ echo "## Running join command: ${join_cmd}"
3293+ echo "${adminpass}" | lxc exec "${server}" -- ${join_cmd}
3294+}
3295+
3296+verify_join_realmd_winbind() {
3297+ local server="${1}"
3298+ local member_domain
3299+
3300+ echo -n "## Verifying member server joined domain name: "
3301+ member_domain=$(lxc exec "${server}" -- wbinfo --own-domain)
3302+ echo "${member_domain}"
3303+ if [ "${member_domain}" != "${domain}" ]; then
3304+ echo "ERROR: expected member server domain to match the joined domain:"
3305+ echo "member server domain: ${member_domain}"
3306+ echo "AD domain: ${domain}"
3307+ return 1
3308+ fi
3309+ echo
3310+ # we just want to see the output, not parse it
3311+ echo "## Domain status in member server"
3312+ lxc exec "${server}" -- wbinfo --domain-info "${member_domain}"
3313+ echo
3314+ echo "## User status in member server"
3315+ for u in "${!user_pass[@]}"; do
3316+ echo "## User \"${u}@${realm}\" information:"
3317+ lxc exec "${server}" -- wbinfo --user-info "${u}@${realm}"
3318+ echo
3319+ echo "## id ${u}@${realm}"
3320+ lxc exec "${server}" -- id ${u}@${realm}
3321+ echo
3322+ echo "## kinit authentication check for user \"${u}@${realm}\" inside member server"
3323+ echo "${user_pass[${u}]}" | lxc exec "${server}" -- timeout --verbose 30 kinit "${u}@${realm}"
3324+ lxc exec "${server}" -- klist
3325+ echo
3326+ echo "## Listing shares with the obtained kerberos ticket"
3327+ lxc exec "${server}" -- smbclient -L "$(hostname)" --use-kerberos=required -k
3328+ lxc exec "${server}" -- kdestroy
3329+ echo
3330+ echo "## wbinfo authentication check for user \"${u}@${realm}\" inside member server"
3331+ # non-interactive format for username is user%password
3332+ lxc exec "${server}" -- wbinfo --authenticate="${u}@${realm}%${user_pass[${u}]}"
3333+ echo
3334+ echo "## wbinfo kerberos authentication check for user \"${u}@${realm}\" inside member server"
3335+ lxc exec "${server}" -- wbinfo --krb5auth="${u}@${realm}%${user_pass[${u}]}"
3336+ echo
3337+ echo "## Listing shares with the obtained kerberos ticket"
3338+ lxc exec "${server}" -- smbclient -L "$(hostname)" --use-kerberos=required -k
3339+ lxc exec "${server}" -- kdestroy
3340+ done
3341+}
3342+
3343+leave_domain_realmd_winbind() {
3344+ local server="${1}"
3345+ local leave_cmd="realm leave -v --remove --client-software=winbind"
3346+
3347+ echo "## Running leave command: ${leave_cmd}"
3348+ echo "${adminpass}" | lxc exec "${server}" -- ${leave_cmd}
3349+}
3350+
3351+join_domain_realmd_sssd() {
3352+ local server="${1}"
3353+ local discover_cmd="realm discover -v --membership-software=adcli --client-software=sssd ${realm,,}"
3354+ local join_cmd="realm join -v --membership-software=adcli --client-software=sssd ${realm,,}"
3355+
3356+ echo "## Domain information"
3357+ lxc exec "${server}" -- ${discover_cmd}
3358+ echo
3359+ echo "## Running join command: ${join_cmd}"
3360+ echo "${adminpass}" | lxc exec "${server}" -- ${join_cmd}
3361+ echo
3362+}
3363+
3364+verify_join_realmd_sssd() {
3365+ local server="${1}"
3366+ local samba_domain
3367+
3368+ echo -n "## Verifying member server joined domain name: "
3369+ samba_domain=$(lxc exec "${server}" -- sssctl domain-list)
3370+ echo "${samba_domain}"
3371+ if [ "${samba_domain}" != "${realm,,}" ]; then
3372+ echo "ERROR: expected member server domain to match the joined domain:"
3373+ echo "member server domain: ${samba_domain}"
3374+ echo "AD domain: ${realm,,}"
3375+ return 1
3376+ fi
3377+ echo
3378+ # we just want to see the output, not parse it
3379+ echo "## Domain status in member server"
3380+ lxc exec "${server}" -- sssctl domain-status "${realm}"
3381+ echo
3382+ echo "## User status in member server"
3383+ for u in "${!user_pass[@]}"; do
3384+ echo "## User \"${u}@${realm}\" information:"
3385+ lxc exec "${server}" -- sssctl user-checks "${u}@${realm}"
3386+ echo
3387+ echo "## id ${u}@${realm}"
3388+ lxc exec "${server}" -- id "${u}@${realm}"
3389+ echo
3390+ echo "## kinit authentication check for user \"${u}@${realm}\" inside member server"
3391+ echo "${user_pass[${u}]}" | lxc exec "${server}" -- timeout --verbose 30 kinit "${u}@${realm}"
3392+ lxc exec "${server}" -- klist
3393+ echo
3394+ echo "## Listing shares with the obtained kerberos ticket"
3395+ lxc exec "${server}" -- smbclient -L "$(hostname)" --use-kerberos=required -k
3396+ lxc exec "${server}" -- kdestroy
3397+ done
3398+}
3399+
3400+leave_domain_realmd_sssd() {
3401+ local server="${1}"
3402+ local leave_cmd="realm leave -v --remove --client-software=sssd"
3403+
3404+ echo "## Running leave command: ${leave_cmd}"
3405+ echo "${adminpass}" | lxc exec "${server}" -- ${leave_cmd}
3406+}
3407+
3408+join_domain() {
3409+ local server="${1}"
3410+ local m="${2}"
3411+
3412+ join_domain_${m} "${server}"
3413+}
3414+
3415+verify_join() {
3416+ local server="${1}"
3417+ local m="${2}"
3418+
3419+ verify_join_${m} "${server}"
3420+}
3421+
3422+leave_domain() {
3423+ local server="${1}"
3424+ local m="${2}"
3425+
3426+ leave_domain_${m} "${server}"
3427+}
3428+
3429+systemctl stop smbd nmbd winbind
3430+systemctl disable smbd nmbd winbind
3431+systemctl mask smbd nmbd winbind
3432+
3433+systemctl unmask samba-ad-dc
3434+systemctl enable samba-ad-dc
3435+
3436+if [ -f /etc/samba/smb.conf ]; then
3437+ mv /etc/samba/smb.conf{,.orig}
3438+fi
3439+
3440+# make sure we are starting fresh, as previous tests might left things around
3441+
3442+rm -rf /var/lib/samba/* /var/cache/samba/* /run/samba/*
3443+kdestroy || :
3444+
3445+samba-tool domain provision \
3446+ --domain="${domain}" \
3447+ --realm="${realm}" \
3448+ --adminpass="${adminpass}" \
3449+ --server-role=dc \
3450+ --use-rfc2307 \
3451+ --dns-backend=SAMBA_INTERNAL
3452+
3453+current_dns=$(resolvectl status | grep "^Current DNS Server:" | awk '{print $4}')
3454+
3455+if [ -n "${current_dns}" ]; then
3456+ echo "## Setting dns forwarder to ${current_dns} in smb.conf"
3457+ sed -r -i "s,dns forwarder = .*,dns forwarder = ${current_dns}," \
3458+ /etc/samba/smb.conf
3459+ unlink /etc/resolv.conf
3460+ echo "nameserver 127.0.0.1" > /etc/resolv.conf
3461+ # lowercase substitution
3462+ echo "search ${realm,,}" >> /etc/resolv.conf
3463+ systemctl stop systemd-resolved
3464+ systemctl disable systemd-resolved
3465+else
3466+ echo "## Warning, couldn't detect the current DNS server to use as forwarder in smb.conf"
3467+ echo "## resolvectl status:"
3468+ resolvectl status
3469+ echo "## Continuing, and hoping for the best"
3470+fi
3471+
3472+cp -f /var/lib/samba/private/krb5.conf /etc/krb5.conf
3473+
3474+systemctl start samba-ad-dc
3475+
3476+# give it some time, it's a lot of services to start
3477+sleep 5s
3478+
3479+basic_config_tests
3480+dns_tests
3481+user_creation_tests
3482+smbclient_tests
3483+server_join_tests
3484diff --git a/debian/tests/util b/debian/tests/util
3485index 4278ee7..298b321 100644
3486--- a/debian/tests/util
3487+++ b/debian/tests/util
3488@@ -16,7 +16,7 @@ EOFEOF
3489 if [ -n "${vfs}" ]; then
3490 echo "vfs objects = ${vfs}" >> /etc/samba/smb.conf
3491 fi
3492- systemctl restart smbd.service
3493+ systemctl reload smbd.service
3494 else
3495 echo "Share [${share}] already exists, continuing"
3496 fi
3497@@ -66,3 +66,113 @@ ensure_uring_available() {
3498 exit 77
3499 fi
3500 }
3501+
3502+wait_container_ready() {
3503+ local container="${1}"
3504+ local -i limit=120 # seconds
3505+ local -i i=0
3506+ local -i result=0
3507+ local ip
3508+ local output
3509+
3510+ while /bin/true; do
3511+ ip=$(lxc list "${container}" -c 4 --format=compact | tail -1 | awk '{print $1}')
3512+ if [ -n "${ip}" ]; then
3513+ break
3514+ fi
3515+ i=$((i+1))
3516+ if [ ${i} -ge ${limit} ]; then
3517+ return 1
3518+ fi
3519+ sleep 1s
3520+ echo -n "."
3521+ done
3522+ while ! nc -z "${ip}" 22; do
3523+ echo -n "."
3524+ i=$((i+1))
3525+ if [ ${i} -ge ${limit} ]; then
3526+ return 1
3527+ fi
3528+ sleep 1s
3529+ done
3530+ # cloud-init might still be doing things...
3531+ # this call blocks, so wrap it in its own little timeout
3532+ output=$(lxc exec "${container}" -- timeout --verbose $((limit-i)) cloud-init status --wait) || {
3533+ result=$?
3534+ echo "cloud-init status --wait failed on container ${container}"
3535+ echo "${output}"
3536+ return ${result}
3537+ }
3538+ echo
3539+}
3540+
3541+install_lxd() {
3542+ if ! command -v lxd > /dev/null 2>&1; then
3543+ # the test depends has "lxd | snapd", so if we don't have lxd, we must
3544+ # install the snap
3545+ snap list lxd > /dev/null 2>&1 || {
3546+ echo "Installing the LXD snap..."
3547+ snap install lxd
3548+ }
3549+ fi
3550+}
3551+
3552+setup_lxd() {
3553+ local dns_domain="${1}"
3554+ local network
3555+ local nic
3556+ local dns_ip
3557+
3558+ install_lxd
3559+ # Stop samba while lxd is setup, to avoid conflicts on lxdbr0:53
3560+ systemctl stop samba-ad-dc
3561+ lxd init --auto
3562+ lxd waitready --timeout 600
3563+ network=$(lxc network list --format=compact | grep -E "bridge.*YES.*CREATED")
3564+ nic=$(echo "${network}" | awk '{print $1}')
3565+ dns_ip=$(echo "${network}" | awk '{print $4}' | cut -d / -f 1) # strip the cidr
3566+ # port=0 effectively disables dnsmasq's DNS, so it doesn't conflict with samba's DNS
3567+ lxc network set "${nic:-lxdbr0}" ipv6.address=none dns.domain="${dns_domain}" raw.dnsmasq="$(echo -e port=0\\ndhcp-option=option:dns-server,${dns_ip})"
3568+ if [ -n "${http_proxy}" ]; then
3569+ lxc config set core.proxy_http "${http_proxy}"
3570+ fi
3571+ if [ -n "${https_proxy}" ]; then
3572+ lxc config set core.proxy_https "${https_proxy}"
3573+ fi
3574+ if [ -n "${noproxy}" ]; then
3575+ lxc config set core.proxy_ignore_hosts "${noproxy}"
3576+ fi
3577+ systemctl start samba-ad-dc
3578+ # give it some time, it's a lot of services to start
3579+ sleep 5s
3580+}
3581+
3582+# Copy the local apt package archive over to the lxd container.
3583+copy_local_apt_files() {
3584+ local container_name="${1:-docker}"
3585+
3586+ for local_source in $(apt-get indextargets | grep-dctrl -F URI -e '^file:/' -sURI | awk '{print $2}'); do
3587+ local_source=${local_source#file:}
3588+ local_dir=$(dirname "${local_source}")
3589+ lxc exec "${container_name}" -- mkdir -p "${local_dir}"
3590+ tar -cC "${local_dir}" . | lxc exec "${container_name}" -- tar -xC "${local_dir}"
3591+ done
3592+}
3593+
3594+send_apt_config() {
3595+ echo "Copying over /etc/apt to container ${1}"
3596+ lxc exec "${1}" -- rm -rf /etc/apt
3597+ lxc exec "${1}" -- mkdir -p /etc/apt
3598+ tar -cC /etc/apt . | lxc exec "${1}" -- tar -xC /etc/apt
3599+}
3600+
3601+install_packages_in_container() {
3602+ local container="${1}"
3603+ shift
3604+ local packages="${*}"
3605+
3606+ echo "### Installing dependencies in member server container: ${packages}"
3607+ lxc exec "${container}" --env DEBIAN_FRONTEND=noninteractive -- apt-get update -q
3608+ lxc exec "${container}" --env DEBIAN_FRONTEND=noninteractive -- apt-get dist-upgrade -q -y
3609+ lxc exec "${container}" --env DEBIAN_FRONTEND=noninteractive -- apt-get install -q -y ${packages}
3610+}

Subscribers

People subscribed via source and target branches