Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
packages
Commits
ab1e8383
Commit
ab1e8383
authored
May 09, 2019
by
Robin Sonnabend
Browse files
Update adcli patches
parent
46954fe7
Changes
55
Hide whitespace changes
Inline
Side-by-side
patches/adcli/0001-Handle-empty-string-in-client-site-name.patch
View file @
ab1e8383
From 213116ea8a16a10f4def750d92095c250b51def7 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Fri, 7 Oct 2016 13:57:44 +0200
Subject: [PATCH 01/
30
] Handle empty string in client site name
Subject: [PATCH 01/
55
] Handle empty string in client site name
parse_disco_string() returns an empty string if there is no client site
name in the NetLogon reply. Later in the code only a NULL check is used
...
...
patches/adcli/0002-Move-the-empty-client-site-check.patch
View file @
ab1e8383
From 85146804c219b2d4a62f315a0988536af7a53911 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Date: Thu, 30 Mar 2017 12:50:33 +0200
Subject: [PATCH 02/
30
] Move the empty client site check
Subject: [PATCH 02/
55
] Move the empty client site check
Currently this check will SEGV(NULL ptr access) if the parsing
of Netlogon discovery data fails. Move the empty check to where the
...
...
patches/adcli/0003-Remove-upper-case-only-check-when-looking-for-the-Ne.patch
View file @
ab1e8383
From 7c95c61a86c5801d551d1042900b0e2e671891ce Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 24 Aug 2016 15:37:41 +0200
Subject: [PATCH 03/
30
] Remove upper-case only check when looking for the
Subject: [PATCH 03/
55
] Remove upper-case only check when looking for the
NetBIOS name
It is a convention to use only upper-case letters for NetBIOS names but
...
...
patches/adcli/0004-Use-strdup-if-offsets-are-used.patch
View file @
ab1e8383
From 90c1e96cf3eea8718aa97a6fb97aa2029ef64670 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 24 Aug 2016 16:19:36 +0200
Subject: [PATCH 04/
30
] Use strdup() if offsets are used
Subject: [PATCH 04/
55
] Use strdup() if offsets are used
Strings with an offset to the original starting point must be copied
because otherwise they cannot be properly freed later.
...
...
patches/adcli/0005-correct-spelling-of-adcli_tool_computer_delete-descr.patch
View file @
ab1e8383
From 99b2d00ea848db46898ae111a10739f9a9c7bf3e Mon Sep 17 00:00:00 2001
From: Striker Leggette <striker@redhat.com>
Date: Wed, 1 Nov 2017 11:16:39 +0100
Subject: [PATCH 05/
30
] correct spelling of 'adcli_tool_computer_delete'
Subject: [PATCH 05/
55
] correct spelling of 'adcli_tool_computer_delete'
description
---
...
...
patches/adcli/0006-doc-explain-that-all-credential-cache-types-are-supp.patch
View file @
ab1e8383
From 8bfeba525a104f39c9ede7601035d934cd062437 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 1 Nov 2017 12:01:18 +0100
Subject: [PATCH 06/
30
] doc: explain that all credential cache types are
Subject: [PATCH 06/
55
] doc: explain that all credential cache types are
supported
---
...
...
patches/adcli/0007-library-add-adcli_conn_is_writeable.patch
View file @
ab1e8383
From d9721f64ca3bb3467898c06aa8470aec73a0d0d8 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 1 Nov 2017 16:29:19 +0100
Subject: [PATCH 07/
30
] library: add adcli_conn_is_writeable()
Subject: [PATCH 07/
55
] library: add adcli_conn_is_writeable()
---
library/adconn.c | 11 +++++++++++
...
...
patches/adcli/0008-Handle-kvno-increment-for-RODCs.patch
View file @
ab1e8383
From 4edc04768f6b28312404312e7012c700661a4ee3 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 1 Nov 2017 17:14:05 +0100
Subject: [PATCH 08/
30
] Handle kvno increment for RODCs
Subject: [PATCH 08/
55
] Handle kvno increment for RODCs
Since the actual password change does not happen on the read-only domain
controller (RODC) the kvno change has to be replicated back which might
...
...
patches/adcli/0009-library-add-_adcli_bin_sid_to_str.patch
View file @
ab1e8383
From 2f08e7992d484563c29a1db979e2a95691dbb170 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 14:37:05 +0100
Subject: [PATCH 09/
30
] library: add _adcli_bin_sid_to_str()
Subject: [PATCH 09/
55
] library: add _adcli_bin_sid_to_str()
Convert a binary SID to the string representation.
...
...
patches/adcli/0010-library-add-_adcli_call_external_program.patch
View file @
ab1e8383
From e25c49fc8be4df614e74a98e0d5dfecbf0af6020 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 14:39:17 +0100
Subject: [PATCH 10/
30
] library: add _adcli_call_external_program()
Subject: [PATCH 10/
55
] library: add _adcli_call_external_program()
Allow adcli to call an external program given by an absolute path name
and an array of options. stdin and stdout can be used if needed.
...
...
patches/adcli/0011-library-add-_adcli_ldap_parse_sid.patch
View file @
ab1e8383
From 64fb4f01d38c0f01554bc35e949ba4838247c72e Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 14:44:45 +0100
Subject: [PATCH 11/
30
] library: add _adcli_ldap_parse_sid()
Subject: [PATCH 11/
55
] library: add _adcli_ldap_parse_sid()
Get a binary SID from a LDAP message and return it in the string
representation.
...
...
patches/adcli/0012-library-add-lookup_domain_sid.patch
View file @
ab1e8383
From d00590ada9094c47ed39e4e3a4e1d80bff126f8f Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 14:40:46 +0100
Subject: [PATCH 12/
30
] library: add lookup_domain_sid()
Subject: [PATCH 12/
55
] library: add lookup_domain_sid()
Read the domain SID from the default naming context AD object and store
it in adcli_conn.
...
...
patches/adcli/0013-library-add-adcli_conn_get_domain_sid.patch
View file @
ab1e8383
From 839ab7f8248aea897ae95b20d8bb79222c4bf21e Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 18:23:03 +0100
Subject: [PATCH 13/
30
] library: add adcli_conn_get_domain_sid()
Subject: [PATCH 13/
55
] library: add adcli_conn_get_domain_sid()
https://bugs.freedesktop.org/show_bug.cgi?id=100118
https://gitlab.freedesktop.org/realmd/adcli/issues/6
...
...
patches/adcli/0014-tools-add-option-add-samba-data.patch
View file @
ab1e8383
From 9e2be6f374d6d9107a34acfcd6fa551190d756d5 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 14:46:00 +0100
Subject: [PATCH 14/
30
] tools: add option --add-samba-data
Subject: [PATCH 14/
55
] tools: add option --add-samba-data
https://bugs.freedesktop.org/show_bug.cgi?id=100118
https://gitlab.freedesktop.org/realmd/adcli/issues/6
...
...
patches/adcli/0015-tools-store-Samba-data-if-requested.patch
View file @
ab1e8383
From a79e03c5a559389c5c9c0e9d72831e5fe5c62f54 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 18:24:15 +0100
Subject: [PATCH 15/
30
] tools: store Samba data if requested
Subject: [PATCH 15/
55
] tools: store Samba data if requested
Use Samba's net utility to add the machine account password and the
domain SID to the Samba configuration.
...
...
patches/adcli/0016-make-Samba-data-tool-configurable.patch
View file @
ab1e8383
From 9fa4b8d2bd98525212a019bfa62c2f132614faba Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Thu, 1 Feb 2018 14:26:22 +0100
Subject: [PATCH 16/
30
] make Samba data tool configurable
Subject: [PATCH 16/
55
] make Samba data tool configurable
Allow to specify an alternative path to Samba's net utility at configure
time and at run time.
...
...
@@ -11,6 +11,7 @@ https://gitlab.freedesktop.org/realmd/adcli/issues/6
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
---
.gitignore | 1 +
configure.ac | 13 ++++++++++++
doc/adcli.xml | 21 ++++++++++++++++++-
doc/samba_data_tool_path.xml.in | 1 +
...
...
@@ -20,6 +21,18 @@ Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
7 files changed, 95 insertions(+), 8 deletions(-)
create mode 100644 doc/samba_data_tool_path.xml.in
diff --git a/.gitignore b/.gitignore
index b49a065..c64f4e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,6 +46,7 @@
Makefile.in
/doc/adcli.8
/doc/html/
/doc/version.xml
+/doc/samba_data_tool_path.xml
/po/POTFILES
/po/stamp-po
diff --git a/configure.ac b/configure.ac
index fe86638..68877c7 100644
--- a/configure.ac
...
...
patches/adcli/0017-Fix-memory-leak-in-test_check_nt_time_string_lifetim.patch
View file @
ab1e8383
From 1b31d18c574e820d50c80e6973e8d6031a305410 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Tue, 30 Jan 2018 14:39:46 +0100
Subject: [PATCH 17/
30
] Fix memory leak in test_check_nt_time_string_lifetime
Subject: [PATCH 17/
55
] Fix memory leak in test_check_nt_time_string_lifetime
The test added with 650e5d33ef31437a049fb454ad3dc5457c56abe7 introduced
a small memory leak.
...
...
patches/adcli/0018-fix-typo-in-flag-value.patch
View file @
ab1e8383
From 12e13aaea8ab999540ad62e91829fc3d1815fac1 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 8 Aug 2018 12:03:01 +0200
Subject: [PATCH 18/
30
] fix typo in flag value
Subject: [PATCH 18/
55
] fix typo in flag value
---
library/adenroll.h | 2 +-
...
...
patches/adcli/0019-Add-trusted-for-delegation-option.patch
View file @
ab1e8383
From b1da8a2fbe739cc8754de712711d84956848a7ea Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Thu, 31 May 2018 18:27:37 +0200
Subject: [PATCH 19/
30
] Add trusted-for-delegation option
Subject: [PATCH 19/
55
] Add trusted-for-delegation option
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1538730
---
...
...
patches/adcli/0020-Only-update-attributes-given-on-the-command-line.patch
View file @
ab1e8383
From 32d8f994120cbb9b5b8b4bb1f7e80798bf82da20 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Fri, 1 Jun 2018 21:26:47 +0200
Subject: [PATCH 20/
30
] Only update attributes given on the command line
Subject: [PATCH 20/
55
] Only update attributes given on the command line
When updating attributes of the LDAP computer object we only want to
update attributes which are related to options given on the command
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment