summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Add more infrastructure to data provider to dispatch requests (still untested).Simo Sorce2009-01-068-173/+1064
| | | | | Add helper functions to connect to the data provider. Add some plumbing to the ldap provider (still untested).
* fix typoSimo Sorce2009-01-061-1/+1
|
* fix typoSimo Sorce2009-01-061-1/+1
|
* 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.
* Change cli_ctx to include nss_ctx, not just select members of it.Simo Sorce2009-01-063-16/+17
|
* Fix dp client to connect to the right dbus pipeSimo Sorce2009-01-054-21/+34
|
* libevents renamed upstream to libteventSimo Sorce2008-12-2210-13/+14
| | | | events.h -> tevent.h
* Fix dependencies for LDBSumit Bose2008-12-152-2/+2
|
* Modified sbus_server_new() to take a talloc memory context to useStephen Gallagher2008-12-154-5/+8
| | | | 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-156-7/+13
| | | | 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-155-13/+24
| | | | | | | | 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.
* Initial work on a test provider using the gross hack of dlopen()ing nss_ldapSimo Sorce2008-12-105-11/+196
| | | | :-)
* Fix indentation to follow rulesSimo Sorce2008-12-101-21/+29
|
* Convert leading tabs to 4 spacesSimo Sorce2008-12-102-56/+56
|
* Fix dbus related memory leaksSimo Sorce2008-12-093-15/+29
|
* Change data provider into a hub, where backends (ldap, nis, ipa providers)Simo Sorce2008-12-0810-186/+824
| | | | and frontends (pam, nss, ... modules) can connect to.
* Make a binary out of each major sssd component instead ofSimo Sorce2008-11-259-136/+223
| | | | using the same binary to fork off all services.
* Move all server helpers in util/server.cSimo Sorce2008-11-252-168/+130
|
* Remove the service stuff that we stopped using when we moved toSimo Sorce2008-11-2510-436/+3
| | | | the forl/exec model
* REmove test client. It's not needed anymore.Simo Sorce2008-11-243-220/+2
|
* point PIPE_PATH at /var/lib/sss/pipes, not just the private path so that theSimo Sorce2008-11-245-5/+17
| | | | same config option can be used for the nss service
* Replacing hard-coded paths with configure script substitutions.Stephen Gallagher2008-11-2412-33/+156
| | | | Changing the default SBUS locations to be configure script parameters
* change structure nameSimo Sorce2008-11-242-7/+13
|
* Fix indentationSimo Sorce2008-11-243-14/+14
|
* Update example configSimo Sorce2008-11-211-0/+2
|
* Created a helper function sssd_service_sbus_init() to simplify creating the ↵Stephen Gallagher2008-11-208-100/+168
| | | | 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.
* Make it possible to use an arbitrary command to start servicesSimo Sorce2008-11-202-11/+122
|
* Remove unused code and fix message handlers in dpSimo Sorce2008-11-202-49/+20
|
* Update config example with data providerSimo Sorce2008-11-201-0/+5
|
* Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2008-11-2015-122/+258
| | | | | To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
* Add some infrastructure code to add data providers.Simo Sorce2008-11-197-10/+529
| | | | | | This currently breacks the dameon because of a problem with destroying the monitor dbus server in the children after fork()
* 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.
* Move definition into the header fileSimo Sorce2008-11-193-2/+3
|
* btreemap.c and btreemap.h seem to be missing from an earlier commit. Adding ↵Stephen Gallagher2008-11-192-0/+207
| | | | them.
* The default message handler will now pass both the method_ctx and theStephen Gallagher2008-11-175-22/+44
| | | | | | | 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
|
* Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.Stephen Gallagher2008-11-078-10/+179
| | | | | | 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.
* Set floor to ping time or the monitor will get crazy trying to pingSimo Sorce2008-11-051-1/+7
| | | | children thousands of times per second.
* Update config.ldif exampleSimo Sorce2008-11-051-0/+6
|
* Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce2008-11-047-150/+506
| | | | connecting services Make it possible to configure timeouts and service ping times.
* Rename function, do not use other libraries namespaceSimo Sorce2008-11-042-9/+16
|
* Add some more service functionsSimo Sorce2008-11-042-0/+46
|
* Add support for dbus comunication in the nss serviceSimo Sorce2008-11-037-41/+197
| | | | | 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-034-22/+62
| | | | sbus service.
* Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher2008-11-038-12/+12
| | | | header includes and makefiles.
* Refactoring dbus code. Also corrected one talloc allocation mistake for ↵Stephen Gallagher2008-11-037-207/+205
| | | | sbus_dispatch.
* Moved method handling into sssd_dbus_connection.c. Added support for ↵Stephen Gallagher2008-11-038-173/+557
| | | | 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.
* Missed a file on the last commit. Resetting the dbus_server to use the ↵Stephen Gallagher2008-11-031-1/+1
| | | | common remove_watch code.
* Cleaning up improper whitespaceStephen Gallagher2008-11-035-25/+15
|
* Fixed segfault issue when remote connection is lost.Stephen Gallagher2008-11-035-9/+67
|