diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-12-15 15:47:01 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-12-16 15:54:30 +1100 |
commit | 4a4d8e4b0fae1288cbdf6c8a95a2863c84676106 (patch) | |
tree | d2fa1d3058e65205dd00c0398dd977b1212e6d5d /libcli/security/dom_sid.h | |
parent | 94b149f3cb6c82834f83b73928f5b40e388eb6e5 (diff) | |
download | samba-4a4d8e4b0fae1288cbdf6c8a95a2863c84676106.tar.gz samba-4a4d8e4b0fae1288cbdf6c8a95a2863c84676106.tar.bz2 samba-4a4d8e4b0fae1288cbdf6c8a95a2863c84676106.zip |
libcli/security Add sid_blob_parse() to directly parse a binary SID blob
Diffstat (limited to 'libcli/security/dom_sid.h')
-rw-r--r-- | libcli/security/dom_sid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/security/dom_sid.h b/libcli/security/dom_sid.h index 3d1161fdc7..8d59b1824c 100644 --- a/libcli/security/dom_sid.h +++ b/libcli/security/dom_sid.h @@ -81,6 +81,7 @@ bool sid_split_rid(struct dom_sid *sid, uint32_t *rid); bool sid_peek_rid(const struct dom_sid *sid, uint32_t *rid); bool sid_peek_check_rid(const struct dom_sid *exp_dom_sid, const struct dom_sid *sid, uint32_t *rid); void sid_copy(struct dom_sid *dst, const struct dom_sid *src); +bool sid_blob_parse(DATA_BLOB in, struct dom_sid *sid); bool sid_parse(const char *inbuf, size_t len, struct dom_sid *sid); int sid_compare_domain(const struct dom_sid *sid1, const struct dom_sid *sid2); bool sid_equal(const struct dom_sid *sid1, const struct dom_sid *sid2); |