fix gssapi issue

This commit is contained in:
Michal Hlavinka 2020-09-02 11:58:34 +02:00
parent 98f6723298
commit 29ed947aae
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/auth/mech-gssapi.c b/src/auth/mech-gssapi.c
index f29e48da88..966273d388 100644
--- a/src/auth/mech-gssapi.c
+++ b/src/auth/mech-gssapi.c
@@ -735,7 +735,7 @@ mech_gssapi_auth_free(struct auth_request *request)
const struct mech_module mech_gssapi = {
"GSSAPI",
- .flags = 0,
+ .flags = MECH_SEC_ALLOW_NULS,
.passdb_need = MECH_PASSDB_NEED_NOTHING,
mech_gssapi_auth_new,

View File

@ -5,7 +5,7 @@ Name: dovecot
Epoch: 1
Version: 2.3.11.3
%global prever %{nil}
Release: 4%{?dist}
Release: 5%{?dist}
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
License: MIT and LGPLv2
@ -34,6 +34,7 @@ Patch9: dovecot-2.2.22-systemd_w_protectsystem.patch
Patch10: dovecot-2.3.0.1-libxcrypt.patch
Patch12: dovecot-2.3.11.3-ftbfs1.patch
Patch13: dovecot-2.3.11.3-ftbfs2.patch
Patch14: dovecot-2.3.11.3-gssapi.patch
Source15: prestartscript
@ -118,6 +119,7 @@ This package provides the development files for dovecot.
#%patch10 -p1 -b .libxcrypt
%patch12 -p1 -b .ftbfs1
%patch13 -p1 -b .ftbfs2
%patch14 -p1 -b .gssapi
#pushd dovecot-2*3-pigeonhole-%{pigeonholever}
#popd
@ -439,6 +441,9 @@ make check
%{_libdir}/%{name}/dict/libdriver_pgsql.so
%changelog
* Wed Sep 02 2020 Michal Hlavinka <mhlavink@redhat.com> - 1:2.3.11.3-5
- fix gssapi issue
* Wed Aug 26 2020 Michal Hlavinka <mhlavink@redhat.com> - 1:2.3.11.3-4
- fix FTBFS on 32bit systems