mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r18368: Don't list GENSEC mechs that only have client implementations in our
supportedSASLMechanism list. Andrew Bartlett
This commit is contained in:
parent
11cc6408c9
commit
3e69637b5f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user