Volker Lendecke
28b237b2cc
Remove unused "sid_equal"
2011-08-17 12:30:08 +02:00
Volker Lendecke
d4c693df98
Add dom_sid_parse_endp
...
This returns a pointer to the first non-parsed character, along the lines of
strtoul for example.
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
70517477f8
Add dom_sid_string_buf
...
This prints into a fixed buffer with the same overflow semantics as snprintf
has: Return required string length, regardless of whether it fit or not.
2011-03-03 22:08:49 +01:00
Volker Lendecke
91a56b420a
libcli/security: Make del_sid_from_array take a uint32_t
...
This aligns it with add_sid_to_array
Signed-off-by: Michael Adam <obnox@samba.org>
2011-02-07 18:37:43 +01:00
Andrew Bartlett
4a4d8e4b0f
libcli/security Add sid_blob_parse() to directly parse a binary SID blob
2010-12-16 15:54:30 +11:00
Andrew Bartlett
f7ffc12e2d
libcli/security Use static SIDs rather than parsing from strings
...
This should make the security_token_is_*() calls a little faster.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
a879a4610d
libcli/auth Merge source4/libcli/security and util_sid.c into the common code
...
This should ensure we only have one copy of these core functions
in the tree.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Günther Deschner
4006160179
libcli: add dom_sid_compare_domain()
...
Guenther
2010-09-20 14:03:13 -07:00
Jelmer Vernooij
e9bba3e288
dom_sid.h: Include dependency security.h that provides the dom_sid struct.
2009-03-01 18:15:15 +01:00
Kai Blin
07aa05f678
shared: Move dom_sid_* utility functions to top level
2009-02-01 19:42:30 +01:00