[Pkg-samba-maint] [Git][samba-team/samba][bookworm] 3 commits: d/control: fix versioned dependency on samba for samba-ad-dc

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Wed Jul 9 13:57:35 BST 2025



Michael Tokarev pushed to branch bookworm at Debian Samba Team / samba


Commits:
b7645f70 by Michael Tokarev at 2025-07-09T15:44:37+03:00
d/control: fix versioned dependency on samba for samba-ad-dc

samba-ad-dc is arch-all package.  We need samba >= ${source:Version}~
(note the tilde at the end), not ${binary:Version} (without tilde).

- - - - -
e8155f50 by Michael Tokarev at 2025-07-09T15:55:28+03:00
d/patches/s3*: add DEP3 headers

- - - - -
40b2c200 by Michael Tokarev at 2025-07-09T15:57:24+03:00
d/changelog: reformat recent changes, add another forgotten change

- - - - -


8 changed files:

- debian/changelog
- debian/control
- debian/patches/s3-libsmb-allow-store_cldap_reply-to-work-with-a-ipv.patch
- debian/patches/s3-libsmb-dsgetdcname-use-NETLOGON_NT_VERSION_AVOID_.patch
- debian/patches/s3-libsmb-let-discover_dc_netbios-return-DOMAIN_CONT.patch
- debian/patches/s3-winbindd-Fix-internal-winbind-dsgetdcname-calls-w.patch
- debian/patches/s3-winbindd-avoid-using-any-netlogon-call-to-get-a-d.patch
- debian/patches/s3-winbindd-use-better-debug-messages-than-talloc_st.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,15 +1,27 @@
 samba (2:4.17.12+dfsg-0+deb12u2) bookworm; urgency=medium
 
-  * s3:libsmb/dsgetdcname: use NETLOGON_NT_VERSION_AVOID_NT4EMUL
-  * s3:libsmb: allow store_cldap_reply() to work with a ipv6 response
-  * s3:libsmb: let discover_dc_netbios() return DOMAIN_CONTROLLER_NOT_FOUND
-  * s3:winbindd: use better debug messages than 'talloc_strdup failed'
-  * s3:winbindd: avoid using any netlogon call to get a dc name
-    (Closes: #1108904)
-  * s3-winbindd: Fix internal winbind dsgetdcname calls w.r.t. domain name
-    (Closes: #1108904)
-
- -- Salvatore Bonaccorso <carnil at debian.org>  Tue, 08 Jul 2025 12:46:53 +0200
+  [ Salvatore Bonaccorso ]
+  * several patches from upstream:
+   - s3-libsmb-dsgetdcname-use-NETLOGON_NT_VERSION_AVOID_.patch:
+     s3:libsmb/dsgetdcname: use NETLOGON_NT_VERSION_AVOID_NT4EMUL
+   - s3-libsmb-allow-store_cldap_reply-to-work-with-a-ipv.patch:
+     s3:libsmb: allow store_cldap_reply() to work with a ipv6 response
+   - s3-libsmb-let-discover_dc_netbios-return-DOMAIN_CONT.patch:
+     s3:libsmb: let discover_dc_netbios() return DOMAIN_CONTROLLER_NOT_FOUND
+   - s3-winbindd-use-better-debug-messages-than-talloc_st.patch:
+     s3:winbindd: use better debug messages than 'talloc_strdup failed'
+   - s3-winbindd-avoid-using-any-netlogon-call-to-get-a-d.patch:
+     s3:winbindd: avoid using any netlogon call to get a dc name
+     s3-winbindd-Fix-internal-winbind-dsgetdcname-calls-w.patch:
+     s3-winbindd: Fix internal winbind dsgetdcname calls w.r.t. domain name
+     (Closes: #1108904)
+
+  [ Michael Tokarev ]
+  * d/control: fix versioned dependency on samba for samba-ad-dc
+    samba-ad-dc is arch-all package.  We need samba >= ${source:Version}~
+    (note the tilde at the end), not ${binary:Version} (without tilde)
+
+ -- Michael Tokarev <mjt at tls.msk.ru>  Wed, 09 Jul 2025 15:56:38 +0300
 
 samba (2:4.17.12+dfsg-0+deb12u1) bookworm-security; urgency=medium
 


=====================================
debian/control
=====================================
@@ -190,7 +190,7 @@ Package: samba-ad-dc
 Architecture: all
 Multi-Arch: foreign
 Pre-Depends: ${misc:Pre-Depends}
-Depends: samba (>= ${binary:Version}), samba-dsdb-modules, samba-vfs-modules,
+Depends: samba (>= ${source:Version}~), samba-dsdb-modules, samba-vfs-modules,
 	winbind,
 	krb5-kdc (>> 1.19.0) <pkg.samba.mitkrb5>,
 	${misc:Depends}


=====================================
debian/patches/s3-libsmb-allow-store_cldap_reply-to-work-with-a-ipv.patch
=====================================
@@ -1,8 +1,8 @@
-From 712ffbffc03c7dcd551c1e22815ebe7c0b9b45d2 Mon Sep 17 00:00:00 2001
 From: Stefan Metzmacher <metze at samba.org>
 Date: Tue, 7 May 2024 14:53:24 +0000
-Subject: [PATCH] s3:libsmb: allow store_cldap_reply() to work with a ipv6
- response
+Subject: s3:libsmb: allow store_cldap_reply() to work with a ipv6 response
+Forwarded: not-needed
+Origin: upstream, https://gitlab.com/samba-team/devel/samba/-/commit/712ffbffc03c7dcd551c1e22815ebe7c0b9b45d2
 
 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15642
 


=====================================
debian/patches/s3-libsmb-dsgetdcname-use-NETLOGON_NT_VERSION_AVOID_.patch
=====================================
@@ -1,7 +1,8 @@
-From 2b66663c75cdb3bc1b6bc5b1736dd9d35b094b42 Mon Sep 17 00:00:00 2001
 From: Stefan Metzmacher <metze at samba.org>
 Date: Thu, 15 Feb 2024 17:29:46 +0100
-Subject: [PATCH] s3:libsmb/dsgetdcname: use NETLOGON_NT_VERSION_AVOID_NT4EMUL
+Subject: s3:libsmb/dsgetdcname: use NETLOGON_NT_VERSION_AVOID_NT4EMUL
+Forwarded: not-needed
+Origin: upstream, https://gitlab.com/samba-team/devel/samba/-/commit/2b66663c75cdb3bc1b6bc5b1736dd9d35b094b42
 
 In 2024 we always want an active directory response...
 


=====================================
debian/patches/s3-libsmb-let-discover_dc_netbios-return-DOMAIN_CONT.patch
=====================================
@@ -1,8 +1,8 @@
-From e47ce1d10b13d8ef165c70984e6e490f4c2a64c2 Mon Sep 17 00:00:00 2001
 From: Stefan Metzmacher <metze at samba.org>
 Date: Fri, 11 Oct 2024 13:32:22 +0000
-Subject: [PATCH] s3:libsmb: let discover_dc_netbios() return
- DOMAIN_CONTROLLER_NOT_FOUND
+Subject: s3:libsmb: let discover_dc_netbios() return DOMAIN_CONTROLLER_NOT_FOUND
+Forwarded: not-needed
+Origin: upstream, https://gitlab.com/samba-team/devel/samba/-/commit/e47ce1d10b13d8ef165c70984e6e490f4c2a64c2
 
 We may get NT_STATUS_NOT_FOUND when the name can't be resolved
 and NT_STATUS_INVALID_ADDRESS if the system doesn't have ipv4


=====================================
debian/patches/s3-winbindd-Fix-internal-winbind-dsgetdcname-calls-w.patch
=====================================
@@ -1,8 +1,9 @@
-From 2560c9b3224816ffd371a62103f65b3aca301ad5 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd at samba.org>
 Date: Wed, 2 Jul 2025 21:59:48 +0200
-Subject: [PATCH] s3-winbindd: Fix internal winbind dsgetdcname calls w.r.t.
- domain name
+Subject: s3-winbindd: Fix internal winbind dsgetdcname calls w.r.t. domain name
+Forwarded: not-needed
+Origin: upstream, https://gitlab.com/samba-team/devel/samba/-/commit/2560c9b3224816ffd371a62103f65b3aca301ad5
+Bug-Debian: https://bugs.debian.org/1108904
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit


=====================================
debian/patches/s3-winbindd-avoid-using-any-netlogon-call-to-get-a-d.patch
=====================================
@@ -1,7 +1,9 @@
-From f86a4bf6848ade2db7229d182576db3320c3ece7 Mon Sep 17 00:00:00 2001
 From: Stefan Metzmacher <metze at samba.org>
 Date: Fri, 9 May 2025 09:38:41 +0200
-Subject: [PATCH] s3:winbindd: avoid using any netlogon call to get a dc name
+Subject: s3:winbindd: avoid using any netlogon call to get a dc name
+Forwarded: not-needed
+Origin: upstream, https://gitlab.com/samba-team/devel/samba/-/commit/f86a4bf6848ade2db7229d182576db3320c3ece7
+Bug-Debian: https://bugs.debian.org/1108904
 
 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15876
 


=====================================
debian/patches/s3-winbindd-use-better-debug-messages-than-talloc_st.patch
=====================================
@@ -1,8 +1,8 @@
-From 814ae222ca15ff7093a71639cdcc97b9937670ce Mon Sep 17 00:00:00 2001
 From: Stefan Metzmacher <metze at samba.org>
 Date: Fri, 26 Jan 2024 09:25:11 +0100
-Subject: [PATCH] s3:winbindd: use better debug messages than 'talloc_strdup
- failed'
+Subject: s3:winbindd: use better debug messages than 'talloc_strdup failed'
+Forwarded: not-needed
+Origin: upstream, https://gitlab.com/samba-team/devel/samba/-/commit/814ae222ca15ff7093a71639cdcc97b9937670ce
 
 Signed-off-by: Stefan Metzmacher <metze at samba.org>
 Reviewed-by: Andrew Bartlett <abartlet at samba.org>



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/8fb97fdc6f7eb3182899871deb27c14d38c6c292...40b2c2006ed6a44a95e66cd577080afa45dcfe02

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/8fb97fdc6f7eb3182899871deb27c14d38c6c292...40b2c2006ed6a44a95e66cd577080afa45dcfe02
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20250709/c0f4ad1f/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list