1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-01 16:23:49 +03:00

- corrected some lsa idl

- updated lsa parse code from pidl
This commit is contained in:
Andrew Tridgell
-
parent 96e269fefe
commit 3983b2aee7
11 changed files with 494 additions and 171 deletions

View File

@@ -78,7 +78,11 @@ NTSTATUS smb_raw_query_secdesc_recv(struct cli_request *req,
return NT_STATUS_INVALID_PARAMETER;
}
status = ndr_pull_security_descriptor(ndr, &query->out.sd);
query->out.sd = talloc(mem_ctx, sizeof(query->out.sd));
if (!query->out.sd) {
return NT_STATUS_NO_MEMORY;
}
status = ndr_pull_security_descriptor(ndr, query->out.sd);
return NT_STATUS_OK;
}