summaryrefslogtreecommitdiff
path: root/source4/auth/system_session.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-24 13:30:36 +0100
committerAndrew Bartlett <abartlet@samba.org>2008-04-24 13:30:36 +0100
commited5ddabc43c484fe6eca3bd4b0cc22eb5aa9a33a (patch)
tree539091ac49d6282d5018212a3a568d9e21e71073 /source4/auth/system_session.c
parent9b65a7c38fd78ff71d5382af9a445d712f5d7a59 (diff)
downloadsamba-ed5ddabc43c484fe6eca3bd4b0cc22eb5aa9a33a.tar.gz
samba-ed5ddabc43c484fe6eca3bd4b0cc22eb5aa9a33a.tar.bz2
samba-ed5ddabc43c484fe6eca3bd4b0cc22eb5aa9a33a.zip
Add documentation to session token functions.
(This used to be commit ec4a108d1d35cd4bb2170f1bb122546266b9b745)
Diffstat (limited to 'source4/auth/system_session.c')
-rw-r--r--source4/auth/system_session.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/auth/system_session.c b/source4/auth/system_session.c
index e99bbbb1ab..1d227fe468 100644
--- a/source4/auth/system_session.c
+++ b/source4/auth/system_session.c
@@ -147,9 +147,10 @@ static NTSTATUS generate_session_info(TALLOC_CTX *mem_ctx,
-/**
- Create a system session, with machine account credentials
-*/
+/* Create a security token for a session SYSTEM (the most
+ * trusted/prvilaged account), including the local machine account as
+ * the off-host credentials
+ */
_PUBLIC_ struct auth_session_info *system_session(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx)
{
NTSTATUS nt_status;