diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-25 00:58:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:19 -0500 |
commit | a5433c4bf7a256880725173b96af5405c3c2eb9c (patch) | |
tree | 4fd14f2e0a946ade8e0da5e8aa0eb0140a193cb2 /source3/include | |
parent | 66e8ed2632f8efb4e749a79609eb34dc488aacdc (diff) | |
download | samba-a5433c4bf7a256880725173b96af5405c3c2eb9c.tar.gz samba-a5433c4bf7a256880725173b96af5405c3c2eb9c.tar.bz2 samba-a5433c4bf7a256880725173b96af5405c3c2eb9c.zip |
r6053: Fixup dfs path with the new wildcard parser code split out.
Jeremy.
(This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/msdfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h index 8b365d02ea..a856f5d1ab 100644 --- a/source3/include/msdfs.h +++ b/source3/include/msdfs.h @@ -72,6 +72,13 @@ struct dfs_path return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, \ ERRSRV, ERRbadpath);; } +#define RESOLVE_DFSPATH_WCARD(name, conn, inbuf, outbuf) \ +{ if ((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) && \ + lp_host_msdfs() && lp_msdfs_root(SNUM(conn)) && \ + dfs_redirect(name,conn,True)) \ + return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, \ + ERRSRV, ERRbadpath);; } + #define init_dfsroot(conn, inbuf, outbuf) \ { if (lp_msdfs_root(SNUM(conn)) && lp_host_msdfs()) { \ DEBUG(2,("Serving %s as a Dfs root\n", \ |