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