Blame SOURCES/0071-Fix-cherry-pick-error-from-sasl-mech-commit.patch

6405db
From 4a51a17762fb4e7ce1beb0600916fed8b45a5483 Mon Sep 17 00:00:00 2001
6405db
From: Mark Reynolds <mreynolds@redhat.com>
6405db
Date: Mon, 18 Sep 2017 15:06:06 -0400
6405db
Subject: [PATCH] Fix cherry-pick error from sasl mech commit
6405db
6405db
---
6405db
 ldap/servers/slapd/saslbind.c | 3 +++
6405db
 1 file changed, 3 insertions(+)
6405db
6405db
diff --git a/ldap/servers/slapd/saslbind.c b/ldap/servers/slapd/saslbind.c
6405db
index 03e2a97..8e94ee6 100644
6405db
--- a/ldap/servers/slapd/saslbind.c
6405db
+++ b/ldap/servers/slapd/saslbind.c
6405db
@@ -745,11 +745,14 @@ char **ids_sasl_listmech(Slapi_PBlock *pb)
6405db
     const char *str;
6405db
     char *dupstr;
6405db
     sasl_conn_t *sasl_conn;
6405db
+    Connection *pb_conn = NULL;
6405db
 
6405db
     slapi_log_err(SLAPI_LOG_TRACE, "ids_sasl_listmech", "=>\n");
6405db
 
6405db
     PR_ASSERT(pb);
6405db
 
6405db
+    slapi_pblock_get(pb, SLAPI_CONNECTION, &pb_conn);
6405db
+
6405db
     /* hard-wired mechanisms and slapi plugin registered mechanisms */
6405db
     sup_ret = slapi_get_supported_saslmechanisms_copy();
6405db
 
6405db
-- 
6405db
2.9.5
6405db