diff options
author | Günther Deschner <gd@samba.org> | 2012-09-28 18:03:25 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-09-28 22:44:08 +0200 |
commit | e792a44c34e7767f21f8a3dbcdf41e8416349da7 (patch) | |
tree | 18c905cfae63a18c0da21c4bc47dea3bc059e335 /source3/rpc_server | |
parent | 8e53b9dd51b25c9830799e162f7b98286d844c96 (diff) | |
download | samba-e792a44c34e7767f21f8a3dbcdf41e8416349da7.tar.gz samba-e792a44c34e7767f21f8a3dbcdf41e8416349da7.tar.bz2 samba-e792a44c34e7767f21f8a3dbcdf41e8416349da7.zip |
s3-lsa: Flesh out the returned info in _lsa_EnumTrustedDomainsEx().
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/lsa/srv_lsa_nt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index fc403dfa86..f4dc4afd57 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -3940,9 +3940,14 @@ NTSTATUS _lsa_EnumTrustedDomainsEx(struct pipes_struct *p, } for (i=0; i<count; i++) { + init_lsa_StringLarge(&entries[i].domain_name, + domains[i]->domain_name); init_lsa_StringLarge(&entries[i].netbios_name, domains[i]->netbios_name); entries[i].sid = &domains[i]->security_identifier; + entries[i].trust_direction = domains[i]->trust_direction; + entries[i].trust_type = domains[i]->trust_type; + entries[i].trust_attributes = domains[i]->trust_attributes; } if (*r->in.resume_handle >= count) { |