diff options
author | Günther Deschner <gd@samba.org> | 2008-10-15 17:10:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-15 17:11:27 +0200 |
commit | 65dc1eecebf664e26e87c70f9b5c8640d5535493 (patch) | |
tree | db4fbb7ff58434291fee509e83c232d453027ebd /source3/lib/netapi | |
parent | 911501bb8bd1964e1507e16744d15c0213e6f310 (diff) | |
download | samba-65dc1eecebf664e26e87c70f9b5c8640d5535493.tar.gz samba-65dc1eecebf664e26e87c70f9b5c8640d5535493.tar.bz2 samba-65dc1eecebf664e26e87c70f9b5c8640d5535493.zip |
s3: fix various samr callers.
Guenther
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/group.c | 2 | ||||
-rw-r--r-- | source3/lib/netapi/localgroup.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c index c3fccb4840..8dba4b8838 100644 --- a/source3/lib/netapi/group.c +++ b/source3/lib/netapi/group.c @@ -1224,7 +1224,7 @@ WERROR NetGroupEnum_r(struct libnetapi_ctx *ctx, } if (r->out.total_entries) { - *r->out.total_entries = domain_info->info2.num_groups; + *r->out.total_entries = domain_info->general.num_groups; } status = rpccli_samr_QueryDisplayInfo2(pipe_cli, diff --git a/source3/lib/netapi/localgroup.c b/source3/lib/netapi/localgroup.c index 25a3427bc1..5e738e1262 100644 --- a/source3/lib/netapi/localgroup.c +++ b/source3/lib/netapi/localgroup.c @@ -822,7 +822,7 @@ WERROR NetLocalGroupEnum_r(struct libnetapi_ctx *ctx, } if (r->out.total_entries) { - *r->out.total_entries += builtin_info->info2.num_aliases; + *r->out.total_entries += builtin_info->general.num_aliases; } status = rpccli_samr_QueryDomainInfo(pipe_cli, ctx, @@ -835,7 +835,7 @@ WERROR NetLocalGroupEnum_r(struct libnetapi_ctx *ctx, } if (r->out.total_entries) { - *r->out.total_entries += domain_info->info2.num_aliases; + *r->out.total_entries += domain_info->general.num_aliases; } status = rpccli_samr_EnumDomainAliases(pipe_cli, ctx, |