Commits on Source (37)
-
Jule Anger authored
and re-enable GIT_SNAPSHOT. Signed-off-by: Jule Anger <janger@samba.org>
c4f24bac -
Stefan Metzmacher authored
This allows us to pass the new tests we just added. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15338 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit bb09c06d)
2a20fbdb -
Andreas Schneider authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15360 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit b5a66840)
a26cbb56 -
Andreas Schneider authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15360 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit a2acbd3f)
c09c3f8e -
Andreas Schneider authored
This fixes setting veto files to '.*' to not list hidden files and directories starting with a dot. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15360 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 9eb44306) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Fri Apr 28 15:17:25 UTC 2023 on atb-devel-224
49777b08 -
Nathaniel W. Turner authored
Return the first IPv4 and the first IPv6 address found for each DC. This is slightly inelegant, but resolves an issue where IPv6-only systems were unable to run "net ads join" against domain controllers that have both A and AAAA records in DNS. While this impacts performance due to the additional LDAP ping attempts, in practice an attempt to connect to an IPv6 address on an IPv4-only system (or vice versa) will fail immediately with NT_STATUS_NETWORK_UNREACHABLE, and thus the performance impact should be negligible. The alternative approach, using an smb.conf setting to control whether the logic prefers a single address of one family or the other ends up being a bit awkward, as it pushes the problem onto admins and tools such as "realm join" that want to dynamically synthesize an smb.conf on the fly. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15325 Signed-off-by: Nathaniel W. Turner <nturner@exagrid.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Mulder <dmulder@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Mar 9 19:12:15 UTC 2023 on atb-devel-224 (cherry picked from commit f55a357c) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Mon May 8 10:17:16 UTC 2023 on atb-devel-224
1ace31bc -
Stefan Metzmacher authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15362 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bjacke@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Apr 24 14:13:35 UTC 2023 on atb-devel-224 (cherry picked from commit eafcef18) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Tue May 9 13:15:57 UTC 2023 on atb-devel-224
128a8075 -
Volker Lendecke authored
winbind asks dcerpc_samr_LookupRids in one batch, where samr.idl has NTSTATUS samr_LookupRids( [in,ref] policy_handle *domain_handle, [in,range(0,1000)] uint32 num_rids, [in,size_is(1000),length_is(num_rids)] uint32 rids[], [out,ref] lsa_Strings *names, [out,ref] samr_Ids *types ); limiting num_rids to 1000 entries. Test this. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15366 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit f633389f)
97c9f812 -
Volker Lendecke authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15366 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue May 9 02:58:45 UTC 2023 on atb-devel-224 (cherry picked from commit 6206e15b) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Fri May 12 15:58:34 UTC 2023 on atb-devel-224
0f1dbe55 -
Stefan Metzmacher authored
We should not limit the possible encryption algorithms to the currently known ones. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15374 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed May 17 07:34:28 UTC 2023 on atb-devel-224 (cherry picked from commit e03e738d)
cae050cf -
Jo Sutton authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15363 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (backported from commit f1281b80) [jsutton@samba.org Adapted to provisioning code refactor in commit 5986937d]
74449f2a -
Volker Lendecke authored
To be used in a few places when checking special-case Samba SIDs. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 5e8c7192)
8ed6bbcb -
Volker Lendecke authored
Simpler logic in the caller Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 244ee8ad)
dc2606e1 -
Volker Lendecke authored
Simplify logic by using security_token_count_flag_sids() Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 1d11e048)
40378826 -
Volker Lendecke authored
This will be used as a flexible way to pass per-RPC-connection flags over ncalrpc to the RPC server without having to modify named_pipe_auth_req_info6 every time something new needs to be passed. It's modeled after global_sid_Samba_SMB3. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit ebbb93cc)
5a09eaf0 -
Jo Sutton authored
In the next commit, we shall replace the 'authenticated' field of named_pipe_auth_req_info.info5.session_info.session_info.info with a more general 'user_flags' field. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 8aef16bb)
e46af7b3 -
Volker Lendecke authored
More code, but will be more flexible in the future. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 31180e0e)
e92fb837 -
Volker Lendecke authored
Involves bumping up the version number Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit bdba027a)
ec0c9319 -
Volker Lendecke authored
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit bb3ea36e)
faa50763 -
Volker Lendecke authored
Winbind can ask rpcd_lsad for LookupNames etc. This can recurse back into winbind for getpwnam. We have the "_NO_WINBINDD" environment variable set in winbind itself for this case, but this is lost on the way into rpcd_lsad. Use a flag in global_sid_Samba_NPA_Flags to pass this information to dcerpc_core, where it sets the variable on every call if requested. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue May 16 11:54:32 UTC 2023 on atb-devel-224 (cherry picked from commit 59694ad0) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Fri May 26 13:29:20 UTC 2023 on atb-devel-224
a22173a7 -
Ralph Boehme authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15378 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 59eadfe2)
976b4955 -
Ralph Boehme authored
Translates to NT_STATUS_OBJECT_NAME_NOT_FOUND which is the same error macOS returns in this case. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15378 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 9b91a8ba)
051cd8f5 -
Ralph Boehme authored
The macOS client creates ._ AppleDouble files for directories that do contain an (empty) resource fork AppleDouble entry. So when going from a Samba server config without streams module (or when migrating data from another server without streams support), to a Samba config with a streams module and vfs_fruit, fruit_streaminfo() will wrongly return the AFP_Resource from the AppleDouble file as stream to the client. To address this, just never return an AFP_Resource stream for directories when listing streams in fruit_streaminfo(). ad_convert(), when configured with fruit:delete_empty_adfiles = true fruit:wipe_intentionally_left_blank_rfork = true will happily discard the AFP_Resource from the AppleDouble file. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15378 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 06f0c070)
fe988c71 -
Ralph Boehme authored
Not specifying FILE_SHARE_DELETE wasn't done intentionally. Not setting the flag triggers the following problem: * client sends a CREATE with delete access * this triggers a call to open_streams_for_delete() where we check for conflicting opens on any of the streams of the file or directory * if the file (or directory) has a stream like ":com.apple.quarantine" the stream is opened with DELETE_ACCESS and kept open when the next step might: * if the file (or directory) has a Mac specific :AFP_AfpInfo stream, the ad_convert() routine in fruit_create_file() is triggered * ad_convert() checks if the file (or ...) has a sidecar ._ AppleDouble file, if it has: * in ad_convert_xattr() we unpack any set of xattrs encoded in the AppleDouble file and recreate them as streams with the VFS. Now, if any of these xattrs happens to be converted to a stream that we still have open in open_streams_for_delete() (see above) we get a NT_STATUS_SHARING_VIOLATION This error gets passed up the stack back to open_streams_for_delete() so the client CREATE request fails and the client is unhappy. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15378 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 55bd1045)
0db5f559 -
Ralph Boehme authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15378 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 3bf97f19)
5c5ab78d -
Ralph Boehme authored
https://bugzilla.samba.org/show_bug.cgi?id=15378 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri May 26 00:52:29 UTC 2023 on atb-devel-224 (cherry picked from commit 035f6d91)
6dfa2252 -
Ralph Boehme authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15375 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit b4af281b)
5865388e -
Ralph Boehme authored
Avoid returning an uninitialized st.cached_dos_attributes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15375 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 03911200)
09ea170e -
Ralph Boehme authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15375 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed May 24 21:42:50 UTC 2023 on atb-devel-224 (cherry picked from commit 41237398) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Wed May 31 10:47:15 UTC 2023 on atb-devel-224
af9dc206 -
Jule Anger authored
Signed-off-by: Jule Anger <janger@samba.org>
f988fcf6 -
Jule Anger authored
Signed-off-by: Jule Anger <janger@samba.org>
897e67a7 -
Michael Tokarev authored4e87e89f
-
Michael Tokarev authored56e11c5a
-
Michael Tokarev authored
Update to upstream version '4.18.3+dfsg' with Debian dir cff6a9611d6c6998dbbcfb03b7826cb0c66f76de
29a903e8 -
Michael Tokarev authoredd2e877a7
-
Michael Tokarev authored
(forgotten) patch from upstream targetting next stable
3802340d -
Michael Tokarev authored752a70b1
Showing
- VERSION 1 addition, 1 deletionVERSION
- WHATSNEW.txt 63 additions, 2 deletionsWHATSNEW.txt
- ctdb/doc/ctdb-etcd.7 0 additions, 109 deletionsctdb/doc/ctdb-etcd.7
- ctdb/doc/ctdb-script.options.5 0 additions, 561 deletionsctdb/doc/ctdb-script.options.5
- ctdb/doc/ctdb-statistics.7 0 additions, 550 deletionsctdb/doc/ctdb-statistics.7
- ctdb/doc/ctdb-tunables.7 0 additions, 408 deletionsctdb/doc/ctdb-tunables.7
- ctdb/doc/ctdb.1 0 additions, 1530 deletionsctdb/doc/ctdb.1
- ctdb/doc/ctdb.7 0 additions, 821 deletionsctdb/doc/ctdb.7
- ctdb/doc/ctdb.conf.5 0 additions, 367 deletionsctdb/doc/ctdb.conf.5
- ctdb/doc/ctdb.sysconfig.5 0 additions, 128 deletionsctdb/doc/ctdb.sysconfig.5
- ctdb/doc/ctdb_diagnostics.1 0 additions, 79 deletionsctdb/doc/ctdb_diagnostics.1
- ctdb/doc/ctdb_mutex_ceph_rados_helper.7 0 additions, 84 deletionsctdb/doc/ctdb_mutex_ceph_rados_helper.7
- ctdb/doc/ctdbd.1 0 additions, 78 deletionsctdb/doc/ctdbd.1
- ctdb/doc/ltdbtool.1 0 additions, 256 deletionsctdb/doc/ltdbtool.1
- ctdb/doc/onnode.1 0 additions, 218 deletionsctdb/doc/onnode.1
- ctdb/doc/ping_pong.1 0 additions, 122 deletionsctdb/doc/ping_pong.1
- debian/changelog 38 additions, 0 deletionsdebian/changelog
- debian/copyright 2 additions, 0 deletionsdebian/copyright
- debian/patches/dnsserver-rename-dns_name_equal.patch 255 additions, 0 deletionsdebian/patches/dnsserver-rename-dns_name_equal.patch
- debian/patches/series 1 addition, 0 deletionsdebian/patches/series
ctdb/doc/ctdb-etcd.7
deleted
100644 → 0
ctdb/doc/ctdb-script.options.5
deleted
100644 → 0
ctdb/doc/ctdb-statistics.7
deleted
100644 → 0
ctdb/doc/ctdb-tunables.7
deleted
100644 → 0
ctdb/doc/ctdb.1
deleted
100644 → 0
This diff is collapsed.
ctdb/doc/ctdb.7
deleted
100644 → 0
This diff is collapsed.
ctdb/doc/ctdb.conf.5
deleted
100644 → 0
ctdb/doc/ctdb.sysconfig.5
deleted
100644 → 0
ctdb/doc/ctdb_diagnostics.1
deleted
100644 → 0
ctdb/doc/ctdbd.1
deleted
100644 → 0
ctdb/doc/ltdbtool.1
deleted
100644 → 0
This diff is collapsed.
ctdb/doc/onnode.1
deleted
100644 → 0
This diff is collapsed.
ctdb/doc/ping_pong.1
deleted
100644 → 0
This diff is collapsed.