summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-21 17:40:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:23 -0500
commita9081b527b33d536ca36d61ad2f7f34a6e6e69e5 (patch)
treee4c2dd88bb9e0b65aea31e38bca7a86ae4d06c51 /source4/ntvfs
parentf30a08813cbb9b7c50625ad3c2d8476a82e65d42 (diff)
downloadsamba-a9081b527b33d536ca36d61ad2f7f34a6e6e69e5.tar.gz
samba-a9081b527b33d536ca36d61ad2f7f34a6e6e69e5.tar.bz2
samba-a9081b527b33d536ca36d61ad2f7f34a6e6e69e5.zip
r3118: Eliminate struct dcesrv_ep_description and replace it with
struct dcerpc_binding. (This used to be commit 2046e14cf8d010d4e715124859df2c1c3c782266)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index 8b1c9d2d8d..dc50f1671e 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -176,7 +176,7 @@ static NTSTATUS ipc_open_generic(struct ntvfs_module_context *ntvfs,
{
struct pipe_state *p;
NTSTATUS status;
- struct dcesrv_ep_description ep_description;
+ struct dcerpc_binding ep_description;
struct auth_session_info *session_info = NULL;
struct ipc_private *private = ntvfs->private_data;
int fnum;
@@ -211,8 +211,10 @@ static NTSTATUS ipc_open_generic(struct ntvfs_module_context *ntvfs,
will need to do that once the credentials infrastructure is
finalised for Samba4
*/
- ep_description.type = NCACN_NP;
- ep_description.info.smb_pipe = p->pipe_name;
+ ep_description.transport = NCACN_NP;
+ ep_description.options = talloc_array_p(req, char *, 2);
+ ep_description.options[0] = p->pipe_name;
+ ep_description.options[1] = NULL;
/* tell the RPC layer the session_info */
if (req->session) {