summaryrefslogtreecommitdiff
path: root/server/sbus/sssd_dbus_common.c
AgeCommit message (Collapse)AuthorFilesLines
2009-10-06Remove unused btreemap codeStephen Gallagher1-1/+0
We have converted to using dhash in place of btreemap everywhere in the code.
2009-09-23Revert "Use syslog for logging error conditions in SSSD"Stephen Gallagher1-4/+4
This reverts commit 8c50bd085c0efe5fde354deee2c8118887aae29d. Amended: commit 1016af2b1b97ad4290ccce8fa462cc7e3c191b2e also made use of the SYSLOG_ERROR() macro, so those portions of that code also needed to be reverted.
2009-09-21Use syslog for logging error conditions in SSSDJakub Hrozek1-4/+4
This is just a band-aid until ELAPI is fully functional and ready to use.
2009-09-11Add copyright noticesJakub Hrozek1-0/+21
Fixes: #138
2009-08-31Correctly handle DbusWatch behavior.Simo Sorce1-36/+113
It seems like DBUS always adds 2 watches for the same fd. One is for reading and the other is for writing. DBUS then keeps disabling one and enabling the other, depending on whether it is interested in reading or writing from/to the file descriptor.
2009-08-11Minor fixesSimo Sorce1-6/+12
2009-08-10merge server and connection structuresSimo Sorce1-16/+15
This reduce code duplication as it allows to use one set of watch and timeout functions, and at the same time also allow not to use a secondary structure just to unify these functions.
2009-08-10Refactor some code around watches and timeoutsSimo Sorce1-16/+248
Watches and Timeouts are now unified under one implementation that covers both dbus server and connections. In watches do not keep removing and adding file events simply toggle the appropriate flags. Also streamline some memory management within both timeout and watch related functions, checking allocations and freeing the whole context not just the events.
2009-03-04Implement SetUserAttributes in the InfoPipeStephen Gallagher1-0/+36
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-0/+29
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-26Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce1-4/+4
dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
2008-12-22libevents renamed upstream to libteventSimo Sorce1-1/+1
events.h -> tevent.h
2008-11-20Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce1-1/+1
To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
2008-11-03Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher1-0/+45
header includes and makefiles.