}
/* The following call can change cwd. */
- status = get_referred_path(r, pathnamep,
+ status = get_referred_path(r,
+ handle->conn->session_info,
+ pathnamep,
handle->conn->sconn->remote_address,
handle->conn->sconn->local_address,
!handle->conn->sconn->using_smb2,
}
/* The following call can change the cwd. */
- status = get_referred_path(ctx, r->in.path,
+ status = get_referred_path(ctx,
+ p->session_info,
+ r->in.path,
p->remote_address,
p->local_address,
true, /*allow_broken_path */
r->in.dfs_entry_path, r->in.servername, r->in.sharename));
}
- status = get_referred_path(ctx, r->in.dfs_entry_path,
+ status = get_referred_path(ctx,
+ p->session_info,
+ r->in.dfs_entry_path,
p->remote_address,
p->local_address,
true, /*allow_broken_path */
}
/* The following call can change the cwd. */
- status = get_referred_path(ctx, r->in.dfs_entry_path,
+ status = get_referred_path(ctx,
+ p->session_info,
+ r->in.dfs_entry_path,
p->remote_address,
p->local_address,
true, /*allow_broken_path */
**********************************************************************/
NTSTATUS get_referred_path(TALLOC_CTX *ctx,
+ struct auth_session_info *session_info,
const char *dfs_path,
const struct tsocket_address *remote_address,
const struct tsocket_address *local_address,
struct smb_filename *smb_fname);
struct junction_map;
NTSTATUS get_referred_path(TALLOC_CTX *ctx,
+ struct auth_session_info *session_info,
const char *dfs_path,
const struct tsocket_address *remote_address,
const struct tsocket_address *local_address,