summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-21 03:56:54 +0100
committerGünther Deschner <gd@samba.org>2008-03-21 04:16:21 +0100
commit1dc52e8fbf1d9e56ff7fdcd1c637e21e6b23e456 (patch)
tree20745e3d1509ebc92dd6dddbf62ddf1e7846250b /source3/rpc_server
parent286a6282e2151a0cbe995bd7046c5054db9c2d7f (diff)
downloadsamba-1dc52e8fbf1d9e56ff7fdcd1c637e21e6b23e456.tar.gz
samba-1dc52e8fbf1d9e56ff7fdcd1c637e21e6b23e456.tar.bz2
samba-1dc52e8fbf1d9e56ff7fdcd1c637e21e6b23e456.zip
Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.
Guenther (This used to be commit 4e36657275caa77bc9712fe627aeb6fe4aefc151)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index c8f21b76bb..adbe3f684b 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -29,6 +29,21 @@ extern const struct generic_mapping file_generic_mapping;
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
+#define MAX_SERVER_DISK_ENTRIES 15
+
+/***************************/
+
+/* oops - this is going to take up a *massive* amount of stack. */
+/* the UNISTR2s already have 1024 uint16 chars in them... */
+
+#define MAX_SESS_ENTRIES 32
+
+/***************************/
+
+/* oops - this is going to take up a *massive* amount of stack. */
+/* the UNISTR2s already have 1024 uint16 chars in them... */
+#define MAX_CONN_ENTRIES 32
+
/* Use for enumerating connections, pipes, & files */
struct file_enum_count {