Displaying 2 results from an estimated 2 matches for "init_sam_dispinfo_3".
2009 Jan 30
4
User Manager for Domains -- Groups not showing
I have a network of about 100+ users with a Samba 3.0.25 server with
an LDAP backend that I configured myself (with some help). Recently I
have had to add about 300 more users to my system and now I need to
get a slightly less technical person to help me manage the accounts.
I've been happily using smbldap-tools all of this time, but when I
showed what I do to my hapless trainee, her eyes
2003 Dec 01
0
No subject
...o3 = (SAM_DISPINFO_3 *)talloc(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_3))))
- return NT_STATUS_NO_MEMORY;
+ if (num_entries) {
+ if (!(ctr->sam.info3 = (SAM_DISPINFO_3 *)talloc_zero(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_3))))
+ return NT_STATUS_NO_MEMORY;
+ }
disp_ret = init_sam_dispinfo_3(p->mem_ctx,ctr->sam.info3, &num_entries, &data_size, q_u->start_idx, grps);
if (disp_ret != NT_STATUS_NO_PROBLEMO)
return disp_ret;
break;
case 0x4:
- if (!(ctr->sam.info4 = (SAM_DISPINFO_4 *)talloc(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_4))))
- return NT_S...