summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/gensec_util.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-29 12:00:21 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-29 14:01:56 +1100
commit3f5d30c8cb98b855e349e794fe224f10f8af1c10 (patch)
tree3025a8fbfce1f990da8a41a7f767d0b652d36acf /source4/auth/gensec/gensec_util.c
parentfe693e9148cdd9faf3525289a97373a5989e5416 (diff)
downloadsamba-3f5d30c8cb98b855e349e794fe224f10f8af1c10.tar.gz
samba-3f5d30c8cb98b855e349e794fe224f10f8af1c10.tar.bz2
samba-3f5d30c8cb98b855e349e794fe224f10f8af1c10.zip
s4-gensec Remove fallback for simple privileges
This makes the dependencies simpler, as this code path is no longer required. (That is, it makes no sense to have an NTLM login without an auth context, and the gensec_gssapi and gensec_krb5 modules call the PAC blob function below instead). Andrew Bartlett
Diffstat (limited to 'source4/auth/gensec/gensec_util.c')
-rw-r--r--source4/auth/gensec/gensec_util.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/auth/gensec/gensec_util.c b/source4/auth/gensec/gensec_util.c
index 2b890239b0..d767f902d6 100644
--- a/source4/auth/gensec/gensec_util.c
+++ b/source4/auth/gensec/gensec_util.c
@@ -50,12 +50,8 @@ NTSTATUS gensec_generate_session_info(TALLOC_CTX *mem_ctx,
session_info_flags,
session_info);
} else {
- session_info_flags |= AUTH_SESSION_INFO_SIMPLE_PRIVILEGES;
- nt_status = auth_generate_session_info(mem_ctx,
- NULL,
- NULL,
- user_info_dc, session_info_flags,
- session_info);
+ DEBUG(0, ("Cannot generate a session_info without the auth_context\n"));
+ return NT_STATUS_INTERNAL_ERROR;
}
return nt_status;
}