Merge ~ahasenack/ubuntu/+source/samba:mantic-samba-merge-2 into ubuntu/+source/samba:debian/sid

Proposed by Andreas Hasenack
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: git-ubuntu bot
Merged at revision: 9a1d39619ca7a41885e75aa447f77ea0d06889c6
Proposed branch: ~ahasenack/ubuntu/+source/samba:mantic-samba-merge-2
Merge into: ubuntu/+source/samba:debian/sid
Diff against target: 3405 lines (+3029/-6)
5 files modified
debian/changelog (+2510/-0)
debian/control (+6/-5)
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
git-ubuntu bot Approve
Lucas Kanashiro (community) Approve
Canonical Server Reporter Pending
Review via email: mp+447094@code.launchpad.net

Description of the change

Merge latest from debian, which also fixes https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2027716

So far the extra patch has been tested by some community members from my ppa, but for other ubuntu releases, not yet mantic.

The DEP8 tests are green.

These tests include a domain join test, but that's linux<->linux, and won't exercise the fix for bug #2027716, but at least it serves to show there is no regression in that part.

range-diff is clean:

  git range-diff old/debian..logical/2%4.18.3+dfsg-3ubuntu1 new/debian..mantic-samba-merge-2

The fix for #2027716 will be SRUed all the way back to focal, maybe even bionic and earlier.

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) :
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for this MP Andreas! The merge looks good, I have only one question: did you already try to forward commit 5deddd6 to Debian? This is simply changing the service restart to reload, and it is mentioned that it makes the test quicker, which should be interesting to Debian as well.

I see this salsa MR from you:

https://salsa.debian.org/samba-team/samba/-/merge_requests/61

but it seems to not include the change I mentioned above.

Other than that everything looks good to me, +1.

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: ahasenack, lucaskanashiro
Uploaders: ahasenack, lucaskanashiro
MP auto-approved

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

> did you already try to forward commit 5deddd6 to Debian?

No, that draft MP is in draft because it requires a bit of work to run these tests in debian. There are many ubuntu assumptions in it, like lxd as a snap, and launching a container from an "ubuntu-daily:", and also assuming it's going to be an ubuntu container.

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

Thanks, uploaded with rich history:

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

Subscribers

People subscribed via source and target branches