summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-02-13 12:12:06 +0100
committerJeremy Allison <jra@samba.org>2018-02-21 02:46:40 +0100
commit6f9c6d369f4aa4a5c861f51041dd663e81e2ec4e (patch)
tree103db2c6f9c8f70d81eaf496a0805a78978f4bfb /source3/smbd/server.c
parent7f47cec2343ca7658460cc14fa613fdd2611677a (diff)
downloadsamba-6f9c6d369f4aa4a5c861f51041dd663e81e2ec4e.tar.gz
s3:auth: Pass mem_ctx to init_system_session_info()
We have a stackframe we can use for the lifetime of the session. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Feb 21 02:46:40 CET 2018 on sn-devel-144
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index d80ea7311bd..e7e297f1f18 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1984,7 +1984,7 @@ extern void build_options(bool screen);
exit_daemon("ERROR: failed to load share info db.", EACCES);
}
- status = init_system_session_info();
+ status = init_system_session_info(NULL);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("ERROR: failed to setup system user info: %s.\n",
nt_errstr(status)));