summaryrefslogtreecommitdiffstats
path: root/server/infopipe/infopipe_private.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-03-05 12:39:29 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-03-05 13:52:18 -0500
commit1083065853c9d95137c620a2a1af0ad87c9dcf58 (patch)
tree3837b96ef95a0833220a0cce69c1ea75be724da7 /server/infopipe/infopipe_private.h
parent917979b52ceb2519be8b114ecb51d6a8e01fe0d7 (diff)
downloadsssd-1083065853c9d95137c620a2a1af0ad87c9dcf58.tar.gz
sssd-1083065853c9d95137c620a2a1af0ad87c9dcf58.tar.xz
sssd-1083065853c9d95137c620a2a1af0ad87c9dcf58.zip
Adding support for SetUserUID to the InfoPipe
The InfoPipe interface Set_YouReallyDoNotWantToUseThisFunction_UserUID1 is now available. I also fixed a memory leak in SetUserAttributes and modified the prototype for infp_get_permissions to make it more clear that the first argument is the caller's username, not the username being checked for permission.
Diffstat (limited to 'server/infopipe/infopipe_private.h')
-rw-r--r--server/infopipe/infopipe_private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/infopipe/infopipe_private.h b/server/infopipe/infopipe_private.h
index e6ec7c012..bd3e87338 100644
--- a/server/infopipe/infopipe_private.h
+++ b/server/infopipe/infopipe_private.h
@@ -72,13 +72,14 @@ enum infp_attribute_types {
INFP_ATTR_TYPE_KEYBOARD,
INFP_ATTR_TYPE_SESSION,
INFP_ATTR_TYPE_LAST_LOGIN,
- INFP_ATTR_TYPE_USERPIC
+ INFP_ATTR_TYPE_USERPIC,
+ INFP_ATTR_TYPE_USERID
};
int infp_get_attribute_type(const char *attribute);
int infp_get_user_attr_dbus_type(int attr_type, int *subtype);
-bool infp_get_permissions(const char *username,
+bool infp_get_permissions(const char *caller,
struct sss_domain_info *domain,
int object_type,
const char *instance,