|
|
9a0aa5 |
Name: adcli
|
|
|
9a0aa5 |
Version: 0.8.1
|
|
|
a5a4ce |
Release: 6%{?dist}.1
|
|
|
9a0aa5 |
Summary: Active Directory enrollment
|
|
|
9a0aa5 |
License: LGPLv2+
|
|
|
9a0aa5 |
URL: http://cgit.freedesktop.org/realmd/adcli
|
|
|
9a0aa5 |
Source0: http://www.freedesktop.org/software/realmd/releases/adcli-%{version}.tar.gz
|
|
|
9a0aa5 |
Patch1: 0001-library-Fix-check-for-EAGAIN-or-EINTR.patch
|
|
|
9a0aa5 |
Patch2: 0002-Patch-to-adcli.xml-to-fix-documentation-error.patch
|
|
|
9a0aa5 |
Patch3: 0003-Remove-n-or-r-n-from-stdin-password.patch
|
|
|
9a0aa5 |
Patch4: 0001-delete-use-keytab-data-to-determine-realm-and-NetBIO.patch
|
|
|
9a0aa5 |
Patch5: 0001-Remove-upper-case-only-check-when-looking-for-the-Ne.patch
|
|
|
9a0aa5 |
Patch6: 0002-Use-strdup-if-offset-are-used.patch
|
|
|
9a0aa5 |
Patch7: 0001-correct-spelling-of-adcli_tool_computer_delete-descr.patch
|
|
|
9a0aa5 |
Patch8: 0001-doc-Update-the-documentation-about-the-default-kerbe.patch
|
|
|
9a0aa5 |
Patch9: 0002-doc-explain-that-all-credential-cache-types-are-supp.patch
|
|
|
9a0aa5 |
Patch10: 0003-library-add-adcli_conn_is_writeable.patch
|
|
|
9a0aa5 |
Patch11: 0004-Handle-kvno-increment-for-RODCs.patch
|
|
|
9a0aa5 |
|
|
|
776d17 |
Patch12: 0001-Fix-memory-leak-in-test_check_nt_time_string_lifetim.patch
|
|
|
776d17 |
Patch13: 0002-library-add-_adcli_bin_sid_to_str.patch
|
|
|
776d17 |
Patch14: 0003-library-add-_adcli_call_external_program.patch
|
|
|
776d17 |
Patch15: 0004-library-add-_adcli_ldap_parse_sid.patch
|
|
|
776d17 |
Patch16: 0005-library-add-lookup_domain_sid.patch
|
|
|
776d17 |
Patch17: 0006-library-add-adcli_conn_get_domain_sid.patch
|
|
|
776d17 |
Patch18: 0007-tools-add-option-add-samba-data.patch
|
|
|
776d17 |
Patch19: 0008-tools-store-Samba-data-if-requested.patch
|
|
|
776d17 |
Patch20: 0009-make-Samba-data-tool-configurable.patch
|
|
|
776d17 |
|
|
|
776d17 |
Patch21: 0001-Add-trusted-for-delegation-option.patch
|
|
|
776d17 |
Patch22: 0002-Only-update-attributes-given-on-the-command-line.patch
|
|
|
776d17 |
Patch23: 0003-update-allow-to-add-service-names.patch
|
|
|
776d17 |
Patch24: 0004-Calculate-enctypes-in-a-separate-function.patch
|
|
|
776d17 |
Patch25: 0005-join-add-all-attributes-while-creating-computer-obje.patch
|
|
|
776d17 |
Patch26: 0006-util-add-_adcli_strv_remove_unsorted.patch
|
|
|
776d17 |
Patch27: 0007-Add-add-service-principal-and-remove-service-princip.patch
|
|
|
776d17 |
Patch28: 0001-adcli_conn_is_writeable-do-not-crash-id-domain_disco.patch
|
|
|
776d17 |
|
|
|
776d17 |
# Additional fixes for rhbz#1593240
|
|
|
776d17 |
Patch29: 0001-fix-typo-in-flag-value.patch
|
|
|
776d17 |
Patch30: 0002-_adcli_call_external_program-silence-noisy-debug-mes.patch
|
|
|
776d17 |
|
|
|
776d17 |
# rhbz#1608212
|
|
|
776d17 |
Patch31: 0003-Do-not-add-service-principals-twice.patch
|
|
|
776d17 |
|
|
|
776d17 |
# Additional fixed for rhbz#1547014
|
|
|
776d17 |
Patch32: 0004-Do-not-depend-on-default_realm-in-krb5.conf.patch
|
|
|
9a0aa5 |
|
|
|
a5a4ce |
# rhbz#1666775
|
|
|
a5a4ce |
Patch33: 0001-adutil-add-_adcli_strv_add_unique.patch
|
|
|
a5a4ce |
Patch34: 0002-adenroll-use-_adcli_strv_add_unique-for-service-prin.patch
|
|
|
a5a4ce |
|
|
|
9a0aa5 |
BuildRequires: intltool pkgconfig
|
|
|
776d17 |
BuildRequires: libtool
|
|
|
9a0aa5 |
BuildRequires: gettext-devel
|
|
|
9a0aa5 |
BuildRequires: krb5-devel
|
|
|
9a0aa5 |
BuildRequires: openldap-devel
|
|
|
9a0aa5 |
BuildRequires: libxslt
|
|
|
9a0aa5 |
BuildRequires: xmlto
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
Requires: cyrus-sasl-gssapi
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
# adcli no longer has a library of development files
|
|
|
9a0aa5 |
# the adcli tool itself is to be used by callers
|
|
|
9a0aa5 |
Obsoletes: adcli-devel < 0.5
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%description
|
|
|
9a0aa5 |
adcli is a library and tool for joining an Active Directory domain using
|
|
|
9a0aa5 |
standard LDAP and Kerberos calls.
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%define _hardened_build 1
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%prep
|
|
|
9a0aa5 |
%setup -q
|
|
|
9a0aa5 |
%patch1 -p1
|
|
|
9a0aa5 |
%patch2 -p1
|
|
|
9a0aa5 |
%patch3 -p1
|
|
|
9a0aa5 |
%patch4 -p1
|
|
|
9a0aa5 |
%patch5 -p1
|
|
|
9a0aa5 |
%patch6 -p1
|
|
|
9a0aa5 |
%patch7 -p1
|
|
|
9a0aa5 |
%patch8 -p1
|
|
|
9a0aa5 |
%patch9 -p1
|
|
|
9a0aa5 |
%patch10 -p1
|
|
|
9a0aa5 |
%patch11 -p1
|
|
|
776d17 |
%patch12 -p1
|
|
|
776d17 |
%patch13 -p1
|
|
|
776d17 |
%patch14 -p1
|
|
|
776d17 |
%patch15 -p1
|
|
|
776d17 |
%patch16 -p1
|
|
|
776d17 |
%patch17 -p1
|
|
|
776d17 |
%patch18 -p1
|
|
|
776d17 |
%patch19 -p1
|
|
|
776d17 |
%patch20 -p1
|
|
|
776d17 |
%patch21 -p1
|
|
|
776d17 |
%patch22 -p1
|
|
|
776d17 |
%patch23 -p1
|
|
|
776d17 |
%patch24 -p1
|
|
|
776d17 |
%patch25 -p1
|
|
|
776d17 |
%patch26 -p1
|
|
|
776d17 |
%patch27 -p1
|
|
|
776d17 |
%patch28 -p1
|
|
|
776d17 |
%patch29 -p1
|
|
|
776d17 |
%patch30 -p1
|
|
|
776d17 |
%patch31 -p1
|
|
|
776d17 |
%patch32 -p1
|
|
|
a5a4ce |
%patch33 -p1
|
|
|
a5a4ce |
%patch34 -p1
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%build
|
|
|
776d17 |
autoreconf --force --install --verbose
|
|
|
9a0aa5 |
%configure --disable-static --disable-silent-rules
|
|
|
9a0aa5 |
make %{?_smp_mflags}
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%check
|
|
|
9a0aa5 |
make check
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%install
|
|
|
9a0aa5 |
make install DESTDIR=%{buildroot}
|
|
|
9a0aa5 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%post -p /sbin/ldconfig
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%postun -p /sbin/ldconfig
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%clean
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%files
|
|
|
9a0aa5 |
%{_sbindir}/adcli
|
|
|
9a0aa5 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
9a0aa5 |
%doc %{_datadir}/doc/adcli
|
|
|
9a0aa5 |
%doc %{_mandir}/*/*
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
%changelog
|
|
|
a5a4ce |
* Wed Jan 16 2019 Sumit Bose <sbose@redhat.com> - 0.8.1-6.1
|
|
|
a5a4ce |
- join failed if hostname is not FQDN [#1666775]
|
|
|
a5a4ce |
|
|
|
776d17 |
* Tue Aug 14 2018 Sumit Bose <sbose@redhat.com> - 0.8.1-6
|
|
|
776d17 |
- Couldn't set service principals on computer account [#1608212]
|
|
|
776d17 |
- additional fix #1547014 and #1593240
|
|
|
776d17 |
|
|
|
776d17 |
* Tue Jun 19 2018 Sumit Bose <sbose@redhat.com> - 0.8.1-5
|
|
|
776d17 |
- enable "Trust this computer for delegation to any service (Kerberos only)" [#1538730]
|
|
|
776d17 |
- realm join fails with Insufficient permissions [#1542354]
|
|
|
776d17 |
- adcli update option cannot add principals for computer object [#1545568]
|
|
|
776d17 |
- adcli refuses to add service principals [#1547013]
|
|
|
776d17 |
- [RFE] Support adding SPN of a different host [#1547014]
|
|
|
776d17 |
- adcli segfaults during AD join RHEL 7.5 [#1575554]
|
|
|
776d17 |
|
|
|
9a0aa5 |
* Thu Nov 02 2017 Sumit Bose <sbose@redhat.com> - 0.8.1-4
|
|
|
9a0aa5 |
- adcli doesn't update kvno while joining system to AD domain (RODC) [#1471021]
|
|
|
9a0aa5 |
- adcli_tool_computer_delete description spelling [#1450179]
|
|
|
9a0aa5 |
- adcli man page should not only mention FILE type credential caches [#1423871]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Wed Aug 24 2016 Sumit Bose <sbose@redhat.com> - 0.8.1-3
|
|
|
9a0aa5 |
- fix crash when name is specified on the command line and detect names with
|
|
|
9a0aa5 |
lower case characters [#1359773]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon Jul 25 2016 Sumit Bose <sbose@redhat.com> - 0.8.1-2
|
|
|
9a0aa5 |
- delete: use keytab data to determine realm and NetBIOS name [#1359773]
|
|
|
9a0aa5 |
* Thu May 19 2016 Sumit Bose <sbose@redhat.com> - 0.8.1-1
|
|
|
9a0aa5 |
- Update to upstream release 0.8.1
|
|
|
9a0aa5 |
- Rebase adcli in RHEL-7.3 to version 0.8.0 [#1292530]
|
|
|
9a0aa5 |
- Support Host Keytab renewal [#1288485]
|
|
|
9a0aa5 |
- realmd not joining AD so ssh gssapi-with-mic works [#1061371]
|
|
|
9a0aa5 |
- technically wrong length checks in binary parsers [#1027905]
|
|
|
9a0aa5 |
- avoid alloca in _adcli_ldap_have_in_mod [#1027889]
|
|
|
9a0aa5 |
- [RFE] adcli --stdin-password should be able to strip newline character from
|
|
|
9a0aa5 |
the input [#1134330]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Thu Jan 30 2014 Stef Walter <stefw@redhat.com> - 0.7.5-4
|
|
|
9a0aa5 |
- Fix incorrect ownership of manual page directory [#1057563]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 0.7.5-3
|
|
|
9a0aa5 |
- Mass rebuild 2014-01-24
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.7.5-2
|
|
|
9a0aa5 |
- Mass rebuild 2013-12-27
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Fri Sep 13 2013 Stef Walter <stefw@redhat.com> - 0.7.5-1
|
|
|
9a0aa5 |
- Update to upstream point release 0.7.5
|
|
|
9a0aa5 |
- Workaround for discovery via IPv6 address [#1004442]
|
|
|
9a0aa5 |
- Correctly put IPv6 addresses in temporary krb5.conf
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.7.4-1
|
|
|
9a0aa5 |
- Update to upstream point release 0.7.4
|
|
|
9a0aa5 |
- Correctly handle truncating long host names [#1001667]
|
|
|
9a0aa5 |
- Try to contact all available addresses for discovery [#1004442]
|
|
|
9a0aa5 |
- Build fixes [#1004823]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Wed Aug 07 2013 Stef Walter <stefw@redhat.com> - 0.7.3-1
|
|
|
9a0aa5 |
- Update to upstream point release 0.7.3
|
|
|
9a0aa5 |
- Don't try to set encryption types on Windows 2003
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon Jul 22 2013 Stef Walter <stefw@redhat.com> - 0.7.2-1
|
|
|
9a0aa5 |
- Update to upstream point release 0.7.2
|
|
|
9a0aa5 |
- Part of fix for bug [#967008]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.7.1-3
|
|
|
9a0aa5 |
- Run 'make check' when building the package
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-2
|
|
|
9a0aa5 |
- Bump version to get around botched update
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-1
|
|
|
9a0aa5 |
- Update to upstream 0.7.1 release
|
|
|
9a0aa5 |
- Fix problems with salt discovery [#961399]
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.7-1
|
|
|
9a0aa5 |
- Work around broken krb5 with empty passwords [#960001]
|
|
|
9a0aa5 |
- Fix memory corruption issue [#959999]
|
|
|
9a0aa5 |
- Update to 0.7, fixing various bugs
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.6-1
|
|
|
9a0aa5 |
- Update to 0.6, fixing various bugs
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Wed Apr 10 2013 Stef walter <stefw@redhat.com> - 0.5-2
|
|
|
9a0aa5 |
- Add appropriate Obsoletes line for libadcli removal
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Wed Apr 10 2013 Stef Walter <stefw@redhat.com> - 0.5-1
|
|
|
9a0aa5 |
- Update to upstream 0.5 version
|
|
|
9a0aa5 |
- No more libadcli, and thus no adcli-devel
|
|
|
9a0aa5 |
- Many new adcli commands
|
|
|
9a0aa5 |
- Documentation
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
|
|
|
9a0aa5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.4-1
|
|
|
9a0aa5 |
- Update for 0.4 version, fixing various bugs
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.3-1
|
|
|
9a0aa5 |
- Update for 0.3 version
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Tue Sep 4 2012 Stef Walter <stefw@redhat.com> - 0.2-1
|
|
|
9a0aa5 |
- Update for 0.2 version
|
|
|
9a0aa5 |
|
|
|
9a0aa5 |
* Wed Aug 15 2012 Stef Walter <stefw@redhat.com> - 0.1-1
|
|
|
9a0aa5 |
- Initial 0.1 package
|