summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Rafael David Tinoco [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
fix nfs related service names
Upstream defines nfs related service names based on the Linux
distribution. This patch fixes the names for Debian and derivatives.
Update by Andreas Hasenack <andreas@canonical.com> (LP: #
1961840):
Use nfsconf(8) if it's available, instead of parsing the old config
files in /etc/default/nfs-*
Bug-Debian: https://bugs.debian.org/929931
Bug-Ubuntu: https://bugs.launchpad.net/bugs/722201
Last-Update: 2022-09-09
Gbp-Pq: Name fix-nfs-service-name-to-nfs-kernel-server.patch
Mathieu Parent [Thu, 21 Feb 2019 20:04:30 +0000 (21:04 +0100)]
[PATCH] smbd.service: Run update-apparmor-samba-profile before start
Bug-Debian: https://bugs.debian.org/896080
Gbp-Pq: Name smbd.service-Run-update-apparmor-samba-profile-befor.patch
Jeroen Dekkers [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Add so version number to private libraries for dpkg-shlibdeps
We also want dpkg-shlibdeps to generate correct dependency information
for the private libraries in our binary packages, but dpkg-shlibdeps
only works when the library has a version number.
Origin: vendor
Forwarded: not-needed
Gbp-Pq: Name add-so-version-to-private-libraries
Brian May [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Patch in symbol table from rfc3454, for Heimdal scripts
Forwarded: not-needed
Status: cherry-picked from heimdal package
Gbp-Pq: Name heimdal-rfc3454.txt
mathiaz@ubuntu.com [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Enable net usershares by default at build time
Enable net usershares by default at build time, with a limit of 100, and update
the corresponding documentation.
Bug-Debian: http://bugs.debian.org/443230
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/128548
Forwarded: not-needed
Gbp-Pq: Name usershare.patch
Steve Langasek [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Use the pager alternative as pager is PAGER is undefined
Bug-Debian: http://bugs.debian.org/135603
Forwarded: not-needed
Gbp-Pq: Name smbclient-pager.patch
Christian Perrier [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Mention smbldap-tools package in examples/LDAP/README
Bug-Debian: http://bugs.debian.org/341934
Forwarded: not-needed
Gbp-Pq: Name README_nosmbldap-tools.patch
Michael Tokarev [Thu, 3 Nov 2022 17:49:33 +0000 (20:49 +0300)]
hurd compatibility changes
Hurd does not define PIPE_BUF, so lib/tevent/testsuite.c fails to compile
(yes, this file is used as part of *samba* testsuite, not tevent testsuite).
Define it to a safe minimal value like 512 bytes.
Hurd does not provide SA_NOCLDWAIT define, so lib/util/tests/tfork.c does
not compile. This is only needed during testing to omit zombie process
generation, which has only cosmetic effect. Define it to be 0.
Based on prior work and ideas by Samuel Thibault.
Gbp-Pq: Name hurd-compat.patch
Michael Tokarev [Sat, 2 Apr 2022 16:01:55 +0000 (19:01 +0300)]
ensure libsmbclient.h is being used with LFS enabled
Bug-Debian: https://bugs.debian.org/221618
We build samba with LFS (Large File Support) even on 32bits.
This means some types like off_t are 64-bit wide, again,
even on a 32bit host. libsmbclient.h uses off_t in function
prototypes, and thes prototypes muct match those which were
used at samba compile time - if some other source includes
libsmbclient.h without LFS, it'll get wrong prototypes and
the resulting binary will most likely crash when using
libsmbclient functions.
Detect and error-out this at compile time.
We can not do anything with this in the public header since
it is alredy too late to redefine things, since we can't
guarantee we're the first header a program #includes, and
at the time this libsmbclient.h is included, off_t can
already be defined so our (re)define of _FILE_OFFSET_BITS
does nothing already.
Patching libsmbclient.h to use off64_t means client program
should change their off_t to off64_t too when storing
file offsets returning from libsmbclient, so this is not
an option too.
With this change, we will error out even if the user source
does not use any off_t-related functions. Namely, it was ok
to #include <libsmbclient.h> and use smbc_open/smbc_read/
smbc_write/smbc_close without _F_O_B=64, - neither of these
functions uses off_t. smbc_lseek and others doesn't work,
but if a program does not use them anyway, whole thing will
just work even without enabling LFS. Ideally we can probably
check each individual function which is being affected, by
replacing it with #error if sizeof(off_t) < 8. But this
requires quite some hackery...
Gbp-Pq: Name libsmbclient-ensure-lfs-221618.patch
Michael Tokarev [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
samba (2:4.19.2+dfsg-1) unstable; urgency=medium
* new upstream stable/bugfix release:
- https://bugzilla.samba.org/show_bug.cgi?id=15423
Use-after-free in aio_del_req_from_fsp during smbd shutdown
after failed IPC FSCTL_PIPE_TRANSCEIVE
- https://bugzilla.samba.org/show_bug.cgi?id=15426
clidfs.c do_connect() missing a "return" after a cli_shutdown() call
- https://bugzilla.samba.org/show_bug.cgi?id=15463
macOS mdfind returns only 50 results
- https://bugzilla.samba.org/show_bug.cgi?id=15481
GETREALFILENAME_CACHE can modify incoming new filename
with previous cache entry value
- https://bugzilla.samba.org/show_bug.cgi?id=15464
libnss_winbind causes memory corruption since samba-4.18,
impacts sendmail, zabbix, potentially more
- https://bugzilla.samba.org/show_bug.cgi?id=15479
ctdbd: setproctitle not initialized messages flooding logs
- https://bugzilla.samba.org/show_bug.cgi?id=15491
CVE-2023-5568 Heap buffer overflow with freshness tokens
in the Heimdal KDC in Samba 4.19
- https://bugzilla.samba.org/show_bug.cgi?id=15477
The heimdal KDC doesn't detect s4u2self correctly when fast is in use
* d/samba-common.maintscript: remove obsolete conffile
/etc/dhcp/dhclient-enter-hooks.d/samba conffile (Closes: #
1053780)
[dgit import unpatched samba 2:4.19.2+dfsg-1]
Michael Tokarev [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Import samba_4.19.2+dfsg.orig.tar.xz
[dgit import orig samba_4.19.2+dfsg.orig.tar.xz]
Michael Tokarev [Mon, 16 Oct 2023 15:26:31 +0000 (16:26 +0100)]
Import samba_4.19.2+dfsg-1.debian.tar.xz
[dgit import tarball samba 2:4.19.2+dfsg-1 samba_4.19.2+dfsg-1.debian.tar.xz]