Blame SOURCES/openldap-config-sasl-options.patch

2a8beb
SASL_MECH/SASL_REALM should be system configurable
2a8beb
--- openldap-2.3.27/libraries/libldap/init.c.orig	2007-04-26 16:37:02.000000000 +0200
2a8beb
+++ openldap-2.3.27/libraries/libldap/init.c	2007-04-26 16:39:10.000000000 +0200
2a8beb
@@ -81,9 +81,9 @@
2a8beb
 	{0, ATTR_BOOL,		"RESTART",		NULL,	LDAP_BOOL_RESTART},
2a8beb
 
2a8beb
 #ifdef HAVE_CYRUS_SASL
2a8beb
-	{1, ATTR_STRING,	"SASL_MECH",		NULL,
2a8beb
+	{0, ATTR_STRING,	"SASL_MECH",		NULL,
2a8beb
 		offsetof(struct ldapoptions, ldo_def_sasl_mech)},
2a8beb
-	{1, ATTR_STRING,	"SASL_REALM",		NULL,
2a8beb
+	{0, ATTR_STRING,	"SASL_REALM",		NULL,
2a8beb
 		offsetof(struct ldapoptions, ldo_def_sasl_realm)},
2a8beb
 	{1, ATTR_STRING,	"SASL_AUTHCID",		NULL,
2a8beb
 		offsetof(struct ldapoptions, ldo_def_sasl_authcid)},