summaryrefslogtreecommitdiffstats
path: root/src/gss_sec_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gss_sec_ctx.c')
-rw-r--r--src/gss_sec_ctx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gss_sec_ctx.c b/src/gss_sec_ctx.c
index 33e6aa0..05d352f 100644
--- a/src/gss_sec_ctx.c
+++ b/src/gss_sec_ctx.c
@@ -92,7 +92,8 @@ uint32_t gssntlm_init_sec_context(uint32_t *minor_status,
}
} else {
cred = (struct gssntlm_cred *)claimant_cred_handle;
- if (cred->type != GSSNTLM_CRED_USER) {
+ if (cred->type != GSSNTLM_CRED_USER &&
+ cred->type != GSSNTLM_CRED_EXTERNAL) {
retmin = EINVAL;
retmaj = GSS_S_CRED_UNAVAIL;
goto done;