summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-10 20:21:11 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-02-22 16:20:11 +1100
commite3821f2c40691cc747d887bac14d4e3d37f0763b (patch)
tree8cfef9090749a0b93f0f6e24ee7b20b18aa7d2fa /source4/auth
parentd7fa34905223ebbf02dadcea0720062a30c3bbab (diff)
downloadsamba-e3821f2c40691cc747d887bac14d4e3d37f0763b.tar.gz
samba-e3821f2c40691cc747d887bac14d4e3d37f0763b.tar.bz2
samba-e3821f2c40691cc747d887bac14d4e3d37f0763b.zip
s4-auth Move libcli/security/session.c to the top level
This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth.h1
-rw-r--r--source4/auth/session.h9
2 files changed, 2 insertions, 8 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index ccc5695a2e..70df694b1e 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -162,6 +162,7 @@ struct auth_critical_sizes {
struct ldb_message;
struct ldb_context;
struct gensec_security;
+struct cli_credentials;
NTSTATUS auth_get_challenge(struct auth_context *auth_ctx, uint8_t chal[8]);
NTSTATUS authsam_account_ok(TALLOC_CTX *mem_ctx,
diff --git a/source4/auth/session.h b/source4/auth/session.h
index 795497ea8f..8ab6288d64 100644
--- a/source4/auth/session.h
+++ b/source4/auth/session.h
@@ -21,14 +21,7 @@
#ifndef _SAMBA_AUTH_SESSION_H
#define _SAMBA_AUTH_SESSION_H
-struct auth_session_info {
- struct security_token *security_token;
- struct auth_user_info *info;
- struct auth_user_info_torture *torture;
- DATA_BLOB session_key;
- struct cli_credentials *credentials;
-};
-
+#include "libcli/security/security.h"
#include "librpc/gen_ndr/netlogon.h"
#include "librpc/gen_ndr/auth.h"