1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r24011: Keep the connect handle around in libnet, in case we want it.

Andrew Bartlett
(This used to be commit e6ccdb6cea)
This commit is contained in:
Andrew Bartlett 2007-07-24 06:02:32 +00:00 committed by Gerald (Jerry) Carter
parent 276436311f
commit 4a517b1433
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ struct libnet_context {
const char *name;
uint32_t access_mask;
struct policy_handle handle;
struct policy_handle connect_handle;
int buf_size;
} samr;

View File

@ -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;