Re: SASL 2.1.27 rc8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I merged all of these plus a few others except for 529 (added a comment).  Take a look at the commit logs.  Attached is the diff from rc8.

I was able to find a desktop running a slightly older OS which still allows me to build a distro (building docsrc/ fails on newer Fedora).  I will probably wait a day or two for people to review the current changes and request others.  I will be able to SSH to my build machine from my hotel this weekend and will construct a final release and get it to my colleagues for posting my Monday.

On 9/18/18 11:05 AM, Quanah Gibson-Mount wrote:
--On Tuesday, September 18, 2018 11:10 AM -0400 Ken Murchison <murch@xxxxxxxxxxxx> wrote:

I want to get 2.1.27 released this week, but I'm not sure where we stand
with the GSSAPI stuff, and since I'm no longer at CMU, I don't have a
Kerberos infrastructure to test with.

So, I need someone to summarize the existing problem(s) and solution(s),
preferably with a pull request or patch.

Hi Ken,

On GSSAPI: There is no mechanism in Heimdal to allow for pulling the SSF level for a Kerberos mechanism (only exists in MIT).  I've opened an issue on the Heimdal side for this, but I wouldn't hold the release on this.  I don't have an MIT environment, so someone else would need to confirm the SSF bits (no more hard coded "56" with GSSAPI, for example) are working correctly.

Otherwise, there are several pull requests fixing issues with building the last RC:




Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:

Ken Murchison
Cyrus Development Team
FastMail US LLC

diff --git a/ b/
index ac59f14..5452420 100644
--- a/
+++ b/
@@ -80,6 +80,7 @@ AC_ARG_ENABLE(cmulocal,
                               [compile sample code [[yes]]])],
+              [],
diff --git a/plugins/ b/plugins/
index 2b02a52..6101158 100644
--- a/plugins/
+++ b/plugins/
@@ -149,4 +149,4 @@ passdss_init.c sasldb_init.c sql_init.c ldapdb_init.c
 ${init_src}: $(srcdir)/
-	$(SHELL) $(srcdir)/
+	$(SHELL) $(srcdir)/ $@
diff --git a/plugins/NTMakefile b/plugins/NTMakefile
index e42f5e5..3bf715a 100755
--- a/plugins/NTMakefile
+++ b/plugins/NTMakefile
@@ -119,9 +119,16 @@ OPENSSL_FLAGS= /I $(OPENSSL_INCLUDE)
+!IF "$(GSSAPILIB)" == ""
 !IF "$(GSSAPI)" == "CyberSafe"
-GSS_LIBS=/libpath:$(GSSAPI_LIBPATH) gssapi32.lib
+!ELSE IF "$(GSSAPI)" == "MITKerberos"
diff --git a/plugins/ b/plugins/
index cc65f7d..3131877 100644
--- a/plugins/
+++ b/plugins/
@@ -1,7 +1,9 @@
 # mechanism plugins
 for mech in anonymous crammd5 digestmd5 scram gssapiv2 kerberos4 login ntlm otp passdss plain srp gs2; do
+    if [ ${plugin_init} = "${mech}_init.c" ];then
-echo "
+        echo "
 #include <config.h>
 #include <string.h>
@@ -43,13 +45,16 @@ BOOL APIENTRY DllMain( HANDLE hModule,
-" > ${mech}_init.c
+"       > ${mech}_init.c
+        echo "generating $1"
+    fi # End of `if [ ${plugin_init} = "${mech}_init.c" ];then'
 # auxprop plugins
 for auxprop in sasldb sql ldapdb; do
+    if [ ${plugin_init} = "${auxprop}_init.c" ];then
-echo "
+        echo "
 #include <config.h>
 #include <string.h>
@@ -86,8 +91,12 @@ BOOL APIENTRY DllMain( HANDLE hModule,
-" > ${auxprop}_init.c
+"       > ${auxprop}_init.c
+        echo "generating $1"
+    fi # End of `if [ ${plugin_init} = "${auxprop}_init.c" ];then'
 # ldapdb is also a canon_user plugin
-echo "SASL_CANONUSER_PLUG_INIT( ldapdb )" >> ldapdb_init.c
+if [ ${plugin_init} = "ldapdb_init.c" ];then
+    echo "SASL_CANONUSER_PLUG_INIT( ldapdb )" >> ldapdb_init.c
diff --git a/sample/server.c b/sample/server.c
index 8637700..315d74d 100644
--- a/sample/server.c
+++ b/sample/server.c
@@ -85,8 +85,12 @@
 #include <gssapi/gssapi.h>
+#ifndef KRB5_HEIMDAL
 #include <gssapi/gssapi_ext.h>
 #include "common.h"
diff --git a/saslauthd/ b/saslauthd/
index d7244be..864b29b 100644
--- a/saslauthd/
+++ b/saslauthd/
@@ -34,7 +34,7 @@ saslcache_SOURCES = saslcache.c
 EXTRA_DIST	= saslauthd.8 saslauthd.mdoc include \
 		  getnameinfo.c getaddrinfo.c LDAP_SASLAUTHD
-AM_CPPFLAGS	= -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/../include -I$(top_builddir)/common
+AM_CPPFLAGS	= -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)/common -I$(top_srcdir)/common
 DEFS            = @DEFS@ -DSASLAUTHD_CONF_FILE_DEFAULT=\"@sysconfdir@/saslauthd.conf\" -I. -I$(srcdir) -I..

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux