mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0
This commit is contained in:
parent
e4be82e4e2
commit
481a8a8aa9
@ -62,7 +62,7 @@ NTSTATUS cli_ds_getprimarydominfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
|
||||
ctr->basic = talloc(mem_ctx, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC));
|
||||
if (!ctr->basic)
|
||||
goto done;
|
||||
memcpy(ctr->basic, &r.info.basic, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC));
|
||||
memcpy(ctr->basic, r.info.basic, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC));
|
||||
}
|
||||
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user