summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fixing SEGFAULT caused by not completely purging watch data when removing a ↵Stephen Gallagher2008-11-031-0/+1
| | | | D-BUS watch from the event loop
* Initial memory cleanup workStephen Gallagher2008-11-038-10/+71
|
* D-BUS integration style changes.Simo Sorce2008-10-2712-501/+597
| | | | | | | | | | | | 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.
* Integrate D-BUS support for use as IPC between parts.Stephen Gallagher2008-10-2412-11/+923
| | | | Integrates DBUS with the event system so that it is asynchronous.
* Minor/Cosmetic fixesStephen Gallagher2008-10-241-1/+1
|
* Make return the pid when new process are started.Simo Sorce2008-10-2110-136/+162
| | | | | | | | 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.
* Add example ldifs to bootstrap the serverSimo Sorce2008-10-212-0/+62
|
* Start using the configuration backend in the main server too.Simo Sorce2008-10-201-7/+25
| | | | Now unless properly configured, no services are started by default.
* Add configuration database functions.Simo Sorce2008-10-209-132/+767
| | | | Convert nss responder to use the confdb
* add code for initgroups callsSimo Sorce2008-10-144-0/+206
|
* Fix error in parsing multiple groupsSimo Sorce2008-10-144-29/+346
| | | | | Revert to use 'cn' for group names Implement getgrent()
* Implement getgrgid()Simo Sorce2008-10-134-2/+62
|
* Implement getgrnam()Simo Sorce2008-10-124-14/+354
|
* Implement getpwent() supportSimo Sorce2008-10-095-77/+335
|
* Fix memory handling problem, stuff was allocated on the wrong memory context,Simo Sorce2008-10-091-7/+7
| | | | causing it to be freed ahead of time
* Use classic errno instead of inventing our own, it's broad enough fro atm.Simo Sorce2008-10-099-63/+65
|
* Add getpwuid supportSimo Sorce2008-10-083-8/+93
|
* Use a utility function (to be shared with getpwent)Simo Sorce2008-10-081-60/+75
|
* First retrieval of a user (getpwnam only) from an actual ldb fileSimo Sorce2008-10-0810-32/+362
|
* Fix build issues surrounding signal blocking and DEBUG macrosStephen Gallagher2008-10-073-0/+3
|
* We need replace.h here or __location__ cannot be foundSimo Sorce2008-10-071-0/+1
|
* Forgot to add debug.cSimo Sorce2008-10-071-0/+20
|
* Add primitive debugging capabilities.Simo Sorce2008-10-073-4/+16
| | | | | So far debug goes to stderr so sssd need to be run int interactive mode (-i option)
* First working daemon that responds only to a getpwnam() request with fake dataSimo Sorce2008-10-065-62/+215
|
* Add initial nss responder skeletonSimo Sorce2008-10-046-4/+494
|
* Make it possible to pass extra CFLAGS and LDFLAGS by passingSimo Sorce2008-10-041-1/+1
| | | | them on the command line before calling makefiles
* Initital server code.Simo Sorce2008-10-0429-0/+4880
Includes test monitor task.