summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-11-06 09:58:35 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:38:08 +0100
commitde38d860e39585486e3ccbb42555196e319c7efd (patch)
tree7a1d097ce66ffa8e3c6d7f5968dd0adcfc6fa916 /src/util/util.h
parente16963fb913d6a5fc1c54154270ded129ac33962 (diff)
downloadsssd-de38d860e39585486e3ccbb42555196e319c7efd.tar.gz
sssd-de38d860e39585486e3ccbb42555196e319c7efd.tar.xz
sssd-de38d860e39585486e3ccbb42555196e319c7efd.zip
Add utility to handle Well-Known SIDs
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 8031039a3..c2499555b 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -616,4 +616,11 @@ errno_t sss_br_lock_file(int fd, size_t start, size_t len,
#define BUILD_WITH_PAC_RESPONDER false
#endif
+/* from well_known_sids.c */
+errno_t well_known_sid_to_name(const char *sid, const char **dom,
+ const char **name);
+
+errno_t name_to_well_known_sid(const char *dom, const char *name,
+ const char **sid);
+
#endif /* __SSSD_UTIL_H__ */