summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-11 07:51:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:20 -0500
commit35d30de0954eb665c6b900584cbf38212d45752b (patch)
treec8a68b6c17bce606a0bed17bee6cdcfef309ab88
parenta41b696346bd3c525d09fa97bdf487aa809f3c73 (diff)
downloadsamba-35d30de0954eb665c6b900584cbf38212d45752b.tar.gz
samba-35d30de0954eb665c6b900584cbf38212d45752b.tar.bz2
samba-35d30de0954eb665c6b900584cbf38212d45752b.zip
r18368: Don't list GENSEC mechs that only have client implementations in our
supportedSASLMechanism list. Andrew Bartlett (This used to be commit 3e69637b5f79e4132026ebaf9d57cf67ef3826c1)
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c2
1 files changed, 1 insertions, 1 deletions
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;