Commits on Source (44)
-
Jule Anger authored
and re-enable GIT_SNAPSHOT. Signed-off-by: Jule Anger <janger@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
3bab56a7 -
Arvid Requate authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Arvid Requate <requate@univention.de> [abartlet@samba.org Added additional talloc_free() in failure paths] Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit b6e80733)
b4f10979 -
Arvid Requate authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Arvid Requate <requate@univention.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 2d461844)
e5ea3562 -
Andrew Bartlett authored
This will replace many calls crafting or searching for this DN elsewhere in the code. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 25b0e110)
37094ba8 -
Andrew Bartlett authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 97b682e0)
3493671c -
Andrew Bartlett authored
By doing this we use the common samdb_get_system_container_dn() routine and we avoid doing a linerize and parse step on the main DN, instead using the already stored parse of the DN. This is more hygenic. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 3669caa9)
66605c7c -
Andrew Bartlett authored
This is now exactly the same actions, but just uses common code to do it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 4e18066f)
9cb4754d -
Andrew Bartlett authored
This is now exactly the same actions, but just uses common code to do it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit a900f6aa)
2f1502a7 -
Andrew Bartlett authored
This is now exactly the same actions, but just uses common code to do it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 13eed1e0)
4f1156f1 -
Andrew Bartlett authored
This is now exactly the same actions, but just uses common code to do it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 9b4f3f3c)
4cd7ead4 -
Andrew Bartlett authored
This is now exactly the same actions, but just uses common code to do it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9959 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 4250d07e)
bffe1f57 -
Andrew Bartlett authored
This makes more calls to add children, but avoids the cn=system string in the codebase which makes it easier to audit that this is always being built correctly. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 31 07:20:21 UTC 2023 on atb-devel-224 (cherry picked from commit 5571ce96) RN: A second container with name CN=System would disable the operation of the Samba AD DC. Samba now finds the CN=System container by exact DN and not a search. Autobuild-User(v4-19-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-19-test): Tue Aug 1 12:12:30 UTC 2023 on atb-devel-224
68db9b73 -
Jones Syue authored
If configured as AD DC and aio_pthread appended into 'vfs objects'[1], run these commands would get segfault: 1. sudo samba-tool ntacl get . 2. sudo net vfs getntacl sysvol . gdb said it goes through aio_pthread_openat_fn() @ vfs_aio_pthread.c[2], and the fsp->conn->sconn->client is null (0x0). 'sconn->client' memory is allocated when a new connection is accpeted: smbd_accept_connection > smbd_process > smbXsrv_client_create While running local commands looks like it would not go through smbXsrv_client_create so the 'client' is null, segfault might happen. We should not dereference 'client->server_multi_channel_enabled', if 'client' is null. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15441 [1] smb.conf example, samba-4.18.5, ubuntu 22.04.2 [global] dns forwarder = 127.0.0.53 netbios name = U22-JONES-88X1 realm = U22-JONES-88X1.X88X1.JONES server role = active directory domain controller workgroup = X88X1 idmap_ldb:use rfc2307 = yes vfs objects = dfs_samba4 acl_xattr aio_pthread [sysvol] path = /var/lib/samba/sysvol read only = No [netlogon] path = /var/lib/samba/sysvol/u22-jones-88x1.x88x1.jones/scripts read only = No [2] gdb (gdb) run /usr/local/samba/bin/samba-tool ntacl get . Starting program: /usr/local/Python3/bin/python3 /usr/local/samba/bin/samba-tool ntacl get . [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007fffd0eb809e in aio_pthread_openat_fn (handle=0x8d5cc0, dirfsp=0x8c3070, smb_fname=0x18ab4f0, fsp=0x1af3550, flags=196608, mode=0) at ../../source3/modules/vfs_aio_pthread.c:467 warning: Source file is more recent than executable. 467 if (fsp->conn->sconn->client->server_multi_channel_enabled) { (gdb) bt at ../../source3/modules/vfs_aio_pthread.c:467 at ../../source3/smbd/pysmbd.c:320 ---Type <return> to continue, or q <return> to quit--- (gdb) f at ../../source3/modules/vfs_aio_pthread.c:467 467 if (fsp->conn->sconn->client->server_multi_channel_enabled) { (gdb) p fsp->conn->sconn->client $1 = (struct smbXsrv_client *) 0x0 (gdb) Signed-off-by: Jones Syue <jonessyue@qnap.com> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 8f4c1c67) Autobuild-User(v4-19-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-19-test): Thu Aug 3 09:45:34 UTC 2023 on atb-devel-224
e7f91e1d -
Noel Power authored
Adds share (to be used in later test) that has dfs node but additionally has widelinks set to yes BUG: https://bugzilla.samba.org/show_bug.cgi?id=15435 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit b57cdfd7)
d5939205 -
Noel Power authored
Adds a new test trying to cd into dfs path on share with widelinks enabled, should generate an error (see BUG:) Add a knownfail so CI continues BUG: https://bugzilla.samba.org/show_bug.cgi?id=15435 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 3d2e9db8)
ece48278 -
Noel Power authored
Not used yet, will be used in the next commit to avoid testing if the connected share is a dfs one. Pair-Programmed-With: Jeremy Alison <jra@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=15435 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 2668dcd0)
368b3e61 -
Noel Power authored
In openat(), even if we fail to open the file, propagate stat if and only if the object is a link in a DFS share. This allows calling code to further process the link. Also remove knownfail Pair-Programmed-With: Jeremy Alison <jra@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=15435 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jul 29 00:43:52 UTC 2023 on atb-devel-224 (cherry picked from commit 0bf8b25a) Autobuild-User(v4-19-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-19-test): Thu Aug 3 14:30:32 UTC 2023 on atb-devel-224
1231268c -
Jo Sutton authored
third_party/heimdal: Import lorikeet-heimdal-202308030152 (commit 2a036a6fd80833799316b8a85623cdea3a1135df) This import fixes the build on 32-bit FreeBSD. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15443 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Joseph Sutton <jsutton@samba.org> Autobuild-Date(master): Thu Aug 3 05:40:28 UTC 2023 on atb-devel-224 (cherry picked from commit 06d673a1) Autobuild-User(v4-19-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-19-test): Fri Aug 4 09:31:54 UTC 2023 on atb-devel-224
9a87e206 -
Michael Tokarev authored
On e.g. buster, _PYTHON_SYSCONFIGDATA_NAME is different, so this assignment does not work right. In order for it to work on buster, add condition on host vs build gnu type. This breaks compilation with foreign python binary.
03df070c -
Michael Tokarev authored7de94122
-
Michael Tokarev authored594f6c07
-
Jule Anger authored
Signed-off-by: Jule Anger <janger@samba.org>
19e9735c -
Jule Anger authored
Signed-off-by: Jule Anger <janger@samba.org>
e7330e36 -
Michael Tokarev authoredc47acece
-
Michael Tokarev authored5f8bbf1f
-
Michael Tokarev authored6956ea2f
-
Michael Tokarev authored
Update to upstream version '4.19.0~rc2+dfsg' with Debian dir beb7af3af2b31ec98fcba8386dd678786c0054c8
093a61aa -
Michael Tokarev authored
heimdal-to-support-KEYRING-ccache.patch spelling.patch
f5cf6aed -
Michael Tokarev authored
meaningful-error-if-no-python3-markdown.patch meaningful-error-if-no-samba-ad-provision.patch
c13ba397 -
Michael Tokarev authoredada2aba2
-
Michael Tokarev authored953634ef
-
Michael Tokarev authored
ldb-2.7.2 contains a few actual new symbols, it is not just a version bump. Get ldb-2.7.2.sigs from ldb-2.7.2 tag.
953b8c55 -
Michael Tokarev authoredf71d45a0
-
Michael Tokarev authoredd576af5b
-
Michael Tokarev authored787fe361
-
Michael Tokarev authored3c37c139
-
Michael Tokarev authored
d/samba-libs.install, d/samba-testsuite.install: move libshares-samba4.so.0 from samba-libs to samba-testsuite
e0926eb7 -
Michael Tokarev authored
d/samba-libs.install, d/samba-vfs-modules.install: move libdfs-server-ad-samba4.so.0 from samba-libs to samba-vfs-modules
dfb5aa83 -
Michael Tokarev authored
d/samba-libs.install, d/samba-common-bin.install: move libnet-keytab-samba4.so.0 from samba-libs to samba-common-bin (used by net only)
e901db68 -
Michael Tokarev authored
d/samba-libs.install, d/samba-common-bin.install: move libRPC-WORKER-samba4.so.0 from samba-libs to samba-common-bin (used by usr/libexec/samba/rpcd_*)
358c8af7 -
Michael Tokarev authored6dbdb25f
-
Michael Tokarev authoredfe0ce490
-
Michael Tokarev authored41075cca
-
Michael Tokarev authored96ca4f77
Showing
- VERSION 1 addition, 1 deletionVERSION
- WHATSNEW.txt 22 additions, 1 deletionWHATSNEW.txt
- debian/.gitignore 31 additions, 0 deletionsdebian/.gitignore
- debian/README.Debian 32 additions, 0 deletionsdebian/README.Debian
- debian/README.source 1 addition, 0 deletionsdebian/README.source
- debian/README.source.md 99 additions, 0 deletionsdebian/README.source.md
- debian/TODO 32 additions, 0 deletionsdebian/TODO
- debian/addshare.py 46 additions, 0 deletionsdebian/addshare.py
- debian/changelog 9535 additions, 0 deletionsdebian/changelog
- debian/clean 9 additions, 0 deletionsdebian/clean
- debian/control 622 additions, 0 deletionsdebian/control
- debian/copyright 628 additions, 0 deletionsdebian/copyright
- debian/ctdb.NEWS 55 additions, 0 deletionsdebian/ctdb.NEWS
- debian/ctdb.README.hurd 14 additions, 0 deletionsdebian/ctdb.README.hurd
- debian/ctdb.README.kfreebsd 14 additions, 0 deletionsdebian/ctdb.README.kfreebsd
- debian/ctdb.dirs 5 additions, 0 deletionsdebian/ctdb.dirs
- debian/ctdb.docs 3 additions, 0 deletionsdebian/ctdb.docs
- debian/ctdb.example/nfs-kernel-server/98-nfs-static-ports.conf 5 additions, 0 deletions...n/ctdb.example/nfs-kernel-server/98-nfs-static-ports.conf
- debian/ctdb.example/nfs-kernel-server/enable-nfs.sh 186 additions, 0 deletionsdebian/ctdb.example/nfs-kernel-server/enable-nfs.sh
- debian/ctdb.example/nfs-kernel-server/nfs.conf 20 additions, 0 deletionsdebian/ctdb.example/nfs-kernel-server/nfs.conf
debian/.gitignore
0 → 100644
debian/README.Debian
0 → 100644
debian/README.source
0 → 120000
debian/README.source.md
0 → 100644
debian/TODO
0 → 100644
debian/addshare.py
0 → 100755
debian/changelog
0 → 100644
This diff is collapsed.
debian/clean
0 → 100644
debian/control
0 → 100644
This diff is collapsed.
debian/copyright
0 → 100644
This diff is collapsed.
debian/ctdb.NEWS
0 → 100644
debian/ctdb.README.hurd
0 → 100644
debian/ctdb.README.kfreebsd
0 → 100644
debian/ctdb.dirs
0 → 100644
debian/ctdb.docs
0 → 100644