diff options
author | Günther Deschner <gd@samba.org> | 2008-12-06 01:44:46 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-01-06 16:02:12 +0100 |
commit | 20ba0a947a284d491871ef91a81b602cb97a96dd (patch) | |
tree | c4d67387d7293b97440fd05ff9bbb94a6d5d0e7a /source3/rpc_server | |
parent | 0b26f84542dd61bb4af4843d46421fe16ecc70e9 (diff) | |
download | samba-20ba0a947a284d491871ef91a81b602cb97a96dd.tar.gz samba-20ba0a947a284d491871ef91a81b602cb97a96dd.tar.bz2 samba-20ba0a947a284d491871ef91a81b602cb97a96dd.zip |
s3-samr: avoid all init_samr_alias* functions.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index b06bd58d2d..afaf564419 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -1763,14 +1763,12 @@ NTSTATUS _samr_QueryAliasInfo(pipes_struct *p, switch (r->in.level) { case ALIASINFOALL: - init_samr_alias_info1(&alias_info->all, - alias_name, - 1, - alias_description); + alias_info->all.name.string = alias_name; + alias_info->all.num_members = 1; /* ??? */ + alias_info->all.description.string = alias_description; break; case ALIASINFODESCRIPTION: - init_samr_alias_info3(&alias_info->description, - alias_description); + alias_info->description.string = alias_description; break; default: return NT_STATUS_INVALID_INFO_CLASS; |