Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-12 | Add syntaxes for member and memberof | Simo Sorce | 1 | -0/+8 | |
2009-02-12 | Fix copy&paste error | Simo Sorce | 1 | -1/+1 | |
2009-02-12 | Add indexes and attribute types for common attributes | Simo Sorce | 1 | -0/+18 | |
2009-02-12 | - make all functions supposed to get input in posix format | Simo Sorce | 4 | -315/+240 | |
use the same namespace (sysdb_posix_) - no need to explicitly start a transaction if only one operation is performed using a synchronous interface - split _add_remove_ functions into separate functions, don't let ldap madness creep into out interfaces | |||||
2009-02-12 | Added sysdb_remove_group_posix and sysdb_remove_group_posix_by_gid | Stephen Gallagher | 3 | -19/+253 | |
Fixed a few small bugs in sysdb_[store|remove]_account_posix. The string "uid=" needed to be replaced with SYSDB_PW_NAME, and the search scope in sysdb_remove_account_posix_by_uid needed to be LDB_SCOPE_ONELEVEL, not LDB_SCOPE_BASE. Added associated unit tests. Modified the unit test structure so that it is called as a single suite, rather than a User and Group suite, since there is too much overlap. | |||||
2009-02-12 | Add support for removing members from groups. Updated convenience functions ↵ | Stephen Gallagher | 3 | -68/+184 | |
for adding/removing user accounts and POSIX groups to the groups. Also modified the add/remove member functions to be a single interface taking a flag for add or removal, since the code only differs by one LDB flag. Added associated unit tests. | |||||
2009-02-12 | Add sysdb_add_group_to_posix_group, refactored sysdb_add_acct_to_posix_group ↵ | Stephen Gallagher | 3 | -92/+236 | |
to now use sysdb_add_member_to_posix_group along with sysdb_add_member_to_posix_group. Added new unit tests to sysdb-tests.c for groups of groups. | |||||
2009-02-12 | Adding sysdb_add_acct_to_posix_group and associated unit tests | Stephen Gallagher | 3 | -27/+462 | |
2009-02-12 | Adding sysdb_store_group_posix with unit test | Stephen Gallagher | 8 | -18/+374 | |
2009-01-28 | server.mk was included twice by mistake | Simo Sorce | 1 | -2/+0 | |
2009-01-28 | Simplify delete path by removing effectively redundant code. | Simo Sorce | 1 | -221/+41 | |
Thanks Nathan for the review that lead to this! | |||||
2009-01-28 | Add comments on how memberof works. | Simo Sorce | 2 | -1/+97 | |
Enable memberof by default in the default db example | |||||
2009-01-28 | Add a memberof plugin so that we can properly apply the same group memberships | Simo Sorce | 8 | -9/+2329 | |
as in IPA if necessary. This patch slightly modifies ldb to split out a modules header file without exposing the private headers. | |||||
2009-01-28 | Move install directiuves into Makefile.in | Simo Sorce | 2 | -6/+4 | |
2009-01-27 | Preliminary support for enabling InfoPipe to listen on the D-BUS system bus. ↵ | Stephen Gallagher | 9 | -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. | |||||
2009-01-27 | Add skeleton for PolicyKit back-end | Stephen Gallagher | 5 | -1/+242 | |
2009-01-27 | Add skeleton for InfoPipe service | Stephen Gallagher | 6 | -4/+243 | |
2009-01-27 | Automatically generate the config.ldb if it doesn't exist (i.e. First startup) | Stephen Gallagher | 4 | -10/+91 | |
2009-01-27 | Fix configure when libs are not in standard paths | Simo Sorce | 1 | -0/+1 | |
2009-01-27 | Fixes to the makefile to get make install to work properly | Stephen Gallagher | 2 | -3/+11 | |
2009-01-27 | Refactoring the monitor code and SBUS utility functions. | Stephen Gallagher | 19 | -174/+547 | |
2009-01-14 | Add code to make it easier to reconnect in case the server | Simo Sorce | 7 | -33/+134 | |
is not available immediately or drops the dbus connection. First step is the nss connection to the data provider. | |||||
2009-01-13 | Now that we have the domain name passed in, dispatch to the right | Simo Sorce | 1 | -3/+9 | |
domain when possible. | |||||
2009-01-13 | Fix return, dbus would abort because we were passing values and | Simo Sorce | 2 | -3/+7 | |
not pointers to values. Check domain is never null (or dbus will abort). | |||||
2009-01-13 | Ignore some more common stuff | Simo Sorce | 1 | -0/+9 | |
2009-01-13 | Monitor will now start services asynchronously. This means that forked ↵ | Stephen Gallagher | 1 | -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. | |||||
2009-01-12 | Add checks to make sure we are getting a user from the correct domain. | Simo Sorce | 3 | -1/+72 | |
2009-01-12 | Add placeholders for new configuration reload methods. The monitor will be ↵ | Stephen Gallagher | 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. | |||||
2009-01-12 | Regroup database rleated functions under db and | Simo Sorce | 16 | -1429/+1344 | |
rename everything with the sysdb suffix. | |||||
2009-01-12 | Adding parsing code to separate names from domains. | Stephen Gallagher | 2 | -7/+51 | |
Currently, if an invalid domain was specified, it will result in EINVAL being returned. | |||||
2009-01-11 | Use a unified base (temp. dc=sssd), for all domain including LOCAL. | Simo Sorce | 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. | |||||
2009-01-11 | Add support for getpwuid in proxy backend | Simo Sorce | 4 | -46/+230 | |
2009-01-11 | Add caching behavior to nsssrv_cmd.c check cache first and | Simo Sorce | 4 | -20/+82 | |
dispatch to backends only if we have a cache miss. | |||||
2009-01-11 | Turn ldap_provider.c into proxy.c and make it possible to load just any | Simo Sorce | 6 | -37/+70 | |
libnss library through config directives on the domain object | |||||
2009-01-09 | Minor change to btreemap to use an enum for the return codes of ↵ | Stephen Gallagher | 2 | -17/+24 | |
btreemap_search_key. | |||||
2009-01-09 | If exec() returns in start_service (for example, if the command contains a ↵ | Stephen Gallagher | 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. | |||||
2009-01-09 | Fix a bug in confdb_get_string where attempting to return a default string ↵ | Stephen Gallagher | 1 | -1/+11 | |
of NULL would erroneously report ENOMEM. | |||||
2009-01-09 | Making a few minor build system fixes. "make realdistclean" was not removing ↵ | Stephen Gallagher | 4 | -19/+4 | |
all built files appropriately. | |||||
2009-01-09 | Adding 'lib' to the server build directories. Fixes a build failure during ↵ | Stephen Gallagher | 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. | |||||
2009-01-09 | Lots of little nasty bugs fixed. | Simo Sorce | 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! | |||||
2009-01-08 | Add support to avoid loops in SSSD daemons. Any request to the sss client | Simo Sorce | 1 | -0/+7 | |
is immediately returned back to avoi sssd_nss trying to call itsels again and again. | |||||
2009-01-08 | The code now successfully sends a getpwnam request to a remote LDAP server, | Simo Sorce | 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. | |||||
2009-01-07 | Add current test ldap provider configuration example. | Simo Sorce | 1 | -0/+7 | |
It is a bit inconsistent with the existing EXAMPLE, will fix later | |||||
2009-01-07 | Check size of incoming packets. | Simo Sorce | 3 | -6/+15 | |
This should fix a buffer overflow waiting to be exploited :/ | |||||
2009-01-06 | Add initial support to connect nss to the data provider as a frontend | Simo Sorce | 3 | -0/+65 | |
2009-01-06 | Add ignore file so that .o/.a files won't bother | Simo Sorce | 1 | -0/+1 | |
2009-01-06 | Add more infrastructure to data provider to dispatch requests (still untested). | Simo Sorce | 8 | -173/+1064 | |
Add helper functions to connect to the data provider. Add some plumbing to the ldap provider (still untested). | |||||
2009-01-06 | fix typo | Simo Sorce | 1 | -1/+1 | |
2009-01-06 | fix typo | Simo Sorce | 1 | -1/+1 | |
2009-01-06 | SBUS messages with no reply (or no immediate reply) would incorrectly report ↵ | Stephen Gallagher | 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. |