"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "source3/smbd/msdfs.c" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

msdfs.c  (samba-4.12.3):msdfs.c  (samba-4.12.5)
skipping to change at line 636 skipping to change at line 636
bool is_msdfs_link(connection_struct *conn, bool is_msdfs_link(connection_struct *conn,
struct smb_filename *smb_fname) struct smb_filename *smb_fname)
{ {
NTSTATUS status = SMB_VFS_READ_DFS_PATHAT(conn, NTSTATUS status = SMB_VFS_READ_DFS_PATHAT(conn,
talloc_tos(), talloc_tos(),
conn->cwd_fsp, conn->cwd_fsp,
smb_fname, smb_fname,
NULL, NULL,
NULL); NULL);
if (NT_STATUS_IS_OK(status)) {
int ret;
ret = SMB_VFS_LSTAT(conn, smb_fname);
if (ret < 0) {
status = map_nt_error_from_unix(errno);
}
}
return (NT_STATUS_IS_OK(status)); return (NT_STATUS_IS_OK(status));
} }
/***************************************************************** /*****************************************************************
Used by other functions to decide if a dfs path is remote, Used by other functions to decide if a dfs path is remote,
and to get the list of referred locations for that remote path. and to get the list of referred locations for that remote path.
search_flag: For findfirsts, dfs links themselves are not search_flag: For findfirsts, dfs links themselves are not
redirected, but paths beyond the links are. For normal smb calls, redirected, but paths beyond the links are. For normal smb calls,
even dfs links need to be redirected. even dfs links need to be redirected.
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)