Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add checks to make sure we are getting a user from the correct domain. | Simo Sorce | 2009-01-12 | 3 | -1/+72 | |
| | ||||||
* | Add placeholders for new configuration reload methods. The monitor will be ↵ | Stephen Gallagher | 2009-01-12 | 3 | -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 and | Simo Sorce | 2009-01-12 | 16 | -1429/+1344 | |
| | | | | rename everything with the sysdb suffix. | |||||
* | Adding parsing code to separate names from domains. | Stephen Gallagher | 2009-01-12 | 2 | -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 Sorce | 2009-01-11 | 7 | -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 backend | Simo Sorce | 2009-01-11 | 4 | -46/+230 | |
| | ||||||
* | Add caching behavior to nsssrv_cmd.c check cache first and | Simo Sorce | 2009-01-11 | 4 | -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 any | Simo Sorce | 2009-01-11 | 6 | -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 Gallagher | 2009-01-09 | 2 | -17/+24 | |
| | | | | btreemap_search_key. | |||||
* | If exec() returns in start_service (for example, if the command contains a ↵ | Stephen Gallagher | 2009-01-09 | 1 | -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 Gallagher | 2009-01-09 | 1 | -1/+11 | |
| | | | | of NULL would erroneously report ENOMEM. | |||||
* | Adding 'lib' to the server build directories. Fixes a build failure during ↵ | Stephen Gallagher | 2009-01-09 | 1 | -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 Sorce | 2009-01-09 | 8 | -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! | |||||
* | The code now successfully sends a getpwnam request to a remote LDAP server, | Simo Sorce | 2009-01-08 | 14 | -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 Sorce | 2009-01-07 | 1 | -0/+7 | |
| | | | | It is a bit inconsistent with the existing EXAMPLE, will fix later | |||||
* | Check size of incoming packets. | Simo Sorce | 2009-01-07 | 3 | -6/+15 | |
| | | | | This should fix a buffer overflow waiting to be exploited :/ | |||||
* | Add initial support to connect nss to the data provider as a frontend | Simo Sorce | 2009-01-06 | 3 | -0/+65 | |
| | ||||||
* | Add more infrastructure to data provider to dispatch requests (still untested). | Simo Sorce | 2009-01-06 | 8 | -173/+1064 | |
| | | | | | Add helper functions to connect to the data provider. Add some plumbing to the ldap provider (still untested). | |||||
* | fix typo | Simo Sorce | 2009-01-06 | 1 | -1/+1 | |
| | ||||||
* | fix typo | Simo Sorce | 2009-01-06 | 1 | -1/+1 | |
| | ||||||
* | SBUS messages with no reply (or no immediate reply) would incorrectly report ↵ | Stephen Gallagher | 2009-01-06 | 1 | -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 Sorce | 2009-01-06 | 3 | -16/+17 | |
| | ||||||
* | Fix dp client to connect to the right dbus pipe | Simo Sorce | 2009-01-05 | 4 | -21/+34 | |
| | ||||||
* | libevents renamed upstream to libtevent | Simo Sorce | 2008-12-22 | 10 | -13/+14 | |
| | | | | events.h -> tevent.h | |||||
* | Fix dependencies for LDB | Sumit Bose | 2008-12-15 | 2 | -2/+2 | |
| | ||||||
* | Modified sbus_server_new() to take a talloc memory context to use | Stephen Gallagher | 2008-12-15 | 4 | -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 Gallagher | 2008-12-15 | 6 | -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 Gallagher | 2008-12-15 | 5 | -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_ldap | Simo Sorce | 2008-12-10 | 5 | -11/+196 | |
| | | | | :-) | |||||
* | Fix indentation to follow rules | Simo Sorce | 2008-12-10 | 1 | -21/+29 | |
| | ||||||
* | Convert leading tabs to 4 spaces | Simo Sorce | 2008-12-10 | 2 | -56/+56 | |
| | ||||||
* | Fix dbus related memory leaks | Simo Sorce | 2008-12-09 | 3 | -15/+29 | |
| | ||||||
* | Change data provider into a hub, where backends (ldap, nis, ipa providers) | Simo Sorce | 2008-12-08 | 10 | -186/+824 | |
| | | | | and frontends (pam, nss, ... modules) can connect to. | |||||
* | Make a binary out of each major sssd component instead of | Simo Sorce | 2008-11-25 | 9 | -136/+223 | |
| | | | | using the same binary to fork off all services. | |||||
* | Move all server helpers in util/server.c | Simo Sorce | 2008-11-25 | 2 | -168/+130 | |
| | ||||||
* | Remove the service stuff that we stopped using when we moved to | Simo Sorce | 2008-11-25 | 10 | -436/+3 | |
| | | | | the forl/exec model | |||||
* | REmove test client. It's not needed anymore. | Simo Sorce | 2008-11-24 | 3 | -220/+2 | |
| | ||||||
* | point PIPE_PATH at /var/lib/sss/pipes, not just the private path so that the | Simo Sorce | 2008-11-24 | 5 | -5/+17 | |
| | | | | same config option can be used for the nss service | |||||
* | Replacing hard-coded paths with configure script substitutions. | Stephen Gallagher | 2008-11-24 | 12 | -33/+156 | |
| | | | | Changing the default SBUS locations to be configure script parameters | |||||
* | change structure name | Simo Sorce | 2008-11-24 | 2 | -7/+13 | |
| | ||||||
* | Fix indentation | Simo Sorce | 2008-11-24 | 3 | -14/+14 | |
| | ||||||
* | Update example config | Simo Sorce | 2008-11-21 | 1 | -0/+2 | |
| | ||||||
* | Created a helper function sssd_service_sbus_init() to simplify creating the ↵ | Stephen Gallagher | 2008-11-20 | 8 | -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 services | Simo Sorce | 2008-11-20 | 2 | -11/+122 | |
| | ||||||
* | Remove unused code and fix message handlers in dp | Simo Sorce | 2008-11-20 | 2 | -49/+20 | |
| | ||||||
* | Update config example with data provider | Simo Sorce | 2008-11-20 | 1 | -0/+5 | |
| | ||||||
* | Start conversion from a fork() and live to a fork()/exec() model. | Simo Sorce | 2008-11-20 | 15 | -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 Sorce | 2008-11-19 | 7 | -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 data | Simo Sorce | 2008-11-19 | 3 | -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 file | Simo Sorce | 2008-11-19 | 3 | -2/+3 | |
| |