summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_domain.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-24 06:02:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:17 -0500
commit4a517b14331a8e3f4e22936470a9dfb771a7d48c (patch)
tree6b72933c03c87253d0fe0d3f0585a03eda596141 /source4/libnet/libnet_domain.c
parent276436311fcae92609116732d5d7e864bedbb886 (diff)
downloadsamba-4a517b14331a8e3f4e22936470a9dfb771a7d48c.tar.gz
samba-4a517b14331a8e3f4e22936470a9dfb771a7d48c.tar.bz2
samba-4a517b14331a8e3f4e22936470a9dfb771a7d48c.zip
r24011: Keep the connect handle around in libnet, in case we want it.
Andrew Bartlett (This used to be commit e6ccdb6cea267b992d1b586757f0b84afbc5e45f)
Diffstat (limited to 'source4/libnet/libnet_domain.c')
-rw-r--r--source4/libnet/libnet_domain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_domain.c b/source4/libnet/libnet_domain.c
index d2be697055..0b28093949 100644
--- a/source4/libnet/libnet_domain.c
+++ b/source4/libnet/libnet_domain.c
@@ -359,6 +359,7 @@ NTSTATUS libnet_DomainOpenSamr_recv(struct composite_context *c, struct libnet_c
/* store the resulting handle and related data for use by other
libnet functions */
+ ctx->samr.connect_handle = s->connect_handle;
ctx->samr.handle = s->domain_handle;
ctx->samr.name = talloc_steal(ctx, s->domain_name.string);
ctx->samr.access_mask = s->access_mask;