summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-07 21:34:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:37 -0500
commitb717b40235b2433b26b20ced36142c250f9c411e (patch)
treea473705f0b0a7a509d0d675998b763fc6e244a65 /source4/auth
parentfb1cc0fc0d0dec3384886b42e9377b531defe352 (diff)
downloadsamba-b717b40235b2433b26b20ced36142c250f9c411e.tar.gz
samba-b717b40235b2433b26b20ced36142c250f9c411e.tar.bz2
samba-b717b40235b2433b26b20ced36142c250f9c411e.zip
r1078: the dxesrv_crypto_* implementations should now explicit set
the dce_conn->auth_state.session_info ( the ntlmssp one works fine, but the schannel one isn't implemented yet) this is also set by the ntvfs_ipc backend on the endpoint connect. metze (This used to be commit ad3dd1789e9f124493519cb4731d9f5a563fd051)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_util.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index c505d4a88e..24a419586d 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -330,7 +330,7 @@ BOOL make_user_info_guest(struct auth_usersupplied_info **user_info)
prints a NT_USER_TOKEN to debug output.
****************************************************************************/
-void debug_nt_user_token(int dbg_class, int dbg_lev, NT_USER_TOKEN *token)
+void debug_nt_user_token(int dbg_class, int dbg_lev, const NT_USER_TOKEN *token)
{
TALLOC_CTX *mem_ctx;
@@ -357,6 +357,20 @@ void debug_nt_user_token(int dbg_class, int dbg_lev, NT_USER_TOKEN *token)
}
/****************************************************************************
+ prints a NT_USER_TOKEN to debug output.
+****************************************************************************/
+
+void debug_session_info(int dbg_class, int dbg_lev, const struct auth_session_info *session_info)
+{
+ if (!session_info) {
+ DEBUGC(dbg_class, dbg_lev, ("Session Info: (NULL)\n"));
+ return;
+ }
+
+ debug_nt_user_token(dbg_class, dbg_lev, session_info->nt_user_token);
+}
+
+/****************************************************************************
Create the SID list for this user.
****************************************************************************/