From 120607cab1ccd5e10a26a7ef367c53e766ba4293 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 31 Dec 2001 22:37:51 +0000 Subject: Fixed enumeration of a large (<1500) users from a Samba PDC to a W2k member server. Firstly, use the same max enumeration size (0x400) as W2K uses, otherwise W2K won't ask for any more. Secondly, if a enumeration request with a non-zero offset comes in on a handle that hasn't started an enumeration, don't bitch about it (return NT_STATUS_UNSUCCESSFUL), just load the db on that handle and return at that offset. Jeremy. (This used to be commit 0b7da4a50ea02e28ab23e71de1e5f8b9194a9af3) --- source3/include/rpc_samr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/rpc_samr.h') diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index c0b908b348..36c9f69821 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -646,7 +646,7 @@ typedef struct r_samr_open_domain_info } SAMR_R_OPEN_DOMAIN; -#define MAX_SAM_ENTRIES 50 +#define MAX_SAM_ENTRIES 0x400 typedef struct samr_entry_info { -- cgit