cdf113
Name:    adcli
cdf113
Version: 0.9.2
cdf113
Release: 1%{?dist}
cdf113
Summary: Active Directory enrollment
cdf113
License: LGPLv2+
cdf113
URL:     https://gitlab.freedesktop.org/realmd/adcli
cdf113
Source0: https://gitlab.freedesktop.org/realmd/adcli/uploads/ea560656ac921b3fe0d455976aaae9be/adcli-%{version}.tar.gz
cdf113
cdf113
BuildRequires: gcc
cdf113
BuildRequires: intltool pkgconfig
cdf113
BuildRequires: libtool
cdf113
BuildRequires: gettext-devel
cdf113
BuildRequires: krb5-devel
cdf113
BuildRequires: openldap-devel
cdf113
BuildRequires: libxslt
cdf113
BuildRequires: xmlto
cdf113
BuildRequires: make
cdf113
cdf113
Requires: cyrus-sasl-gssapi
cdf113
Conflicts: adcli-doc < %{version}-%{release}
48b328
48b328
# adcli no longer has a library of development files
48b328
# the adcli tool itself is to be used by callers
cdf113
Obsoletes: adcli-devel < 0.5
48b328
48b328
%description
48b328
adcli is a tool for joining an Active Directory domain using
48b328
standard LDAP and Kerberos calls.
48b328
48b328
%define _hardened_build 1
48b328
48b328
%prep
48b328
%autosetup -p1
48b328
48b328
%build
48b328
autoreconf --force --install --verbose
02b4cc
%configure --disable-static --disable-silent-rules \
02b4cc
%if 0%{?rhel}
02b4cc
    --with-vendor-error-message='Please check\n    https://red.ht/support_rhel_ad \nto get help for common issues.' \
02b4cc
%endif
02b4cc
    %{nil}
48b328
make %{?_smp_mflags}
48b328
48b328
%check
48b328
make check
48b328
48b328
%install
48b328
make install DESTDIR=%{buildroot}
48b328
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
48b328
cdf113
%ldconfig_scriptlets
48b328
48b328
%files
48b328
%{_sbindir}/adcli
48b328
%doc AUTHORS COPYING ChangeLog NEWS README
48b328
%doc %{_mandir}/*/*
48b328
48b328
%package doc
48b328
Summary: adcli documentation
48b328
BuildArch: noarch
cdf113
Conflicts: adcli < %{version}-%{release}
48b328
48b328
%description doc
48b328
adcli is a tool for joining an Active Directory domain using
48b328
standard LDAP and Kerberos calls. This package contains its
48b328
documentation.
48b328
48b328
%files doc
48b328
%doc %{_datadir}/doc/adcli/*
48b328
48b328
%changelog
cdf113
* Fri Oct 21 2022 Sumit Bose <sbose@redhat.com> - 0.9.2-1
cdf113
- Update to upstream release 0.9.2
cdf113
  Resolves: rhbz#1991619, rhbz#2111348, rhbz#2133838
cdf113
02b4cc
* Mon Jun 14 2021 Sumit Bose <sbose@redhat.com> - 0.8.2-12
02b4cc
- [RFE] Allow adcli to create AD user with password as well as set or reset
02b4cc
  existing user password [#1952828]
02b4cc
- [RFE] add option to populate "managed by" computer attribute [#1690920]
02b4cc
02b4cc
* Thu Jun 03 2021 Sumit Bose <sbose@redhat.com> - 0.8.2-11
02b4cc
- Add missing patch for [#1769644]
02b4cc
02b4cc
* Thu Jun 03 2021 Sumit Bose <sbose@redhat.com> - 0.8.2-10
02b4cc
- [RFE] Adcli and Realm Error Code Optimization Request [#1889386]
02b4cc
- [RFE] adcli should allow to modify DONT_EXPIRE_PASSWORD attribute [#1769644]
02b4cc
fb25fc
* Fri Dec 11 2020 Sumit Bose <sbose@redhat,com> - 0.8.2-9
fb25fc
- Typo in CREATE A SERVICE ACCOUNT section of man page of adcli [#1906303]
fb25fc
436d93
* Wed Nov 11 2020 Sumit Bose <sbose@redhat.com> - 0.8.2-8
436d93
- Add --use-ldaps option to adcli update as well [#1883467]
436d93
- Cannot join a pre-staged Computer Account on AD in Custom OU using Delegated
436d93
  user [#1734764]
436d93
- missing documentation for required AD rights for adcli join and net
436d93
  join [#1852080]
436d93
- [RFE] Add new mode to just create an AD account to be able to connect to
436d93
  LDAP [#1854112]
436d93
c092c0
* Thu Aug 13 2020 Sumit Bose <sbose@redhat.com> - 0.8.2-7
c092c0
- Improve "-C" option description in man page even more [#1791545]
c092c0
3e55d6
* Mon Jun 15 2020 Sumit Bose <sbose@redhat.com> - 0.8.2-6
3e55d6
- [abrt] [faf] adcli: raise(): /usr/sbin/adcli killed by 6 [#1806260]
3e55d6
- No longer able to delete computer from AD using adcli [#1846882]
3e55d6
- adcli: presetting $computer in $domain domain failed: Cannot set computer
3e55d6
  password: Authentication error [#1846878]
3e55d6
- Typo in adcli update --help option [#1791611]
3e55d6
- Manpage and help does not explain the use of "-C" option [#1791545]
3e55d6
48b328
* Wed Jan 29 2020 Sumit Bose <sbose@redhat.com> - 0.8.2-5
48b328
- adcli should be able to Force LDAPS over 636 with AD Access Provider w.r.t
48b328
  sssd [#1762420]
48b328
48b328
* Thu Nov 28 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-4
48b328
- adcli update --add-samba-data does not work as expected [#1745931]
48b328
- Issue is that with arcfour-hmac as first encryption type [#1745932]
48b328
- [RFE] enhancement adcli to set description attribute and to show all AD
48b328
  attributes [#1737342]
48b328
48b328
* Fri Jun 14 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-3
48b328
- use autosetup macro to simplify patch handling
48b328
- fixed rpmlint warnings in the spec file
48b328
- join failed if hostname is not FQDN [#1677194]
48b328
- adcli join fails in FIPS enabled environment [#1717355]
48b328
- forward port of RHEL-7.7 fixes and enhancements
48b328
48b328
* Tue Oct 09 2018 Sumit Bose <sbose@redhat.com> - 0.8.2-2
48b328
- Do not add service principals twice and related fixes
48b328
- Resolves: rhbz#1631734
48b328
48b328
* Thu Jul 05 2018 Sumit Bose <sbose@redhat.com> - 0.8.2-1
48b328
- Update to upstream release 0.8.2
48b328
- various other fixes and improvements from the latest Fedora update
48b328
48b328
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
48b328
48b328
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
48b328
48b328
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
48b328
48b328
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
48b328
48b328
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
48b328
48b328
* Thu Dec 17 2015 Sumit Bose <sbose@redhat.com> - 0.8.0-1
48b328
- Update to upstream release 0.8.0
48b328
48b328
* Mon Oct 19 2015 Stef Walter <stefw@redhat.com> - 0.7.6-1
48b328
- Fix issue with keytab use with sshd
48b328
- Resolves: rhbz#1267319
48b328
- Put documentation in a subpackage
48b328
48b328
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-5
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
48b328
48b328
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
48b328
48b328
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
48b328
48b328
* Thu Jan 30 2014 Stef Walter <stefw@redhat.com> - 0.7.5-2
48b328
- Fix incorrect ownership of manual page directory
48b328
48b328
* Fri Sep 13 2013 Stef Walter <stefw@redhat.com> - 0.7.5-1
48b328
- Update to upstream point release 0.7.5
48b328
- Workaround for discovery via IPv6 address
48b328
- Correctly put IPv6 addresses in temporary krb5.conf
48b328
48b328
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.7.4-1
48b328
- Update to upstream point release 0.7.4
48b328
- Correctly handle truncating long host names
48b328
- Try to contact all available addresses for discovery
48b328
- Build fixes
48b328
48b328
* Wed Aug 07 2013 Stef Walter <stefw@redhat.com> - 0.7.3-1
48b328
- Update to upstream point release 0.7.3
48b328
- Don't try to set encryption types on Windows 2003
48b328
48b328
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
48b328
48b328
* Mon Jul 22 2013 Stef Walter <stefw@redhat.com> - 0.7.2-1
48b328
- Update to upstream point release 0.7.2
48b328
- Part of fix for bug [#961244]
48b328
48b328
* Mon Jul 15 2013 Stef Walter <stefw@redhat.com> - 0.7.1-4
48b328
- Build with verbose output logging
48b328
48b328
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.7.1-3
48b328
- Run 'make check' when building the package
48b328
48b328
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-2
48b328
- Bump version to get around botched update
48b328
48b328
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-1
48b328
- Update to upstream 0.7.1 release
48b328
- Fix problems with salt discovery [#961399]
48b328
48b328
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.7-1
48b328
- Work around broken krb5 with empty passwords [#960001]
48b328
- Fix memory corruption issue [#959999]
48b328
- Update to 0.7, fixing various bugs
48b328
48b328
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.6-1
48b328
- Update to 0.6, fixing various bugs
48b328
48b328
* Wed Apr 10 2013 Stef walter <stefw@redhat.com> - 0.5-2
48b328
- Add appropriate Obsoletes line for libadcli removal
48b328
48b328
* Wed Apr 10 2013 Stef Walter <stefw@redhat.com> - 0.5-1
48b328
- Update to upstream 0.5 version
48b328
- No more libadcli, and thus no adcli-devel
48b328
- Many new adcli commands
48b328
- Documentation
48b328
48b328
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
48b328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
48b328
48b328
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.4-1
48b328
- Update for 0.4 version, fixing various bugs
48b328
48b328
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.3-1
48b328
- Update for 0.3 version
48b328
48b328
* Tue Sep 4 2012 Stef Walter <stefw@redhat.com> - 0.2-1
48b328
- Update for 0.2 version
48b328
48b328
* Wed Aug 15 2012 Stef Walter <stefw@redhat.com> - 0.1-1
48b328
- Initial 0.1 package