summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-02 07:27:33 +0000
committerJeremy Allison <jra@samba.org>2002-01-02 07:27:33 +0000
commit71f982c9f2f450d660406d6015ff9756bf317218 (patch)
tree2413460c23456053e84fd88156bf32b3140333f2 /source3/include
parent493c34b8f3de4b402d9496424e250faa4743e310 (diff)
downloadsamba-71f982c9f2f450d660406d6015ff9756bf317218.tar.gz
samba-71f982c9f2f450d660406d6015ff9756bf317218.tar.bz2
samba-71f982c9f2f450d660406d6015ff9756bf317218.zip
Make user enumeration work for w2k and win9x.
This means different return sizes depending on client bugs. This sucks :-(. Jeremy. (This used to be commit f6592628eb526c487069bb3fcd809aca930e668e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_samr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index 36c9f69821..59325ca88d 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -646,7 +646,10 @@ typedef struct r_samr_open_domain_info
} SAMR_R_OPEN_DOMAIN;
-#define MAX_SAM_ENTRIES 0x400
+#define MAX_SAM_ENTRIES_W2K 0x400
+#define MAX_SAM_ENTRIES_W95 50
+/* The following should be the greater of the preceeding two. */
+#define MAX_SAM_ENTRIES MAX_SAM_ENTRIES_W2K
typedef struct samr_entry_info
{