summaryrefslogtreecommitdiff
path: root/server/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
AgeCommit message (Collapse)AuthorFilesLines
2009-03-09Implement SetGroupGID in the InfoPipeStephen Gallagher1-1/+1
2009-03-09Implement AddGroupMembers and RemoveGroupMembers in the InfoPipeStephen Gallagher1-8/+9
2009-03-06Implement CreateUser in InfoPipeStephen Gallagher1-5/+3
Changed the order of the arguments to CreateUser in the Introspection XML to match the other functions (domain belongs second on the list) A few other minor fixes as well: Fixed a typo in SYSDB_GETCACHED_FILTER and sysdb_transaction_end(). Added missing error handling in infp_do_user_set_uid().
2009-03-05Adding support for SetUserUID to the InfoPipeStephen Gallagher1-1/+1
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.
2009-03-04Implement SetUserAttributes in the InfoPipeStephen Gallagher1-1/+1
SetUserAttributes is now available for use in the Infopipe. I also reorganized a few of the internal InfoPipe objects to reduce code duplication. One very simple test is included in this checkin to validate that the parser is working.
2009-03-02Implement GetUserAttributes in the InfoPipeStephen Gallagher1-2/+3
This patch adds support for requesting user data in the sysdb via the InfoPipe. It currently has support for reading defined entries of integral, floating-point or string types. Tasks remaining: 1) Implement call to the provider when cache is out of date 2) Support byte arrays for userpic and similar I modified sysdb_search_ctx in sysdb_search.c to accept an array of attributes to pass into the LDB search. I also made one additional related fix: the btreemap now sorts in the correct order. Previously I had accidentally transposed the two values for sorting, so the map would always have been in exact reverse order.
2009-02-24Adding support for CheckPermissions to InfoPipe.Stephen Gallagher1-1/+1
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.
2009-02-23Attach the InfoPipe to the D-BUS system bus. InfoPipe is now capable of ↵Stephen Gallagher1-0/+275
listening for requests to org.freeipa.sssd.infopipe I made the sbus_add_connection function public so that I could use it for system bus connections. Adding initial framework for the InfoPipe Updating sysdb tests for the refactored sysdb methods.