Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-31 | Ghost members - sysdb upgrade routine | Jan Zeleny | 1 | -0/+7 | |
It is remotely possible to have sysdb in an inconsistent state that might need upgrade. Consider scenario when user asks for group information. Some fake users are added as a part of this operation. Before users can be fully resolved and stored properly, SSSD is shut down and upgrade is performed. In this case we need to go over all fake user records (uidNumber=0) and replace each of them with ghost record in all group objects that are stated in its memberof attribute. | |||||
2012-05-02 | SYSDB: check return value | Jakub Hrozek | 1 | -2/+2 | |
In addition to testing the number of elements, also check the return value of sysdb_attrs_get_el. | |||||
2012-04-24 | Sysdb routines for subdomains | Jan Zeleny | 1 | -81/+110 | |
2012-04-18 | Removed unused function sysdb_attrs_users_from_ldb_vals() | Jan Zeleny | 1 | -46/+0 | |
2012-03-21 | Save alias of the primary name, too | Jakub Hrozek | 1 | -3/+9 | |
2012-03-16 | SYSDB: Save only lowercased aliases in case-insensitive domains | Stephen Gallagher | 1 | -19/+28 | |
https://fedorahosted.org/sssd/ticket/1253 | |||||
2012-02-29 | Remove sysdb_get_ctx_from_list() | Sumit Bose | 1 | -29/+0 | |
2012-02-29 | Keep sysdb context in domain info struct | Sumit Bose | 1 | -0/+80 | |
2012-01-31 | SYSDB: index sudoUser | Jakub Hrozek | 1 | -0/+7 | |
Most of the the searches in the Sudo responder include the sudoUser attribute. Indexing it will make the responder faster. | |||||
2012-01-31 | SYSDB: Add sysdb_attrs_get_uint16_t | Stephen Gallagher | 1 | -0/+26 | |
2012-01-27 | SYSDB: Add indexes for servicePort and serviceProtocol | Stephen Gallagher | 1 | -0/+7 | |
2012-01-21 | SYSDB: Redundant check is redundant. | Stephen Gallagher | 1 | -5/+0 | |
Coverity 12480 | |||||
2012-01-17 | sysdb_get_bool() and sysdb_get_bool() functions | Pavel Březina | 1 | -51/+97 | |
2012-01-17 | SUDO Integration review issues | Pavel Březina | 1 | -1/+1 | |
2011-12-16 | Export the function to convert ldb_result to sysdb_attrs | Jakub Hrozek | 1 | -0/+29 | |
It will be reused later in the sudo responder | |||||
2011-12-16 | Use the case sensitivity flag in the LDAP provider | Jakub Hrozek | 1 | -4/+32 | |
2011-12-16 | sysdb_get_real_name helper function | Jakub Hrozek | 1 | -0/+46 | |
2011-11-02 | SYSDB: add index for nameAlias | Stephen Gallagher | 1 | -0/+7 | |
2011-10-07 | SYSDB: New source file for sysdb upgrade routines | Stephen Gallagher | 1 | -888/+12 | |
2011-10-03 | Use explicit base 10 for converting strings to integers | Jakub Hrozek | 1 | -1/+1 | |
https://fedorahosted.org/sssd/ticket/1013 | |||||
2011-09-28 | Add sysdb interface to get name aliases | Jakub Hrozek | 1 | -1/+59 | |
2011-08-25 | Return the first value of name if the multivalued name attribute does not ↵ | Jakub Hrozek | 1 | -3/+4 | |
match RDN https://fedorahosted.org/sssd/ticket/926 | |||||
2011-08-15 | sysdb refactoring: memory context deleted | Jan Zeleny | 1 | -74/+81 | |
This patch deletes memory context parameter in those places in sysdb where it is not necessary. The code using modified functions has been updated. Tests updated as well. | |||||
2011-08-15 | sysdb refactoring: deleted domain variables in sysdb API | Jan Zeleny | 1 | -6/+4 | |
The patch also updates code using modified functions. Tests have also been adjusted. | |||||
2011-08-15 | Added sysdb_ctx_get_domain function | Jan Zeleny | 1 | -0/+5 | |
2011-08-15 | sysdb refactoring: renamed ctx variable to sysdb | Jan Zeleny | 1 | -126/+126 | |
2011-08-10 | Fix potential double-free issue | Stephen Gallagher | 1 | -1/+1 | |
tmp_ctx is a child of ctx. | |||||
2011-08-10 | Cancel sysdb upgrade transaction if commit fails | Stephen Gallagher | 1 | -60/+30 | |
2011-07-08 | Allow NULL memctx in sysdb_custom_subtree_dn | Stephen Gallagher | 1 | -3/+11 | |
ldb_dn_new_fmt() has a bug and cannot take a NULL memory context | |||||
2011-06-02 | Added sysdb_attrs_get_bool() function | Jan Zeleny | 1 | -0/+22 | |
2011-05-04 | Make sysdb_ctx_list public structure | Jan Zeleny | 1 | -0/+41 | |
Also create a routine to initialize it | |||||
2011-04-25 | Added originalDN to attributes with case-insensitive search | Jan Zeleny | 1 | -0/+103 | |
https://fedorahosted.org/sssd/ticket/808 | |||||
2011-04-15 | Reopen the LDB after modifying it | Stephen Gallagher | 1 | -3/+20 | |
If we change any of the special entries such as indexes or plugins, we need to close and reopen the LDB to ensure that they take effect. | |||||
2011-04-15 | Run all appropriate upgrades | Stephen Gallagher | 1 | -1/+17 | |
Previously, if we were upgrading from version 0.4 or older, we would only run sysdb_upgrade_04() and exit, instead of also running sysdb_upgrade_05() | |||||
2011-04-15 | Don't leak memory if sysdb_domain_init() fails | Stephen Gallagher | 1 | -3/+6 | |
2011-04-13 | sysdb: use header defined macros instead of explicit values | Simo Sorce | 1 | -9/+9 | |
2011-03-23 | Check result of talloc_strdup() properly | Stephen Gallagher | 1 | -1/+1 | |
Coverity 10737 | |||||
2011-03-23 | Don't crash on error if _name parameter unspecified | Stephen Gallagher | 1 | -2/+2 | |
Coverity 10738 | |||||
2011-03-23 | Don't crash if we get a multivalued name without an origDN | Stephen Gallagher | 1 | -1/+3 | |
Coverity 10740 and 10739 | |||||
2011-03-23 | Add sysdb_attrs_primary_name_list() routine | Stephen Gallagher | 1 | -0/+53 | |
This routine will replace the use of sysdb_attrs_to_list() for any case where we're trying to get the name of the entry. It's a necessary precaution in case the name is multi-valued. | |||||
2011-03-23 | Add sysdb_attrs_primary_name() | Stephen Gallagher | 1 | -0/+102 | |
This function will check a sysdb_attrs struct for the primary name of the entity it represents. If there are multiple entries, it will pick the one that matches the RDN. If none match, it will throw an error. | |||||
2011-03-23 | Create sysdb_get_rdn() function | Stephen Gallagher | 1 | -13/+48 | |
This function takes a DN formatted string and returns the RDN value from it. | |||||
2011-02-14 | Check LDB_MODULES_PATH for sysdb | Sumit Bose | 1 | -0/+9 | |
2011-02-14 | Introduce sysdb_ldb_connect() | Sumit Bose | 1 | -45/+42 | |
2011-02-11 | Make 'make check' look nice again | Sumit Bose | 1 | -8/+0 | |
With current libldb releases 'make check' will print a lot of 'unable to dlopen' messages although the test will succeed. This patch place the memberof module into a directory of its own to avoid these messages. Additionally this patch introduces TESTS_ENVIRONMENT which allows us to remove the SYSDB_TEST preprocessor definition. | |||||
2011-02-11 | Clear up -Wunused-but-set-variable warnings | Stephen Gallagher | 1 | -0/+3 | |
2011-02-03 | Add additional indexing for sysdb | Stephen Gallagher | 1 | -0/+113 | |
Adds an index for dataExpireTimestamp This is used for determining which users need to be removed during the cleanup task. If enumeration is enabled (or huge numbers of users have been cached), the cleanup task runs very slowly due to the non-indexed search. Also adds an index for ONELEVEL lookups, to speed up situations where we would need to request all entries under a particular node in the LDB. | |||||
2010-12-20 | Add sysdb_has_enumerated and sysdb_set_enumerated helper functions | Stephen Gallagher | 1 | -0/+142 | |
Includes a unit test | |||||
2010-11-15 | Fix const cast issue with sysdb_attrs_users_from_str_list | Stephen Gallagher | 1 | -1/+1 | |
2010-11-15 | Sanitize sysdb DN helpers | Stephen Gallagher | 1 | -7/+83 | |