git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove more redundant lsa parsing functions.
[bbaumbach/samba-autobuild/.git]
/
source
/
rpc_parse
/
parse_sec.c
diff --git
a/source/rpc_parse/parse_sec.c
b/source/rpc_parse/parse_sec.c
index 36bd5825bd809ddb421530774bca7fa6857b3ab3..6ea128d3a49cf61c9ecc902ea7d54d889cd4a5fd 100644
(file)
--- a/
source/rpc_parse/parse_sec.c
+++ b/
source/rpc_parse/parse_sec.c
@@
-426,7
+426,7
@@
bool sec_io_desc_buf(const char *desc, SEC_DESC_BUF **ppsdb, prs_struct *ps, int
if(!prs_uint32 ("ptr ", ps, depth, &ptr))
return False;
- len =
sec_desc_size(psdb->sd
);
+ len =
ndr_size_security_descriptor(psdb->sd, 0
);
if(!prs_uint32_pre("len ", ps, depth, &len, &off_len))
return False;