diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-23 12:46:20 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-23 21:56:05 +0200 |
commit | b21176875a9cab2302405c7df35a87ae34643e8a (patch) | |
tree | 1a38051bf6783dff08db81829a31ac8767708304 | |
parent | aa7b1e21a8ea7c13aad46ce4510725e3005f4432 (diff) | |
download | samba-b21176875a9cab2302405c7df35a87ae34643e8a.tar.gz samba-b21176875a9cab2302405c7df35a87ae34643e8a.tar.bz2 samba-b21176875a9cab2302405c7df35a87ae34643e8a.zip |
s3:rpc_server/dfs: pass allow_broken_path=true to create_junction()
DCERPC code can't be smb2 specific!
I'm not sure if 'true' is the correct value here, but at least
it matches the old behavior and the tcp and smb1 cases.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed May 23 21:56:05 CEST 2012 on sn-devel-104
-rw-r--r-- | source3/rpc_server/dfs/srv_dfs_nt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c index 0a9a7ccd62..e765f15a8d 100644 --- a/source3/rpc_server/dfs/srv_dfs_nt.c +++ b/source3/rpc_server/dfs/srv_dfs_nt.c @@ -361,8 +361,10 @@ WERROR _dfs_GetInfo(struct pipes_struct *p, struct dfs_GetInfo *r) return WERR_NOMEM; } - if(!create_junction(ctx, r->in.dfs_entry_path, - !smbd_server_conn->using_smb2, jn)) { + ret = create_junction(ctx, r->in.dfs_entry_path, + true, /* allow broken_path */ + jn); + if (!ret) { return WERR_DFS_NO_SUCH_SERVER; } |