URL: https://fedorahosted.org/gss-ntlmssp
Source0: https://fedorahosted.org/released/gss-ntlmssp/%{name}-%{version}.tar.gz
-Requires: krb5-libs%{?_isa} >= 1.11.2
+Requires: krb5-libs%{?_isa} >= 1.11.5
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: gettext-devel
BuildRequires: pkgconfig
-BuildRequires: krb5-devel >= 1.11.2
+BuildRequires: krb5-devel >= 1.11.5
BuildRequires: libunistring-devel
BuildRequires: openssl-devel
%install
%make_install
rm -f %{buildroot}%{_libdir}/gssntlmssp/gssntlmssp.la
-install -d -m755 %{buildroot}%{_sysconfdir}/gss
-install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.ntlmssp
+install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.d/ntlmssp.conf
%check
make test_gssntlmssp
%files
-%config(noreplace) %{_sysconfdir}/gss/mech.ntlmssp
+%config(noreplace) %{_sysconfdir}/gss/mech.d/ntlmssp.conf
%{_libdir}/gssntlmssp/
%{_mandir}/man8/gssntlmssp.8*
%doc COPYING
-# GSS-API mechanism plugins
+# NTLMSSP mechanism plugin
#
-# NOTE: copy the content of this file in /etc/gss/mech to activate the NTLM SSP
-# mechanism
+# NOTE: to activate the NTLM SSP mechanism do the following
+# * FOR krb5 < 1.12: copy the content of this file in /etc/gss/mech
+# * FOR krb5 >= 1.12: copy this file in /etc/gss/mech.d
#
# Mechanism Name Object Identifier Shared Library Path Other Options
gssntlmssp_v1 1.3.6.1.4.1.311.2.2.10 @libdir@/gssntlmssp/gssntlmssp.so