summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 18:36:56 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-13 20:49:27 +0200
commit7ec961d98724206bbc25abf3413df0433c30cf94 (patch)
tree87f9781b16c3be74f7a045028f1f207a2c437b51 /source3/libsmb/clientgen.c
parentfa5475ea9e3cbd610ea9d00ce3a84123ea21b394 (diff)
downloadsamba-7ec961d98724206bbc25abf3413df0433c30cf94.tar.gz
samba-7ec961d98724206bbc25abf3413df0433c30cf94.tar.xz
samba-7ec961d98724206bbc25abf3413df0433c30cf94.zip
s3:libsmb: add cli_state_server_session_key()
metze
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 2d3a3a12438..8cbd82aabc3 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -431,6 +431,11 @@ uint16_t cli_state_get_vc_num(struct cli_state *cli)
return cli->smb1.vc_num;
}
+uint32_t cli_state_server_session_key(struct cli_state *cli)
+{
+ return cli->sesskey;
+}
+
/****************************************************************************
Set the PID to use for smb messages. Return the old pid.
****************************************************************************/