summaryrefslogtreecommitdiffstats
path: root/server/sbus/sssd_dbus_server.c
Commit message (Collapse)AuthorAgeFilesLines
* Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2009-02-261-17/+17
| | | | | | dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
* Proper fix for memory handling problem.Simo Sorce2009-02-241-0/+1
| | | | | | | | | | sbus_message_handler is not responsible anymore for sending back data in any case. Transfer this responsibility to the handler function called. This way both synchronous and asynchronous funstions use the interface the same way and can properly free memory referenced by the reply after the send buffer has been filled in and all copies are done in sbus_conn_send_reply()
* libevents renamed upstream to libteventSimo Sorce2008-12-221-1/+1
| | | | events.h -> tevent.h
* Modified sbus_server_new() to take a talloc memory context to useStephen Gallagher2008-12-151-2/+3
| | | | as a parent for the new server context object.
* Disconnected client SBUS connections would delete the master set of ↵Stephen Gallagher2008-12-151-2/+5
| | | | | | | | sbus_method_ctx entries, meaning that the next connection to attempt to disconnect would receive a segmentation fault also trying to delete them. They are now talloc_reference()-ed to their connection context and talloc_unlink()-ed upon deletion. I have also modified the sbus_new_server() call to take a reference to an sbus_srv_ctx object as a return argument, so that the calling function can keep track of the SBUS server context if it so chooses.
* Fix dbus related memory leaksSimo Sorce2008-12-091-2/+4
|
* Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2008-11-201-9/+9
| | | | | To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
* Add method to get a connection's private dataSimo Sorce2008-11-191-7/+7
| | | | | | | Fix memory hierarchy, set the destructor on the server context so that it is called before any memory attached to it is freed. Before this change a talloc_free() on the event context would end in a double free and and an abort() inside talloc.
* Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce2008-11-041-39/+52
| | | | connecting services Make it possible to configure timeouts and service ping times.
* Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher2008-11-031-0/+316
header includes and makefiles.