The Samba-Bugzilla – Attachment 4244 Details for
Bug 6372
usrmgr only shows 1024 groups and aliases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.3
bug-6372-patch-3-3 (text/plain), 1.34 KB, created by
Guenther Deschner
on 2009-06-05 05:57:21 UTC
(
hide
)
Description:
patch for 3.3
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-06-05 05:57:21 UTC
Size:
1.34 KB
patch
obsolete
>From 352439693807fe517abdccbf03abb8ad7943b96e Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Mon, 25 May 2009 14:05:18 +0200 >Subject: [PATCH] s3-samr: Fix Bug #6372, usermanager only displaying 1024 groups and aliases. > >This is now also verified with the RPC-SAMR-LARGE-DC test. > >Guenther >(cherry picked from commit fca7dce1a908570e463ddcbd663955fcafd1d843) >--- > source/rpc_server/srv_samr_nt.c | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > >diff --git a/source/rpc_server/srv_samr_nt.c b/source/rpc_server/srv_samr_nt.c >index ec62662..05e62fb 100644 >--- a/source/rpc_server/srv_samr_nt.c >+++ b/source/rpc_server/srv_samr_nt.c >@@ -1165,6 +1165,12 @@ NTSTATUS _samr_EnumDomainGroups(pipes_struct *p, > make_group_sam_entry_list(p->mem_ctx, &samr_entries, > num_groups, groups); > >+ if (MAX_SAM_ENTRIES <= num_groups) { >+ status = STATUS_MORE_ENTRIES; >+ } else { >+ status = NT_STATUS_OK; >+ } >+ > samr_array->count = num_groups; > samr_array->entries = samr_entries; > >@@ -1233,6 +1239,12 @@ NTSTATUS _samr_EnumDomainAliases(pipes_struct *p, > > DEBUG(5,("_samr_EnumDomainAliases: %d\n", __LINE__)); > >+ if (MAX_SAM_ENTRIES <= num_aliases) { >+ status = STATUS_MORE_ENTRIES; >+ } else { >+ status = NT_STATUS_OK; >+ } >+ > samr_array->count = num_aliases; > samr_array->entries = samr_entries; > >-- >1.6.0.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6372
: 4244 |
4245