summaryrefslogtreecommitdiff
path: root/source3/auth/auth.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-02 13:17:24 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 18:48:05 +1000
commit7b1d6a6a0568a62943877c61d95f6d7bb1fd1d1d (patch)
treefbe3cf65cba959f0621977ef4c809c2ce0fbf7d7 /source3/auth/auth.c
parent7c4eb9e32e7c84c37728b2f83f28360f4d0cab92 (diff)
downloadsamba-7b1d6a6a0568a62943877c61d95f6d7bb1fd1d1d.tar.gz
samba-7b1d6a6a0568a62943877c61d95f6d7bb1fd1d1d.tar.bz2
samba-7b1d6a6a0568a62943877c61d95f6d7bb1fd1d1d.zip
selftest: test plugin_s4_dc against all ncacn_np tests
Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
Diffstat (limited to 'source3/auth/auth.c')
-rw-r--r--source3/auth/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index f2cd703297..4e413b1de5 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -462,9 +462,10 @@ static NTSTATUS make_auth_context_text_list(TALLOC_CTX *mem_ctx,
/* Look for the first module to provide a start_gensec hook, and set that if provided */
for (method = (*auth_context)->auth_method_list; method; method = method->next) {
- if (method->prepare_gensec && method->gensec_start_mech_by_oid) {
+ if (method->prepare_gensec) {
(*auth_context)->prepare_gensec = method->prepare_gensec;
(*auth_context)->gensec_start_mech_by_oid = method->gensec_start_mech_by_oid;
+ (*auth_context)->gensec_start_mech_by_authtype = method->gensec_start_mech_by_authtype;
break;
}
}