This project is mirrored from https://git.samba.org/samba.git.
Pull mirroring updated .
- 31 Jan, 2023 22 commits
-
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 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): Tue Jan 31 13:43:54 UTC 2023 on atb-devel-224
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This allows our new tests to pass as these need to be checked first. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
We need to find the RODC per the destination_dsa_guid to mark the secrets as having been replicated, and by using samdb_get_ntds_obj_by_guid() we are stricter in the checks, as the RODC has to be the right objectClass (nTDSDSA) and under the CN=Configuration partition. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This should avoid a user being able to specify the GUID of a different type of object. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This will allow the logic here to be tighened up and shared in the next few commits. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
We want to totally ignore the string DN if there is a GUID, as clients like "Microsoft Azure AD connect cloud sync" will set a literal "DummyDN" string. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This make this funciton the gatekeeper between the wire format and the internal struct ldb_dn, checking if the DN exists and which NC it belongs to along the way, and presenting only a DB-returned DN for internal processing. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This reuses the search done for dsdb_find_nc_root() to normalise the DN. This will allow a GUID-input DN to be compared safely with a RID Manager DN or Naming Context. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
Reuse the search done for dsdb_find_nc_root() to normalise the DN. This will allow a GUID-input DN to be compared safely with a RID Manager DN or Naming Context. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This allows lookup of a DN with a GUID only or GUID and string, possibly not yet in the database, yet still getting the correct result. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This avoids needing to anticipate errors that the rename might give while allowing the dsdb_find_nc_root() routine to become stricter. The problem is that dsdb_find_nc_root() will soon do a real search and so fail more often, but these failures will give "wrong" error codes. We do not need to do this work if the operation fails, so put this in the callback. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
Using a random base is a useful start, even if the better solution also includes a self.AddCleanup() BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This is not comprehensive, but makes some manual test runs easier by avoiding the need for DNS names to resolve. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
This avoids a talloc_strdup() and so a failure path. Signed-off-by:
Andrew Bartlett <abartlet@samba.org> Reviewed-by:
Stefan Metzmacher <metze@samba.org>
-
- 30 Jan, 2023 16 commits
-
-
We should not run into an exception if the file doesn't exist. Traceback (most recent call last): File "script/autobuild.py", line 1781, in <module> email_failure(-1, 'rebase', 'rebase', 'rebase', File "script/autobuild.py", line 1677, in email_failure f = open("%s/%s.stdout" % (gitroot, failed_tag), 'r') FileNotFoundError: [Errno 2] No such file or directory: 'samba-autobuild/rebase.stdout' Signed-off-by:
Andreas Schneider <asn@samba.org> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jan 30 10:00:27 UTC 2023 on atb-devel-224
-
These aliases are deprecated and have been removed in Python 3.12. Signed-off-by:
Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
Replace all the hard coded instances of ntstatus codes in the samba-tool gpo commands with constants from samba.ntstatus. Signed-off-by:
David Mulder <dmulder@samba.org> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
Signed-off-by:
David Mulder <dmulder@suse.com> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
These commands allow the setting of various group policies on the sysvol. Signed-off-by:
David Mulder <dmulder@samba.org> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
This is in preparation for needing it here later. Signed-off-by:
David Mulder <dmulder@samba.org> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
This is in preparation for needing it here later. Signed-off-by:
David Mulder <dmulder@samba.org> Reviewed-by:
Andrew Bartlett <abartlet@samba.org>
-
Signed-off-by:
David Mulder <dmulder@samba.org> Reviewed-by:
Andrew Bartlett <abartlet@samba.org> Tested-by:
Kees van Vloten <keesvanvloten@gmail.com>
-
- 27 Jan, 2023 1 commit
-
-
Removes need for external stat() code when checking for timechange. Signed-off-by:
Jeremy Allison <jra@samba.org> Reviewed-by:
Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jan 27 08:30:35 UTC 2023 on atb-devel-224
-
- 26 Jan, 2023 1 commit
-
-
One of changes is somewhat interesting, it is "tfork waiter proces" process title in tfork.c. I wonder why no one noticed this before. There's another similar process title in there, "tfork waiter process(%d)". Hopefully no one does grep for "proces$" (and there's no reason to). Signed-off-by:
Michael Tokarev <mjt@tls.msk.ru> Reviewed-by:
Volker Lendecke <vl@samba.org> Reviewed-by:
Rowland Penny <rpenny@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jan 26 20:46:11 UTC 2023 on atb-devel-224
-