From ed5d2cf3013d880fd363e0522e91c9fc6988af65aeb2bcf50b7f1c5eeae4c133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 10:51:41 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main adcli revision 906b44f0ee8bf3d91e8fafa967f90e7f --- .gitattributes | 23 ++++++++++++ adcli-0.9.2.tar.gz | 3 ++ adcli-0.9.2.tar.gz.sig | Bin 0 -> 137 bytes adcli.changes | 77 ++++++++++++++++++++++++++++++++++++++ adcli.keyring | 15 ++++++++ adcli.spec | 83 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 201 insertions(+) create mode 100644 .gitattributes create mode 100644 adcli-0.9.2.tar.gz create mode 100644 adcli-0.9.2.tar.gz.sig create mode 100644 adcli.changes create mode 100644 adcli.keyring create mode 100644 adcli.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/adcli-0.9.2.tar.gz b/adcli-0.9.2.tar.gz new file mode 100644 index 0000000..4a5c7a1 --- /dev/null +++ b/adcli-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cdb6e01290d8015764b569ea66e634fd487f894e4ece653086010e2c61394da +size 521085 diff --git a/adcli-0.9.2.tar.gz.sig b/adcli-0.9.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..6392ae0622d2fe59ed0bc779b68620d8ab8a93dc5802b9cd8345051564462d33 GIT binary patch literal 137 zcmeBZXJHWIV$c^;WYMU!yw9d}=*NQPR m%#WHpJ;frdP4rq}#3>Ip-v#1}S$j0Qczl(w?FnPlolSO literal 0 HcmV?d00001 diff --git a/adcli.changes b/adcli.changes new file mode 100644 index 0000000..cb6a7ea --- /dev/null +++ b/adcli.changes @@ -0,0 +1,77 @@ +------------------------------------------------------------------- +Thu Dec 29 21:29:52 UTC 2022 - Matthias Eliasson + +- Update to 0.9.2: + * adenroll: set password via LDAP instead Kerberos + * disco: fall back to LDAPS if CLDAP ping was not successful + * tools: replace getpass() + * adenroll: write SID before secret to Samba's db + * doc: add clarification to add-member command on doc/adcli.xml + * tools: Set umask before calling mkdtemp() + * Avoid undefined behaviour in short option parsing + * library: include endian.h for le32toh + * man: Fix typos and use consistent upper case for some keywords + * doc: avoid gnu-make specific usage of $< + * configure: check for ns_get16 and ns_get32 as well + * Add setattr and delattr options + * entry: add passwd-user sub-command + * Add dont-expire-password option + * build: add --with-vendor-error-message configure option +- Remove patch fixed upstream: 0001-configure-check-for-ns_get16-and-ns_get32-as-well.patch +- Update signing key for source validation + +------------------------------------------------------------------- +Fri Aug 13 08:46:13 UTC 2021 - Samuel Cabrero + +- Fix build with glibc 2.34; (bsc#1189080); Add patch + 0001-configure-check-for-ns_get16-and-ns_get32-as-well.patch + +------------------------------------------------------------------- +Mon Mar 22 22:45:53 UTC 2021 - Andreas Stieger + +- update to 0.9.1: + * tools: add show-computer command + * add description option to join and update + * Use GSS-SPNEGO if available + * add option use-ldaps + * tools: disable SSSD's locator plugin + * doc: explain required AD permissions + * computer: add create-msa sub-command + * Add account-disable option + * fix coredump in discovery (boo#1183870) +- use upstream bootstrapped tarball +- add upstream signing key and validate source signature +- use strict build +- run tests + +------------------------------------------------------------------- +Wed Nov 20 15:41:09 UTC 2019 - Samuel Cabrero + +- Update to version 0.9.0+git.0.1b15280: + * Release version 0.9.0 + * doc: add missing samba_data_tool_path.xml(.in) to EXTRA_DIST + * doc: explain how to force password reset + * Do not use arcfour-hmac-md5 when discovering the salt + * Fix for issue found by Coverity + * adenroll: use only enctypes permitted by Kerberos config + * adenroll: add adcli_enroll_get_permitted_keytab_enctypes with tests + * adconn: add adcli_conn_set_krb5_context + * adenroll: make sure only allowed enctypes are used in FIPS mode + * tools: computer - remove errx from parse_option + +------------------------------------------------------------------- +Tue Oct 2 09:41:47 UTC 2018 - Jan Engelhardt + +- Make doc noarch and stop requiring packages that are not + technically needed. + +------------------------------------------------------------------- +Mon Oct 1 15:06:01 UTC 2018 - Ismail Dönmez + +- Run spec-cleaner + +------------------------------------------------------------------- +Fri Sep 21 14:28:21 UTC 2018 - ckowalczyk@suse.com + +- Initial build. + diff --git a/adcli.keyring b/adcli.keyring new file mode 100644 index 0000000..e9d5179 --- /dev/null +++ b/adcli.keyring @@ -0,0 +1,15 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: 2879 39DF 062A D8C5 3876 A535 C2D7 B98A 934E EC17 +Comment: Sumit Bose + +xjMEYj2kiBYJKwYBBAHaRw8BAQdAznprUolx2093zToRN7IUtc3oO3d298ryLNqO +ASbQXdrNHVN1bWl0IEJvc2UgPHNib3NlQHJlZGhhdC5jb20+wpoEExYKAEIWIQQo +eTnfBirYxTh2pTXC17mKk07sFwUCYj2kiAIbAwUJB4TOAAULCQgHAgMiAgEGFQoJ +CAsCBBYCAwECHgcCF4AACgkQwte5ipNO7BefqgEA+nQ/TxidHJGnrwdwS7iqXcCB +ynS3lsDTQMVa4SMCvtoA/0Bws4vxF3Pyh/CrWEgV829oPY6adWhrFv5Ux0rda1UN +zjgEYj2kiBIKKwYBBAGXVQEFAQEHQARZk36uaC4XnO2uGsXnW18mGxhh5w249y2X +g1uqi+pvAwEIB8J+BBgWCgAmFiEEKHk53wYq2MU4dqU1wte5ipNO7BcFAmI9pIgC +GwwFCQeEzgAACgkQwte5ipNO7BdbwQD9HX7/IeQSD5ZaI9tCLuCyu/3lUitXxOSL +pGzSdO7BYqABAPwmQg6DgSQ9WVhCWKbsVrPDS88vTWyj85gPKQjgMB8N +=DRNU +-----END PGP PUBLIC KEY BLOCK----- diff --git a/adcli.spec b/adcli.spec new file mode 100644 index 0000000..ec18c0f --- /dev/null +++ b/adcli.spec @@ -0,0 +1,83 @@ +# +# spec file for package adcli +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define filehash ea560656ac921b3fe0d455976aaae9be +%define sighash 429430e8cf4ddac8a95fb90379adc120 +Name: adcli +Version: 0.9.2 +Release: 0 +Summary: Tool for performing actions on an Active Directory domain +License: LGPL-2.0-or-later +Group: Productivity/Networking/Other +URL: https://gitlab.freedesktop.org/realmd/adcli +Source0: https://gitlab.freedesktop.org/realmd/adcli/uploads/%{filehash}/%{name}-%{version}.tar.gz +Source2: https://gitlab.freedesktop.org/realmd/adcli/uploads/%{sighash}/%{name}-%{version}.tar.gz.sig +# https://keys.openpgp.org/vks/v1/by-fingerprint/287939DF062AD8C53876A535C2D7B98A934EEC17 +Source3: %{name}.keyring +BuildRequires: automake +BuildRequires: libxslt-tools +BuildRequires: openldap2-devel +BuildRequires: pkgconfig +BuildRequires: xmlto +BuildRequires: pkgconfig(libsasl2) +BuildRequires: pkgconfig(mit-krb5) + +%description +A command line tool that can perform actions in an Active Directory domain. +Among other things it can be used to join a computer to a domain. + +%package doc +Summary: Documentation for adcli +Group: Documentation/Other +BuildArch: noarch + +%description doc +A command line tool that can perform actions in an Active Directory domain. +Among other things it can be used to join a computer to a domain. + +This package contains the documentation for adcli. + +%prep +%autosetup -p1 + +%build +%configure \ + --disable-static \ + --disable-silent-rules \ + --enable-strict +%make_build + +%install +%make_install +# Remove zero-length file. +rm %{buildroot}/%{_datadir}/doc/%{name}/adcli-docs.proc + +%check +%make_build check + +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%{_sbindir}/%{name} +%{_mandir}/man8/adcli.8%{?ext_man} + +%files doc +%license COPYING +%doc %{_datadir}/doc/%{name} + +%changelog