summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-04 17:49:49 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-18 02:19:35 +0100
commite786e8fef9960aadf1e94c70c0fb7ec18c1ed237 (patch)
tree63250524203335db77f2f039f8bcb72d7ba79872 /auth
parentdd479bd2927a6b470e2b6c6b89ef0e4fdd457d55 (diff)
downloadsamba-e786e8fef9960aadf1e94c70c0fb7ec18c1ed237.tar.gz
samba-e786e8fef9960aadf1e94c70c0fb7ec18c1ed237.tar.bz2
samba-e786e8fef9960aadf1e94c70c0fb7ec18c1ed237.zip
auth: Reorder arguments to generate_session_info
This matches check_ntlm_password() and generate_session_info_pac() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Feb 18 02:19:35 CET 2012 on sn-devel-104
Diffstat (limited to 'auth')
-rw-r--r--auth/common_auth.h4
-rw-r--r--auth/ntlmssp/gensec_ntlmssp_server.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index d9996e1ee4..c0fd6b6d60 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -117,8 +117,8 @@ struct auth4_context {
NTSTATUS (*set_challenge)(struct auth4_context *auth_ctx, const uint8_t chal[8], const char *set_by);
- NTSTATUS (*generate_session_info)(TALLOC_CTX *mem_ctx,
- struct auth4_context *auth_context,
+ NTSTATUS (*generate_session_info)(struct auth4_context *auth_context,
+ TALLOC_CTX *mem_ctx,
void *server_returned_info,
const char *original_user_name,
uint32_t session_info_flags,
diff --git a/auth/ntlmssp/gensec_ntlmssp_server.c b/auth/ntlmssp/gensec_ntlmssp_server.c
index 8f45c2c664..a1d43e6bca 100644
--- a/auth/ntlmssp/gensec_ntlmssp_server.c
+++ b/auth/ntlmssp/gensec_ntlmssp_server.c
@@ -235,7 +235,7 @@ NTSTATUS gensec_ntlmssp_session_info(struct gensec_security *gensec_security,
session_info_flags |= AUTH_SESSION_INFO_DEFAULT_GROUPS;
if (gensec_security->auth_context && gensec_security->auth_context->generate_session_info) {
- nt_status = gensec_security->auth_context->generate_session_info(mem_ctx, gensec_security->auth_context,
+ nt_status = gensec_security->auth_context->generate_session_info(gensec_security->auth_context, mem_ctx,
gensec_ntlmssp->server_returned_info,
gensec_ntlmssp->ntlmssp_state->user,
session_info_flags,