diff options
author | Gerald Carter <jerry@samba.org> | 2005-05-03 14:01:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:46 -0500 |
commit | 28824fb1971afd398739723ee7c65427bd086d4b (patch) | |
tree | 3dedbd28a94008095e69cac3be1cd147e56d88c8 /source3/utils | |
parent | 7b9d6ac23e1a7d8136fffd2e3977b09a815da65a (diff) | |
download | samba-28824fb1971afd398739723ee7c65427bd086d4b.tar.gz samba-28824fb1971afd398739723ee7c65427bd086d4b.tar.bz2 samba-28824fb1971afd398739723ee7c65427bd086d4b.zip |
r6601: fixing query and set alias info calls (level 1 from the
MMC manage computer plugin.
(This used to be commit c43c1ec80cb52569ccabcdf95e4004386ecb29d6)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 6e884c24df..e982186835 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1459,8 +1459,7 @@ rpc_alias_add_internals(const DOM_SID *domain_sid, const char *domain_name, /* We've got a comment to set */ - alias_info.switch_value1 = 3; - alias_info.switch_value2 = 3; + alias_info.level = 3; init_samr_alias_info3(&alias_info.alias.info3, opt_comment); result = cli_samr_set_aliasinfo(cli, mem_ctx, &alias_pol, &alias_info); @@ -2026,7 +2025,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name, (NT_STATUS_IS_OK(cli_samr_close(cli, mem_ctx, &alias_pol)))) { description = unistr2_tdup(mem_ctx, - &ctr.alias.info3.uni_acct_desc); + ctr.alias.info3.description.string); } } @@ -2081,7 +2080,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name, (NT_STATUS_IS_OK(cli_samr_close(cli, mem_ctx, &alias_pol)))) { description = unistr2_tdup(mem_ctx, - &ctr.alias.info3.uni_acct_desc); + ctr.alias.info3.description.string); } } |