mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.
Guenther
This commit is contained in:
parent
44e63dbac9
commit
6c64551573
@ -74,11 +74,6 @@ SamrTestPrivateFunctionsUser
|
||||
|
||||
********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
/* these are from the old rpc_samr.h - they are needed while the merge
|
||||
is still going on */
|
||||
#define MAX_SAM_SIDS 15
|
||||
|
@ -316,6 +316,10 @@ import "misc.idl", "lsa.idl", "security.idl";
|
||||
|
||||
/************************/
|
||||
/* Function 0x0b */
|
||||
|
||||
const int MAX_SAM_ENTRIES_W2K = 0x400; /* 1024 */
|
||||
const int MAX_SAM_ENTRIES_W95 = 50;
|
||||
|
||||
NTSTATUS samr_EnumDomainGroups(
|
||||
[in] policy_handle *domain_handle,
|
||||
[in,out,ref] uint32 *resume_handle,
|
||||
|
@ -876,6 +876,8 @@ static NTSTATUS make_user_sam_entry_list(TALLOC_CTX *ctx,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
#define MAX_SAM_ENTRIES MAX_SAM_ENTRIES_W2K
|
||||
|
||||
/*******************************************************************
|
||||
_samr_EnumDomainUsers
|
||||
********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user