Guenther
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@24711
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
loop_count = 0;
do {
- TALLOC_CTX *ctx2;
uint32 num_dom_users, j;
uint32 max_entries, max_size;
SAM_DISPINFO_CTR ctr;
ZERO_STRUCT( ctr );
ZERO_STRUCT( info1 );
ctr.sam.info1 = &info1;
-
- if (!(ctx2 = talloc_init("winbindd enum_users")))
- return NT_STATUS_NO_MEMORY;
/* this next bit is copied from net_user_list_internal() */
*num_entries);
if (!(*info)) {
- talloc_destroy(ctx2);
return NT_STATUS_NO_MEMORY;
}
DOMAIN_GROUP_RID_USERS);
}
- talloc_destroy(ctx2);
-
} while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
return result;