From c14486feb47672a3562989ddb00653f58357e368 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 24 Feb 2009 12:02:05 -0500 Subject: Adding support for CheckPermissions to InfoPipe. CheckPermissions will currently return unrestricted access to the root user, and no access to any other user. Once we decide on an ACL mechanism, this will be easy to change. I have also added very basic tests for the Introspect and CheckPermissions methods. --- server/util/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/util/util.h') diff --git a/server/util/util.h b/server/util/util.h index 1c3fa2e7..7388febd 100644 --- a/server/util/util.h +++ b/server/util/util.h @@ -65,4 +65,7 @@ TALLOC_CTX *sssd_mem_takeover(TALLOC_CTX *mem_ctx, void *ptr, int (*destructor)(void **)); +/* from usertools.c */ +char *get_username_from_uid(TALLOC_CTX *mem_ctx, uid_t uid); + #endif /* __SSSD_UTIL_H__ */ -- cgit