mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +03:00
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for consistency.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1d1a9c11ee
commit
ec32b22ed5
@@ -53,7 +53,7 @@ static NTSTATUS smblsa_connect(struct smbcli_state *cli)
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
lsa = talloc_p(cli, struct smblsa_state);
|
||||
lsa = talloc(cli, struct smblsa_state);
|
||||
if (lsa == NULL) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
@@ -217,7 +217,7 @@ NTSTATUS smblsa_lookup_sid(struct smbcli_state *cli,
|
||||
names.names = NULL;
|
||||
|
||||
sids.num_sids = 1;
|
||||
sids.sids = talloc_p(mem_ctx2, struct lsa_SidPtr);
|
||||
sids.sids = talloc(mem_ctx2, struct lsa_SidPtr);
|
||||
sids.sids[0].sid = sid;
|
||||
|
||||
r.in.handle = &cli->lsa->handle;
|
||||
|
||||
Reference in New Issue
Block a user