summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-30 21:49:33 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-13 01:25:59 +0100
commitcaf485a2bd0453b7d22600f9106a2026b1a50c79 (patch)
tree23f5b05f738a6ebd565c7b49ffe91356dd7fff4a /auth
parent05f9495ff36c2335ff9c69ea408cd9328f6cc6e6 (diff)
downloadsamba-caf485a2bd0453b7d22600f9106a2026b1a50c79.tar.gz
samba-caf485a2bd0453b7d22600f9106a2026b1a50c79.tar.bz2
samba-caf485a2bd0453b7d22600f9106a2026b1a50c79.zip
auth: Pass in the SMB username (for %U) into generate_session_info
This matches what Samba3 does. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 13 01:25:59 CET 2012 on sn-devel-104
Diffstat (limited to 'auth')
-rw-r--r--auth/common_auth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index 453c0c9efb..d9996e1ee4 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -120,6 +120,7 @@ struct auth4_context {
NTSTATUS (*generate_session_info)(TALLOC_CTX *mem_ctx,
struct auth4_context *auth_context,
void *server_returned_info,
+ const char *original_user_name,
uint32_t session_info_flags,
struct auth_session_info **session_info);