summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-13 23:25:15 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-13 23:25:15 +0000
commitd262b8c3c79b2fbb0bf8c330d765f89210948a26 (patch)
tree0492a6fa66101b94f5dc368480c2ab027e4f8b77 /source4/include
parent8d79eb52f104d023122de3965592b4ea36adbb2b (diff)
downloadsamba-d262b8c3c79b2fbb0bf8c330d765f89210948a26.tar.gz
samba-d262b8c3c79b2fbb0bf8c330d765f89210948a26.tar.bz2
samba-d262b8c3c79b2fbb0bf8c330d765f89210948a26.zip
completed the linkage between the endpoint mapper and the dcerpc
server endpoints. We can now successfully setup listening endpoints on high ports, then use our endpoint mapper redirect incoming clients to the right port. also greatly cleanup the rpc over tcp session handling. (This used to be commit 593bc29bbe0e46d356d001160e8a3332a88f2fa8)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/context.h3
-rw-r--r--source4/include/local.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/include/context.h b/source4/include/context.h
index 9ec5d2d8dd..4cfe6c302b 100644
--- a/source4/include/context.h
+++ b/source4/include/context.h
@@ -341,6 +341,9 @@ struct model_ops {
/* function to terminate a connection */
void (*terminate_connection)(struct server_context *smb, const char *reason);
+
+ /* function to terminate a connection */
+ void (*terminate_rpc_connection)(void *r, const char *reason);
/* function to exit server */
void (*exit_server)(struct server_context *smb, const char *reason);
diff --git a/source4/include/local.h b/source4/include/local.h
index 57aac01ca8..81dd7e8b20 100644
--- a/source4/include/local.h
+++ b/source4/include/local.h
@@ -227,4 +227,8 @@
/* size of listen() backlog in smbd */
#define SMBD_LISTEN_BACKLOG 10
+/* the range of ports to try for decrpc over tcp endpoints */
+#define DCERPC_TCP_LOW_PORT 1024
+#define DCERPC_TCP_HIGH_PORT 1300
+
#endif