summaryrefslogtreecommitdiff
path: root/server/monitor.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-07Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.Stephen Gallagher1-4/+4
Changed the "section" feature of confdb.c to use '/' as a delimiter instead of '.', because this conflicted with the ability to use dots in domain names.
2008-11-05Set floor to ping time or the monitor will get crazy trying to pingSimo Sorce1-1/+7
children thousands of times per second.
2008-11-04Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce1-90/+410
connecting services Make it possible to configure timeouts and service ping times.
2008-11-03Add support for dbus comunication in the nss serviceSimo Sorce1-4/+9
Add utility function in confdb Make all component fetch the dbus socket from the confdb
2008-11-03Use a common interface file for all users of the internalSimo Sorce1-5/+1
sbus service.
2008-11-03Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher1-1/+1
header includes and makefiles.
2008-11-03Refactoring dbus code. Also corrected one talloc allocation mistake for ↵Stephen Gallagher1-11/+11
sbus_dispatch.
2008-11-03Moved method handling into sssd_dbus_connection.c. Added support for ↵Stephen Gallagher1-6/+103
handling multiple D-BUS paths in a connection. Added support for per-connection method setup. Added support for per-connection specialized destructors. Added mandatory getIdentity call for all services connecting to the monitor. If they do not present an identity (expose the getIdentity method and respond with name and version), they are dropped immediately. Other minor fixes.
2008-11-03Cleaning up improper whitespaceStephen Gallagher1-1/+1
2008-11-03Fixed segfault issue when remote connection is lost.Stephen Gallagher1-8/+8
2008-11-03Initial memory cleanup workStephen Gallagher1-1/+4
2008-10-27D-BUS integration style changes.Simo Sorce1-96/+71
Rework interfaces a bit to simplify and uniform function names so that they use a well defined namespace (sssd_*). Simplify headers file, split them into a private and a public one only. Make static all file private functions. Rename sssd_dbus_client.c to sssd_dbus_connection.c to reflect it's function, as it is is used by both a server and a client. Introduce a function table to know where to dipatch messages. Fix coding style issues, and start pointing out where clean-up fucntions are missing.
2008-10-24Integrate D-BUS support for use as IPC between parts.Stephen Gallagher1-6/+102
Integrates DBUS with the event system so that it is asynchronous.
2008-10-21Make return the pid when new process are started.Simo Sorce1-106/+100
Monitor each service and restart it conditionally if it fails. These monitoring is extremely simple at this moment and just uses waitpid() to check if the client is alive, there is no active probing, that will require dbus. Make nsssrv.c read the sss pipe config option for the config db.
2008-10-04Initital server code.Simo Sorce1-0/+168
Includes test monitor task.