diff options
author | Simo Sorce <simo@redhat.com> | 2014-07-31 15:53:38 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-07-31 15:53:38 -0400 |
commit | 612e203fe1e3900f1478f08aef906a3bb9048ed0 (patch) | |
tree | 2b58ff3bce92fa2827e12bd7e6ab731d1b179187 | |
parent | 56bc8353bb4fb8c9594758bf9603e579afbbceda (diff) | |
download | gss-ntlmssp-612e203fe1e3900f1478f08aef906a3bb9048ed0.tar.gz gss-ntlmssp-612e203fe1e3900f1478f08aef906a3bb9048ed0.tar.xz gss-ntlmssp-612e203fe1e3900f1478f08aef906a3bb9048ed0.zip |
Install mechanism configuration in mech.d
This will automatically enable the mechanism upon install.
-rw-r--r-- | contrib/gssntlmssp.spec.in | 9 | ||||
-rw-r--r-- | examples/mech.ntlmssp.in | 7 |
2 files changed, 8 insertions, 8 deletions
diff --git a/contrib/gssntlmssp.spec.in b/contrib/gssntlmssp.spec.in index bbc0b07..8490590 100644 --- a/contrib/gssntlmssp.spec.in +++ b/contrib/gssntlmssp.spec.in @@ -8,7 +8,7 @@ License: LGPLv3+ 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 @@ -20,7 +20,7 @@ BuildRequires: docbook-style-xsl 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 @@ -50,14 +50,13 @@ make %{?_smp_mflags} all %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 diff --git a/examples/mech.ntlmssp.in b/examples/mech.ntlmssp.in index a16f5bf..d562e80 100644 --- a/examples/mech.ntlmssp.in +++ b/examples/mech.ntlmssp.in @@ -1,7 +1,8 @@ -# 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 |