smbd: pass session_info to create_conn_struct_tos()
authorRalph Boehme <slow@samba.org>
Mon, 16 Dec 2019 13:42:04 +0000 (14:42 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 20 Dec 2019 11:41:41 +0000 (11:41 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/posix_acls.c

index ce3798dc5f65154441c06ab20d2ca756c89f3a97..56c481fae79ab2e45f24970da4f0fefcf25a0941 100644 (file)
@@ -4667,7 +4667,7 @@ NTSTATUS get_nt_acl_no_snum(TALLOC_CTX *ctx,
        status = create_conn_struct_tos(global_messaging_context(),
                                        -1,
                                        "/",
-                                       NULL,
+                                       session_info,
                                        &c);
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(0,("create_conn_struct returned %s.\n",