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:
parent
276436311f
commit
4a517b1433
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user