mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r18368: Don't list GENSEC mechs that only have client implementations in our
supportedSASLMechanism list.
Andrew Bartlett
(This used to be commit 3e69637b5f
)
This commit is contained in:
parent
a41b696346
commit
35d30de095
@ -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);
|
= gensec_use_kerberos_mechs(msg, backends, use_kerberos);
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; ops && ops[i]; 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);
|
char *sasl_name = talloc_strdup(msg, ops[i]->sasl_name);
|
||||||
if (!sasl_name) {
|
if (!sasl_name) {
|
||||||
goto failed;
|
goto failed;
|
||||||
|
Loading…
Reference in New Issue
Block a user