summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-09-28 18:03:25 +0200
committerGünther Deschner <gd@samba.org>2012-09-28 22:44:08 +0200
commite792a44c34e7767f21f8a3dbcdf41e8416349da7 (patch)
tree18c905cfae63a18c0da21c4bc47dea3bc059e335 /source3
parent8e53b9dd51b25c9830799e162f7b98286d844c96 (diff)
downloadsamba-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')
-rw-r--r--source3/rpc_server/lsa/srv_lsa_nt.c5
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) {