diff options
author | Jeremy Allison <jra@samba.org> | 2007-01-30 20:49:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:31 -0500 |
commit | deaf4131b99951cfcc599b96e35af680202ce609 (patch) | |
tree | 2110a0e3f7140600bafa002c3946466dbf11d9f4 /source3/include | |
parent | e5be27a30851c910dedf42f252bcc20476e6c3f6 (diff) | |
download | samba-deaf4131b99951cfcc599b96e35af680202ce609.tar.gz samba-deaf4131b99951cfcc599b96e35af680202ce609.tar.bz2 samba-deaf4131b99951cfcc599b96e35af680202ce609.zip |
r21062: Should fix the build plus make all refactored
functions return NTSTATUS.
Jeremy.
(This used to be commit 1f3c2b2abca6f1b3b59b73df038832e14106ff76)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/msdfs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h index e9fef5430e..4e3487de0f 100644 --- a/source3/include/msdfs.h +++ b/source3/include/msdfs.h @@ -71,6 +71,12 @@ struct dfs_path { return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, \ ERRSRV, ERRbadpath);; } +#define RESOLVE_DFSPATH_STATUS(name, conn, inbuf, outbuf) \ +{ if ((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) && \ + lp_host_msdfs() && lp_msdfs_root(SNUM(conn)) && \ + dfs_redirect(name, conn, False)) \ + return NT_STATUS_PATH_NOT_COVERED;; } + #define RESOLVE_DFSPATH_WCARD(name, conn, inbuf, outbuf) \ { if ((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) && \ lp_host_msdfs() && lp_msdfs_root(SNUM(conn)) && \ |