summaryrefslogtreecommitdiffstats
path: root/server/sbus/sssd_dbus_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename server/ directory to src/Stephen Gallagher2010-02-181-444/+0
| | | | Also update BUILD.txt
* Remove unused btreemap codeStephen Gallagher2009-10-061-1/+0
| | | | | We have converted to using dhash in place of btreemap everywhere in the code.
* Revert "Use syslog for logging error conditions in SSSD"Stephen Gallagher2009-09-231-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.
* Use syslog for logging error conditions in SSSDJakub Hrozek2009-09-211-4/+4
| | | | | This is just a band-aid until ELAPI is fully functional and ready to use.
* Add copyright noticesJakub Hrozek2009-09-111-0/+21
| | | | Fixes: #138
* Correctly handle DbusWatch behavior.Simo Sorce2009-08-311-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.
* Minor fixesSimo Sorce2009-08-111-6/+12
|
* merge server and connection structuresSimo Sorce2009-08-101-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.
* Refactor some code around watches and timeoutsSimo Sorce2009-08-101-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.
* Implement SetUserAttributes in the InfoPipeStephen Gallagher2009-03-041-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.
* Implement GetUserAttributes in the InfoPipeStephen Gallagher2009-03-021-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.
* Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2009-02-261-4/+4
| | | | | | dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
* libevents renamed upstream to libteventSimo Sorce2008-12-221-1/+1
| | | | events.h -> tevent.h
* Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2008-11-201-1/+1
| | | | | To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
* Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher2008-11-031-0/+45
header includes and makefiles.