From 8d457a83dd126ac46f498c19a15089c2314625e1 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 13 Dec 2019 16:27:51 +0100 Subject: [PATCH] smbd: pass session_info to junction_to_local_path_tos() Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- source3/smbd/msdfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 5d2c1dc59b9..4f01d8202db 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -1322,6 +1322,7 @@ bool create_junction(TALLOC_CTX *ctx, **********************************************************************/ static bool junction_to_local_path_tos(const struct junction_map *jucn, + struct auth_session_info *session_info, char **pp_path_out, connection_struct **conn_out) { @@ -1435,7 +1436,7 @@ bool create_msdfs_link(const struct junction_map *jucn, bool ok; int retval; - ok = junction_to_local_path_tos(jucn, &path, &conn); + ok = junction_to_local_path_tos(jucn, session_info, &path, &conn); if (!ok) { TALLOC_FREE(frame); return False; @@ -1507,7 +1508,7 @@ bool remove_msdfs_link(const struct junction_map *jucn, bool ok; int retval; - ok = junction_to_local_path_tos(jucn, &path, &conn); + ok = junction_to_local_path_tos(jucn, session_info, &path, &conn); if (!ok) { TALLOC_FREE(frame); return false;