summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/spnego.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 19:28:17 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 19:28:17 +0100
commit1e053df95c478dd5ca5fceab822700af49cc6510 (patch)
tree23c2034ee2d5f9ed196f78f2df9428dcc73d8733 /source4/auth/gensec/spnego.c
parent3fda6c5c2a4199217a0ee4078125fe3178639009 (diff)
downloadsamba-1e053df95c478dd5ca5fceab822700af49cc6510.tar.gz
samba-1e053df95c478dd5ca5fceab822700af49cc6510.tar.bz2
samba-1e053df95c478dd5ca5fceab822700af49cc6510.zip
Remove use of global_loadparm for disabled gensec backends.
Diffstat (limited to 'source4/auth/gensec/spnego.c')
-rw-r--r--source4/auth/gensec/spnego.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index bf991616bd..5733cb9004 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -336,6 +336,10 @@ static NTSTATUS gensec_spnego_server_try_fallback(struct gensec_security *gensec
for (i=0; all_ops[i]; i++) {
bool is_spnego;
NTSTATUS nt_status;
+
+ if (gensec_security_ops_enabled(all_ops[i], gensec_security->settings->lp_ctx))
+ continue;
+
if (!all_ops[i]->oid) {
continue;
}