summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-12-21 10:19:53 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-12-21 15:10:38 +1100
commit1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8 (patch)
tree3a481279183723fdbc3a33977d7bf43196d1b80b /source4/dsdb/samdb
parent94a59b781ccc5a552a9141484740255977db4637 (diff)
downloadsamba-1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8.tar.gz
samba-1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8.tar.bz2
samba-1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8.zip
s4-auth rework session_info handling not to require an auth context
This reverts a previous move to have this based around the auth subsystem, which just spread auth deps all over unrelated code. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index d98131113d..c4c2660f57 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -167,7 +167,7 @@ static int construct_token_groups(struct ldb_module *module,
return LDB_ERR_OPERATIONS_ERROR;
}
- status = auth_generate_session_info(tmp_ctx, auth_context, server_info, 0, &session_info);
+ status = auth_generate_session_info(tmp_ctx, auth_context->lp_ctx, ldb, server_info, 0, &session_info);
if (NT_STATUS_EQUAL(status, NT_STATUS_NO_MEMORY)) {
talloc_free(tmp_ctx);
return ldb_module_oom(module);