summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Preliminary support for enabling InfoPipe to listen on the D-BUS system bus. ↵Stephen Gallagher2009-01-279-4/+183
| | | | It will connect and authenticate successfully (using the included D-BUS policy file installed in the correct /etc directory. Does not yet listen for requests.
* Add skeleton for PolicyKit back-endStephen Gallagher2009-01-275-1/+242
|
* Add skeleton for InfoPipe serviceStephen Gallagher2009-01-276-4/+243
|
* Automatically generate the config.ldb if it doesn't exist (i.e. First startup)Stephen Gallagher2009-01-274-10/+91
|
* Fix configure when libs are not in standard pathsSimo Sorce2009-01-271-0/+1
|
* Fixes to the makefile to get make install to work properlyStephen Gallagher2009-01-272-3/+11
|
* Refactoring the monitor code and SBUS utility functions.Stephen Gallagher2009-01-2719-174/+547
|
* Add code to make it easier to reconnect in case the serverSimo Sorce2009-01-147-33/+134
| | | | | is not available immediately or drops the dbus connection. First step is the nss connection to the data provider.
* Now that we have the domain name passed in, dispatch to the rightSimo Sorce2009-01-131-3/+9
| | | | domain when possible.
* Fix return, dbus would abort because we were passing values andSimo Sorce2009-01-132-3/+7
| | | | | not pointers to values. Check domain is never null (or dbus will abort).
* Ignore some more common stuffSimo Sorce2009-01-131-0/+9
|
* Monitor will now start services asynchronously. This means that forked ↵Stephen Gallagher2009-01-131-21/+57
| | | | services can no longer start before the monitor is running its mainloop. This avoids the race condition where the child services attempted to connect to the monitor SBUS before it was able to answer requests.
* Add checks to make sure we are getting a user from the correct domain.Simo Sorce2009-01-123-1/+72
|
* Add placeholders for new configuration reload methods. The monitor will be ↵Stephen Gallagher2009-01-123-0/+25
| | | | able to call the reloadConfig DBUS method on any or all of its children to force them to reread their configuration from the confdb.
* Regroup database rleated functions under db andSimo Sorce2009-01-1216-1429/+1344
| | | | rename everything with the sysdb suffix.
* Adding parsing code to separate names from domains.Stephen Gallagher2009-01-122-7/+51
| | | | | Currently, if an invalid domain was specified, it will result in EINVAL being returned.
* Use a unified base (temp. dc=sssd), for all domain including LOCAL.Simo Sorce2009-01-117-295/+273
| | | | | | | It makes no sense to have internal attribute names user configurable, remove that option and use macros internally. Also now always pass the domain name to all nss_ldb_* calls.
* Add support for getpwuid in proxy backendSimo Sorce2009-01-114-46/+230
|
* Add caching behavior to nsssrv_cmd.c check cache first andSimo Sorce2009-01-114-20/+82
| | | | dispatch to backends only if we have a cache miss.
* Turn ldap_provider.c into proxy.c and make it possible to load just anySimo Sorce2009-01-116-37/+70
| | | | libnss library through config directives on the domain object
* Minor change to btreemap to use an enum for the return codes of ↵Stephen Gallagher2009-01-092-17/+24
| | | | btreemap_search_key.
* If exec() returns in start_service (for example, if the command contains a ↵Stephen Gallagher2009-01-091-2/+10
| | | | typo and therefore doesn't exist), we cannot call exit() due to a bug in D-BUS. We will replace this with _exit() and also print out the nature of the error that caused exec() to return.
* Fix a bug in confdb_get_string where attempting to return a default string ↵Stephen Gallagher2009-01-091-1/+11
| | | | of NULL would erroneously report ENOMEM.
* Making a few minor build system fixes. "make realdistclean" was not removing ↵Stephen Gallagher2009-01-094-19/+4
| | | | all built files appropriately.
* Adding 'lib' to the server build directories. Fixes a build failure during ↵Stephen Gallagher2009-01-091-1/+1
| | | | the first attempt to build the SSSD from source. The build process did not create the appropriate output directories for the back-end providers, and therefore could not produce an output library into that directory.
* Lots of little nasty bugs fixed.Simo Sorce2009-01-098-42/+138
| | | | | | | 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!
* Add support to avoid loops in SSSD daemons. Any request to the sss clientSimo Sorce2009-01-081-0/+7
| | | | | is immediately returned back to avoi sssd_nss trying to call itsels again and again.
* The code now successfully sends a getpwnam request to a remote LDAP server,Simo Sorce2009-01-0814-171/+501
| | | | | | and caches the result in LDAP. Still chasing a bug that does not let NSS known that the BE was successful. This makes NSS timeout the client and not return any results yet.
* Add current test ldap provider configuration example.Simo Sorce2009-01-071-0/+7
| | | | It is a bit inconsistent with the existing EXAMPLE, will fix later
* Check size of incoming packets.Simo Sorce2009-01-073-6/+15
| | | | This should fix a buffer overflow waiting to be exploited :/
* Add initial support to connect nss to the data provider as a frontendSimo Sorce2009-01-063-0/+65
|
* Add ignore file so that .o/.a files won't botherSimo Sorce2009-01-061-0/+1
|
* 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
|
* We need to export while building when using shared-build or dependencies willSimo Sorce2009-01-051-1/+2
| | | | not be correctly found.
* libevents renamed upstream to libteventSimo Sorce2008-12-2210-13/+14
| | | | events.h -> tevent.h
* Add some build fixes on top of the talloc, tdb, tevent, ldb rebasesSimo Sorce2008-12-2210-347/+24
|
* Rebase ldb code with all changes in samba masterSimo Sorce2008-12-2240-9628/+3303
|
* rebase events to tevent and align to upstreamSimo Sorce2008-12-2237-3757/+341
|
* Rebase tdb code with all changes in samba masterSimo Sorce2008-12-2213-4717/+671
|
* Rebase talloc code with all changes in samba masterSimo Sorce2008-12-223-17/+131
|
* 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
| | | | :-)