JRA.
**********************************************************************/
-static NTSTATUS parse_dfs_path(connection_struct *conn,
+static NTSTATUS parse_dfs_path(TALLOC_CTX *ctx,
+ connection_struct *conn,
const char *pathname,
bool allow_broken_path,
struct dfs_path *pdp) /* MUST BE TALLOCED */
return NT_STATUS_NO_MEMORY;
}
- status = parse_dfs_path(conn, path_in,
- allow_broken_path, pdp);
+ status = parse_dfs_path(ctx,
+ conn,
+ path_in,
+ allow_broken_path,
+ pdp);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(pdp);
return status;
*self_referralp = False;
- status = parse_dfs_path(NULL, dfs_path, allow_broken_path, pdp);
+ status = parse_dfs_path(frame,
+ NULL,
+ dfs_path,
+ allow_broken_path,
+ pdp);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(frame);
return status;
if (!pdp) {
return False;
}
- status = parse_dfs_path(NULL, dfs_path, allow_broken_path, pdp);
+ status = parse_dfs_path(ctx,
+ NULL,
+ dfs_path,
+ allow_broken_path,
+ pdp);
if (!NT_STATUS_IS_OK(status)) {
return False;
}