summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-07 02:57:58 +0100
committerGünther Deschner <gd@samba.org>2008-11-10 21:46:30 +0100
commitd4d9a73ad1e5561a7a19e0c226936d1b21de60cb (patch)
treee10c41a0b3dba213139aa73b7a4e3ad795973188 /source4/rpc_server/samr
parentbb1d7684d2d2b0ebf11acb267de1885f79d05a5e (diff)
downloadsamba-d4d9a73ad1e5561a7a19e0c226936d1b21de60cb.tar.gz
samba-d4d9a73ad1e5561a7a19e0c226936d1b21de60cb.tar.bz2
samba-d4d9a73ad1e5561a7a19e0c226936d1b21de60cb.zip
s4-samr: merge samr_EnumDomains from s3 idl. (fixme: python)
Guenther
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 106767c8ae..c91e66a55b 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -344,8 +344,8 @@ static NTSTATUS dcesrv_samr_EnumDomains(struct dcesrv_call_state *dce_call, TALL
struct ldb_dn *partitions_basedn;
*r->out.resume_handle = 0;
- r->out.sam = NULL;
- r->out.num_entries = 0;
+ *r->out.sam = NULL;
+ *r->out.num_entries = 0;
DCESRV_PULL_HANDLE(h, r->in.connect_handle, SAMR_HANDLE_CONNECT);
@@ -401,9 +401,9 @@ static NTSTATUS dcesrv_samr_EnumDomains(struct dcesrv_call_state *dce_call, TALL
}
}
- r->out.sam = array;
- r->out.num_entries = i;
- array->count = r->out.num_entries;
+ *r->out.sam = array;
+ *r->out.num_entries = i;
+ array->count = *r->out.num_entries;
return NT_STATUS_OK;
}