BUG: https://bugzilla.samba.org/show_bug.cgi?id=15144
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
*unparsed = len - parsed;
}
}
+ /*
+ * If we're on an MSDFS share, see if this is
+ * an MSDFS link.
+ */
+ if (lp_host_msdfs() &&
+ lp_msdfs_root(SNUM(conn)) &&
+ (substitute != NULL) &&
+ strnequal(*substitute, "msdfs:", 6) &&
+ is_msdfs_link(dirfsp, &rel_fname))
+ {
+ status = NT_STATUS_PATH_NOT_COVERED;
+ }
} else {
DBG_DEBUG("readlink_talloc failed: %s\n",