summaryrefslogtreecommitdiffstats
path: root/server/tests/infopipe-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused InfoPipe and PolicyKit codeStephen Gallagher2009-07-201-405/+0
|
* Remove references to FreeIPA from D-BUS interfacesStephen Gallagher2009-03-191-1/+1
| | | | | | Per discussion with the desktop team, using the org.freedesktop interface name will simplify adoption, as potential users won't feel like they're pulling in a FreeIPA dependency.
* Do not duplicate attribute names macros.Simo Sorce2009-03-091-1/+1
| | | | Also shorten names oh other user attributes.
* Implement SetUserAttributes in the InfoPipeStephen Gallagher2009-03-041-0/+83
| | | | | | | | | 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.
* Implement GetUserAttributes in the InfoPipeStephen Gallagher2009-03-021-2/+4
| | | | | | | | | | | | | | | | | | 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.
* Adding support for CheckPermissions to InfoPipe.Stephen Gallagher2009-02-241-0/+320
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.