summaryrefslogtreecommitdiff
path: root/server/sbus/sssd_dbus_server.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-01allow compilation with older version of dbusSumit Bose1-0/+4
2009-02-26Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce1-17/+17
dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
2009-02-24Proper fix for memory handling problem.Simo Sorce1-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()
2008-12-22libevents renamed upstream to libteventSimo Sorce1-1/+1
events.h -> tevent.h
2008-12-15Modified sbus_server_new() to take a talloc memory context to useStephen Gallagher1-2/+3
as a parent for the new server context object.
2008-12-15Disconnected client SBUS connections would delete the master set of ↵Stephen Gallagher1-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.
2008-12-09Fix dbus related memory leaksSimo Sorce1-2/+4
2008-11-20Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce1-9/+9
To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
2008-11-19Add method to get a connection's private dataSimo Sorce1-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.
2008-11-04Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce1-39/+52
connecting services Make it possible to configure timeouts and service ping times.
2008-11-03Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher1-0/+316
header includes and makefiles.