From 35d30de0954eb665c6b900584cbf38212d45752b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 11 Sep 2006 07:51:30 +0000 Subject: r18368: Don't list GENSEC mechs that only have client implementations in our supportedSASLMechanism list. Andrew Bartlett (This used to be commit 3e69637b5f79e4132026ebaf9d57cf67ef3826c1) --- source4/dsdb/samdb/ldb_modules/rootdse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/samdb/ldb_modules/rootdse.c') diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index ba0dc5645c..c180e2f1b0 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -103,7 +103,7 @@ static int rootdse_add_dynamic(struct ldb_module *module, struct ldb_message *ms = gensec_use_kerberos_mechs(msg, backends, use_kerberos); int i; for (i = 0; ops && ops[i]; i++) { - if (ops[i]->sasl_name) { + if (ops[i]->sasl_name && ops[i]->server_start) { char *sasl_name = talloc_strdup(msg, ops[i]->sasl_name); if (!sasl_name) { goto failed; -- cgit