summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-09-21 08:38:10 +0200
committerStefan Metzmacher <metze@samba.org>2014-09-22 23:09:08 +0200
commit9e1313d2b6eced3f3d13fcf989f031c32e06aef0 (patch)
tree75346bbf6ee8a11f0d6e9b2d86f9a3e15746f0bd /source4
parent594d036afd78ae04b848607579707bcdced91ec3 (diff)
downloadsamba-9e1313d2b6eced3f3d13fcf989f031c32e06aef0.tar.gz
samba-9e1313d2b6eced3f3d13fcf989f031c32e06aef0.tar.xz
samba-9e1313d2b6eced3f3d13fcf989f031c32e06aef0.zip
s4:rpc_server: ignore ncacn_http endpoints for now
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/service_rpc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c
index 9ecfd6fd69..95f5e4244b 100644
--- a/source4/rpc_server/service_rpc.c
+++ b/source4/rpc_server/service_rpc.c
@@ -72,6 +72,16 @@ static void dcesrv_task_init(struct task_server *task)
}
for (e=dce_ctx->endpoint_list;e;e=e->next) {
+ enum dcerpc_transport_t transport =
+ dcerpc_binding_get_transport(e->ep_description);
+
+ if (transport == NCACN_HTTP) {
+ /*
+ * We don't support ncacn_http yet
+ */
+ continue;
+ }
+
status = dcesrv_add_ep(dce_ctx, task->lp_ctx, e, task->event_ctx, model_ops);
if (!NT_STATUS_IS_OK(status)) goto failed;
}