Commit a76a82cb authored by Pavel Vainerman's avatar Pavel Vainerman

enabled gssapi support for authorization,

build with kerberos5 support
parent 67fb8e44
%def_enable kerberos5
Name: nxssh
Version: 7.5
Release: alt0.1
Release: alt0.2
Summary: Openssh portable (etersoft edition)
Packager: Pavel Vainerman <pv@altlinux.ru>
......@@ -12,6 +13,10 @@ Url: https://github.com/openssh/openssh-portable
Source: %name-%version.tar
%if_enabled kerberos5
BuildRequires: libkrb5-devel
%endif
%description
....
......@@ -20,7 +25,7 @@ Source: %name-%version.tar
%build
%autoreconf
%configure --without-zlib-version-check
%configure --without-zlib-version-check %{subst_enable kerberos5}
%make_build || %make
%install
......@@ -32,6 +37,9 @@ install -m755 nxssh nxsshd nxssh-keygen %buildroot%_bindir/
%changelog
* Mon Oct 30 2017 Pavel Vainerman <pv@altlinux.ru> 7.5-alt0.2
- build with kerberos5
* Wed Oct 18 2017 Pavel Vainerman <pv@altlinux.ru> 7.5-alt0.1
- initial commit
......@@ -384,6 +384,13 @@ Authmethod authmethods[] = {
};
Authmethod nxauthmethods_pubkey[] = {
#ifdef GSSAPI
{"gssapi-with-mic",
userauth_gssapi,
NULL,
&options.gss_authentication,
NULL},
#endif
{"publickey",
userauth_pubkey,
&options.pubkey_authentication,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment