summaryrefslogtreecommitdiffstats
path: root/server/sbus
Commit message (Collapse)AuthorAgeFilesLines
* Lots of little nasty bugs fixed.Simo Sorce2009-01-091-4/+4
| | | | | | | I was finally able to get a getpwnam() request go through sssd, hit the remote ldap server and get the answer back with 'getent passwd foo' Yupiee!
* SBUS messages with no reply (or no immediate reply) would incorrectly report ↵Stephen Gallagher2009-01-061-3/+2
| | | | | | | | DBUS_HANDLER_NOT_YET_HANDLED. This would cause SBUS to report NOT_IMPLEMENTED to the calling function. The message_handler will now check the return code of the method call to determine which reply to send, instead of relying on the presence of a reply message.
* libevents renamed upstream to libteventSimo Sorce2008-12-223-3/+3
| | | | events.h -> tevent.h
* Modified sbus_server_new() to take a talloc memory context to useStephen Gallagher2008-12-152-3/+5
| | | | as a parent for the new server context object.
* Adding a parameter to the sbus_service_sbus_init function to allow passing ↵Stephen Gallagher2008-12-151-1/+5
| | | | in an sbus_conn_destructor_fn to the sbus_new_connection() function. Fixing minor warning about the usage of talloc_reference.
* Disconnected client SBUS connections would delete the master set of ↵Stephen Gallagher2008-12-153-4/+9
| | | | | | | | 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 indentation to follow rulesSimo Sorce2008-12-101-21/+29
|
* Fix dbus related memory leaksSimo Sorce2008-12-091-2/+4
|
* REmove test client. It's not needed anymore.Simo Sorce2008-11-241-214/+0
|
* Created a helper function sssd_service_sbus_init() to simplify creating the ↵Stephen Gallagher2008-11-201-0/+2
| | | | initial connection to the monitor service within the child services. It will create the D-BUS connection to the monitor and configure the service to handle the mandatory getIdentity and ping methods.
* Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2008-11-203-26/+27
| | | | | 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-193-7/+13
| | | | | | | 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.
* The default message handler will now pass both the method_ctx and theStephen Gallagher2008-11-173-21/+42
| | | | | | | sbus_conn_ctx to all message handling functions. This will allow connection-specific data to be passed in by taking advantage of the sbus_conn_set_private_data() function on the sbus_conn_ctx struct. Presently this private data is global to all methods of the connection context.
* Fix trailing spaces and some indentation issues.Simo Sorce2008-11-131-46/+57
|
* Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce2008-11-043-59/+77
| | | | connecting services Make it possible to configure timeouts and service ping times.
* Add support for dbus comunication in the nss serviceSimo Sorce2008-11-031-6/+5
| | | | | Add utility function in confdb Make all component fetch the dbus socket from the confdb
* Use a common interface file for all users of the internalSimo Sorce2008-11-031-10/+1
| | | | sbus service.
* Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher2008-11-036-0/+1260
header includes and makefiles.