Displaying 3 results from an estimated 3 matches for "switch_level".
Did you mean:
switch_leave
2001 Dec 20
2
Winbind on Solaris 2.6
...just the group/user
enumeration calls that appear to fail. Has anybody got any ideas whatsoever
- I think it has to be a problem on the NT PDC side as, according to the
debug log at level 10:
000018 samr_io_r_query_dispinfo
0018 total_size : 00000000
001c data_size : 00000000
0020 switch_level: 0001
0024 num_entries : 00000000
0028 ptr_entries : 00000000
002c status: c0000022
No entries are returned from the NetQueryDisplayInformation RPC...
Help!!
Dean
> -----Original Message-----
> From: Dean Ward
> Sent: 19 December 2001 15:21
> To: 'samba@lists.samba....
2006 Dec 15
1
Can't get user list in Win98se
...0008 data3: 0000
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint16(613)
000a data4: 0000
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint8s(729)
000c data5: 00 aa 81 45 64 59 00 00
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint16(613)
0014 switch_level: 0004
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0018 start_idx : 00000000
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
001c max_entries : 00007530
[2006/12/14 17:46:10, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0020 max_size : 0003e800
[2...
2003 Dec 01
0
No subject
...= q_u->max_size;
- ctr = (SAM_DISPINFO_CTR *)talloc(p->mem_ctx,sizeof(SAM_DISPINFO_CTR));
+ ctr = (SAM_DISPINFO_CTR *)talloc_zero(p->mem_ctx,sizeof(SAM_DISPINFO_CTR));
if (!ctr)
return NT_STATUS_NO_MEMORY;
+ ZERO_STRUCTP(ctr);
+
/* Now create reply structure */
switch (q_u->switch_level) {
case 0x1:
- if (!(ctr->sam.info1 = (SAM_DISPINFO_1 *)talloc(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_1))))
- return NT_STATUS_NO_MEMORY;
+ if (num_entries) {
+ if (!(ctr->sam.info1 = (SAM_DISPINFO_1 *)talloc_zero(p->mem_ctx,num_entries*sizeof(SAM_DISPINFO_1))))
+ return...