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 Name: nxssh
Version: 7.5 Version: 7.5
Release: alt0.1 Release: alt0.2
Summary: Openssh portable (etersoft edition) Summary: Openssh portable (etersoft edition)
Packager: Pavel Vainerman <pv@altlinux.ru> Packager: Pavel Vainerman <pv@altlinux.ru>
...@@ -12,6 +13,10 @@ Url: https://github.com/openssh/openssh-portable ...@@ -12,6 +13,10 @@ Url: https://github.com/openssh/openssh-portable
Source: %name-%version.tar Source: %name-%version.tar
%if_enabled kerberos5
BuildRequires: libkrb5-devel
%endif
%description %description
.... ....
...@@ -20,7 +25,7 @@ Source: %name-%version.tar ...@@ -20,7 +25,7 @@ Source: %name-%version.tar
%build %build
%autoreconf %autoreconf
%configure --without-zlib-version-check %configure --without-zlib-version-check %{subst_enable kerberos5}
%make_build || %make %make_build || %make
%install %install
...@@ -32,6 +37,9 @@ install -m755 nxssh nxsshd nxssh-keygen %buildroot%_bindir/ ...@@ -32,6 +37,9 @@ install -m755 nxssh nxsshd nxssh-keygen %buildroot%_bindir/
%changelog %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 * Wed Oct 18 2017 Pavel Vainerman <pv@altlinux.ru> 7.5-alt0.1
- initial commit - initial commit
...@@ -384,6 +384,13 @@ Authmethod authmethods[] = { ...@@ -384,6 +384,13 @@ Authmethod authmethods[] = {
}; };
Authmethod nxauthmethods_pubkey[] = { Authmethod nxauthmethods_pubkey[] = {
#ifdef GSSAPI
{"gssapi-with-mic",
userauth_gssapi,
NULL,
&options.gss_authentication,
NULL},
#endif
{"publickey", {"publickey",
userauth_pubkey, userauth_pubkey,
&options.pubkey_authentication, &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