From 86d1072917fb4de732e41222f7b96e0c36948645 Mon Sep 17 00:00:00 2001
From: Luke Howard <lukeh@openldap.org>
Date: Wed, 11 Jan 2006 17:28:30 +0000
Subject: [PATCH] ITS#4327 - make SASL_MECH/SASL_REALM no longer user-only
 options

---
 libraries/libldap/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c
index dc65b46476..e128ddac18 100644
--- a/libraries/libldap/init.c
+++ b/libraries/libldap/init.c
@@ -81,9 +81,9 @@ static const struct ol_attribute {
 	{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)},
-- 
GitLab