1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4 winbind: Silence a "discards const" warning

This commit is contained in:
Kai Blin 2009-01-06 09:55:09 +01:00
parent ed5e1e5bd6
commit 75e2406564

View File

@ -402,7 +402,9 @@ static void init_domain_recv_samr(struct composite_context *ctx)
talloc_steal(state->domain->libnet_ctx->samr.pipe, state->domain->samr_binding);
state->domain->libnet_ctx->samr.access_mask = SEC_FLAG_MAXIMUM_ALLOWED;
state->domain->libnet_ctx->samr.name = state->domain->info->name;
state->domain->libnet_ctx->samr.sid = state->domain->info->sid;
state->domain->libnet_ctx->samr.sid = dom_sid_dup(
state->domain->libnet_ctx,
state->domain->info->sid);
composite_done(state->ctx);
}