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