X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=source3%2Frpc_server%2Fdfs%2Fsrv_dfs_nt.c;h=b19e4f5a53f6714f5c4e09acd5afe00edaff1fd8;hb=8517bb109c886fcc0b281dd715934138075bab1b;hp=55cd045abd0fa8da00aa5f8cbd51b926b7407c22;hpb=a85d257c1ec3a4505f2a4fcbec0f7e1f60dbff91;p=amitay%2Fsamba.git diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c index 55cd045abd0..b19e4f5a53f 100644 --- a/source3/rpc_server/dfs/srv_dfs_nt.c +++ b/source3/rpc_server/dfs/srv_dfs_nt.c @@ -75,7 +75,9 @@ WERROR _dfs_Add(struct pipes_struct *p, struct dfs_Add *r) } /* The following call can change the cwd. */ - status = get_referred_path(ctx, r->in.path, + status = get_referred_path(ctx, + p->session_info, + r->in.path, p->remote_address, p->local_address, true, /*allow_broken_path */ @@ -147,7 +149,9 @@ WERROR _dfs_Remove(struct pipes_struct *p, struct dfs_Remove *r) r->in.dfs_entry_path, r->in.servername, r->in.sharename)); } - status = get_referred_path(ctx, r->in.dfs_entry_path, + status = get_referred_path(ctx, + p->session_info, + r->in.dfs_entry_path, p->remote_address, p->local_address, true, /*allow_broken_path */ @@ -379,7 +383,9 @@ WERROR _dfs_GetInfo(struct pipes_struct *p, struct dfs_GetInfo *r) } /* The following call can change the cwd. */ - status = get_referred_path(ctx, r->in.dfs_entry_path, + status = get_referred_path(ctx, + p->session_info, + r->in.dfs_entry_path, p->remote_address, p->local_address, true, /*allow_broken_path */