diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-04-10 06:44:00 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-10 20:02:22 +0200 |
commit | 1488723a119736ed6401476ebe58afe5ba9953d4 (patch) | |
tree | d08b343cec7f77e4da7744c881434c8c95badf4d /librpc/idl | |
parent | 79ba530aaf76be639143530ab6e28d1e3696dfd2 (diff) | |
download | samba-1488723a119736ed6401476ebe58afe5ba9953d4.tar.gz |
auth: Add unique session GUID identifier
Generate a GUID for each successful authorization, this will allow the
tying of events in the logs back to a specific session.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/auth.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/librpc/idl/auth.idl b/librpc/idl/auth.idl index 6cc7dcf0d8a..d26f57579a3 100644 --- a/librpc/idl/auth.idl +++ b/librpc/idl/auth.idl @@ -105,6 +105,13 @@ interface auth [noprint] DATA_BLOB session_key; [value(NULL), ignore] cli_credentials *credentials; + + /* + * It is really handy to have our authorization code log a + * token that can be used to tie later requests togeather. + * We generate this in auth_generate_session_info() + */ + GUID unique_session_token; } auth_session_info; typedef [public] struct { |